nx_metadata_sdk
1.0
Metadata SDK
|
Public Member Functions | |
virtual void | handleMetadata (IMetadataPacket *metadataPacket)=0 |
virtual void | handlePluginDiagnosticEvent (IPluginDiagnosticEvent *event)=0 |
![]() | |
virtual IRefCountable * | queryInterface (const InterfaceId *id) |
Ptr< Interface > | queryInterface () |
Ptr< const Interface > | queryInterface () const |
![]() | |
virtual | ~IRefCountable ()=default |
template<class Interface > | |
Ptr< Interface > | queryInterface () |
template<class Interface > | |
Ptr< const Interface > | queryInterface () const |
virtual int | addRef () const =0 |
virtual int | releaseRef () const =0 |
int | refCountThreadUnsafe () const |
Static Public Member Functions | |
static auto | interfaceId () |
![]() | |
static auto | interfaceId () |
Additional Inherited Members | |
![]() | |
virtual IRefCountable * | queryInterface (const IRefCountable::InterfaceId *id) override |
IRefCountable * | queryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId) |
![]() | |
template<int len> | |
static constexpr const InterfaceId * | makeId (const char(&charArray)[len]) |
template<class TemplateInstance , class TemplateArg , int len> | |
static const InterfaceId * | makeIdForTemplate (const char(&baseIdCharArray)[len]) |
|
pure virtual |
Passes a metadata packet to the Server. It's worth to mention that passing a single metadata packet containing multiple metadata items with the same timestamp is preferred to passing multiple metadata packets with the same timestamp containing a single item. Although the latter will work correctly, it reduces the performance of the VMS Client. For example, if you have 10 objects detected on the same frame, it's better to send 1 packet with all the object metadata than 10 separate packets.