|
nx_metadata_sdk
1.0
Metadata SDK
|
#include <i_metadata.h>
Public Member Functions | |
| virtual const char * | typeId () const =0 |
| virtual float | confidence () const =0 |
| Ptr< const IAttribute > | attribute (int index) const |
| virtual int | attributeCount () const =0 |
Public Member Functions inherited from nx::sdk::Interface< IMetadata > | |
| virtual IRefCountable * | queryInterface (const InterfaceId *id) |
| Ptr< Interface > | queryInterface () |
| Ptr< const Interface > | queryInterface () const |
Public Member Functions inherited from nx::sdk::IRefCountable | |
| 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 Public Member Functions inherited from nx::sdk::IRefCountable | |
| static auto | interfaceId () |
Protected Member Functions | |
| virtual const IAttribute * | getAttribute (int index) const =0 |
Protected Member Functions inherited from nx::sdk::Interface< IMetadata > | |
| virtual IRefCountable * | queryInterface (const IRefCountable::InterfaceId *id) override |
| IRefCountable * | queryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId) |
Additional Inherited Members | |
Static Protected Member Functions inherited from nx::sdk::IRefCountable | |
| template<int len> | |
| static const InterfaceId * | makeId (const char(&charArray)[len]) |
| template<int len, int alternativeLen> | |
| static std::vector< const InterfaceId * > | makeIdWithAlternative (const char(&charArray)[len], const char(&alternativeCharArray)[alternativeLen]) |
| template<class TemplateInstance , class TemplateArg , int len> | |
| static const InterfaceId * | makeIdForTemplate (const char(&baseIdCharArray)[len]) |
| static std::vector< const InterfaceId * > | alternativeInterfaceIds (const InterfaceId *id) |
| static std::vector< const InterfaceId * > | alternativeInterfaceIds (std::vector< const InterfaceId *> ids) |
A particular item of metadata (e.g. event, detected object) which is contained in a metadata packet.
|
inline |
Provides values of so-called Metadata Attributes - typically, some object or event properties (e.g. age or color), represented as a name-value map.
See the specification for Attribute names in Attributes with pre-defined behavior.
| index | 0-based index of the attribute. |
|
pure virtual |
|
pure virtual |
Level of confidence in range (0..1]
|
protectedpure virtual |
Called by attribute()
|
pure virtual |
Human-readable hierarchical type, e.g. "someCompany.someEngine.lineCrossing".
1.8.14