nx_metadata_sdk 1.0 Metadata SDK

i_data_packet.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3 #pragma once
4
5 #include <cstdint>
6
7 #include <nx/sdk/interface.h>
8
9 namespace nx {
10 namespace sdk {
11 namespace analytics {
12
16 class IDataPacket: public Interface<IDataPacket>
17 {
18 public:
19 static auto interfaceId() { return makeId("nx::sdk::analytics::IDataPacket"); }
20
24 virtual int64_t timestampUs() const = 0;
25 };
26
27 } // namespace analytics
28 } // namespace sdk
29 } // namespace nx
nx::sdk::Interface
Definition: interface.h:28
nx::sdk::analytics::IDataPacket::timestampUs
virtual int64_t timestampUs() const =0
nx
Definition: apple_utils.h:6
nx::sdk::IRefCountable::makeId
static constexpr const InterfaceId * makeId(const char(&charArray)[len])
Definition: i_ref_countable.h:78
nx::sdk::analytics::IDataPacket
Definition: i_data_packet.h:16