nx_metadata_sdk  1.0
Metadata SDK
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
nx::sdk::analytics::ICompoundMetadataPacket Class Referenceabstract

#include <i_compound_metadata_packet.h>

Inheritance diagram for nx::sdk::analytics::ICompoundMetadataPacket:
nx::sdk::Interface< ICompoundMetadataPacket, IMetadataPacket >

Public Member Functions

virtual int64_t durationUs () const =0
 
virtual int count () const =0
 
Ptr< const IMetadataat (int index) const
 
- Public Member Functions inherited from nx::sdk::Interface< ICompoundMetadataPacket, IMetadataPacket >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 

Static Public Member Functions

static auto interfaceId ()
 

Protected Member Functions

virtual const IMetadatagetAt (int index) const =0
 
- Protected Member Functions inherited from nx::sdk::Interface< ICompoundMetadataPacket, IMetadataPacket >
virtual IRefCountablequeryInterface (const IRefCountable::InterfaceId *id) override
 
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 

Detailed Description

Packet containing metadata (e.g. events, object detections).

Member Function Documentation

◆ count()

virtual int nx::sdk::analytics::ICompoundMetadataPacket::count ( ) const
pure virtual
Returns
Number of elements in the packet.

◆ durationUs()

virtual int64_t nx::sdk::analytics::ICompoundMetadataPacket::durationUs ( ) const
pure virtual
Returns
Validity duration of the metadata in the packet, or 0 if irrelevant.

◆ getAt()

virtual const IMetadata* nx::sdk::analytics::ICompoundMetadataPacket::getAt ( int  index) const
protectedpure virtual
Returns
Element at the zero-based index, or null if the index is invalid.

The documentation for this class was generated from the following file: