nx_server_plugin_sdk 1.0 Server Plugin 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/analytics/i_metadata_packet.h>
6 #include <nx/sdk/interface.h>
7
8 namespace nx::sdk::analytics {
9
13 class ICustomMetadataPacket: public Interface<ICustomMetadataPacket, IMetadataPacket0>
14 {
15 public:
16 static auto interfaceId() { return makeId("nx::sdk::analytics::ICustomMetadataPacket"); }
17
22 virtual const char* codec() const = 0;
23
27 virtual const char* data() const = 0;
28
32 virtual int dataSize() const = 0;
33
38 virtual const char* contextData() const = 0;
39
43 virtual int contextDataSize() const = 0;
44 };
45 using ICustomMetadataPacket0 = ICustomMetadataPacket;
46
47 } // namespace nx::sdk::analytics
nx::sdk::Interface
Definition: interface.h:48
nx::sdk::analytics
Definition: consuming_device_agent.cpp:25
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::sdk::analytics::ICustomMetadataPacket
Definition: i_custom_metadata_packet.h:13
nx::sdk::analytics::ICustomMetadataPacket::dataSize
virtual int dataSize() const =0
nx::sdk::analytics::ICustomMetadataPacket::contextData
virtual const char * contextData() const =0