nx_metadata_sdk
1.0
Metadata SDK
|
Public Member Functions | |
DeviceAgent (Engine *engine, const nx::sdk::IDeviceInfo *deviceInfo) | |
![]() | |
virtual void | setHandler (IHandler *handler) override |
![]() | |
RefCountable (const RefCountable &)=delete | |
RefCountable (RefCountable &&)=delete | |
RefCountable & | operator= (const RefCountable &)=delete |
RefCountable & | operator= (RefCountable &&)=delete |
virtual int | addRef () const override |
virtual int | releaseRef () const override |
int | refCount () const |
Protected Member Functions | |
virtual void | doSetNeededMetadataTypes (nx::sdk::Result< void > *outValue, const nx::sdk::analytics::IMetadataTypes *neededMetadataTypes) override |
virtual std::string | manifestString () const override |
virtual nx::sdk::Result< const nx::sdk::ISettingsResponse * > | settingsReceived () override |
virtual bool | pushCompressedVideoFrame (const nx::sdk::analytics::ICompressedVideoPacket *videoFrame) override |
virtual bool | pullMetadataPackets (std::vector< nx::sdk::analytics::IMetadataPacket *> *metadataPackets) override |
![]() | |
ConsumingDeviceAgent (const IDeviceInfo *deviceInfo, bool enableOutput, const std::string &pluginInstanceId="") | |
virtual bool | pushUncompressedVideoFrame (const IUncompressedVideoFrame *videoFrame) |
virtual bool | pushCustomMetadataPacket (const ICustomMetadataPacket *) |
virtual bool | pullMetadataPackets (std::vector< IMetadataPacket *> *metadataPackets) |
void | pushMetadataPacket (IMetadataPacket *metadataPacket) |
void | pushPluginDiagnosticEvent (IPluginDiagnosticEvent::Level level, std::string caption, std::string description) |
std::string | settingValue (const std::string &settingName) const |
std::map< std::string, std::string > | currentSettings () const |
void | pushManifest (const std::string &pushManifest) |
virtual void | finalize () override |
virtual void | doPushDataPacket (Result< void > *outResult, IDataPacket *dataPacket) override |
virtual void | doSetSettings (Result< const ISettingsResponse *> *outResult, const IStringMap *settings) override |
virtual void | getPluginSideSettings (Result< const ISettingsResponse *> *outResult) const override |
virtual void | getManifest (Result< const IString *> *outResult) const override |
Additional Inherited Members | |
![]() | |
const LogUtils | logUtils |
|
overrideprotectedvirtual |
DeviceAgent manifest may declare eventTypes and objectTypes similarly to how an Engine declares them - semantically the set from the Engine manifest is joined with the set from the DeviceAgent manifest. Also this manifest should declare supportedEventTypeIds and supportedObjectTypeIds lists which are treated as white-list filters for the respective set from Engine manifest (absent lists are treated as empty lists, thus, disabling all types from the Engine).
Implements nx::sdk::analytics::ConsumingDeviceAgent.
|
overrideprotectedvirtual |
Override to accept next compressed video frame for processing. Should not block the caller thread for long.
videoFrame | Contains a pointer to the compressed video frame raw bytes. |
Reimplemented from nx::sdk::analytics::ConsumingDeviceAgent.
|
overrideprotectedvirtual |
Called when the settings are received from the server (even if the values are not changed). Should perform any required (re)initialization. Called even if the settings model is empty.
Reimplemented from nx::sdk::analytics::ConsumingDeviceAgent.