nx_metadata_sdk 1.0 Metadata SDK

i_custom_metadata_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 <nx/sdk/interface.h>
6
7 #include <nx/sdk/analytics/i_metadata_packet.h>
8
9 namespace nx {
10 namespace sdk {
11 namespace analytics {
12
16 class ICustomMetadataPacket: public Interface<ICustomMetadataPacket, IMetadataPacket0>
17 {
18 public:
19 static auto interfaceId() { return makeId("nx::sdk::analytics::ICustomMetadataPacket"); }
20
25 virtual const char* codec() const = 0;
26
30 virtual const char* data() const = 0;
31
35 virtual int dataSize() const = 0;
36
41 virtual const char* contextData() const = 0;
42
46 virtual int contextDataSize() const = 0;
47 };
48 using ICustomMetadataPacket0 = ICustomMetadataPacket;
49
50 } // namespace analytics
51 } // namespace sdk
52 } // namespace nx
nx::sdk::Interface
Definition: interface.h:49
nx::sdk::analytics::ICustomMetadataPacket::data
virtual const char * data() const =0
nx::sdk::analytics::ICustomMetadataPacket::codec
virtual const char * codec() const =0
nx::sdk::analytics::ICustomMetadataPacket::contextDataSize
virtual int contextDataSize() const =0
nx
Definition: apple_utils.h:6
nx::sdk::analytics::ICustomMetadataPacket
Definition: i_custom_metadata_packet.h:16
nx::sdk::analytics::ICustomMetadataPacket::dataSize
virtual int dataSize() const =0
nx::sdk::analytics::ICustomMetadataPacket::contextData
virtual const char * contextData() const =0