◆ manifestString()
std::string nx::vms_server_plugins::analytics::stub::DeviceAgent::manifestString |
( |
| ) |
const |
|
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::VideoFrameProcessingDeviceAgent.
◆ pushCompressedVideoFrame()
Override to accept next compressed video frame for processing. Should not block the caller thread for long.
- Parameters
-
videoFrame | Contains a pointer to the compressed video frame raw bytes. |
Reimplemented from nx::sdk::analytics::VideoFrameProcessingDeviceAgent.
◆ pushUncompressedVideoFrame()
◆ settingsReceived()
Result< const IStringMap * > nx::vms_server_plugins::analytics::stub::DeviceAgent::settingsReceived |
( |
| ) |
|
|
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.
- Returns
- Error messages per setting (if any), as in IDeviceAgent::setSettings().
Reimplemented from nx::sdk::analytics::VideoFrameProcessingDeviceAgent.
The documentation for this class was generated from the following files:
- samples/stub_analytics_plugin/src/nx/vms_server_plugins/analytics/stub/device_agent.h
- samples/stub_analytics_plugin/src/nx/vms_server_plugins/analytics/stub/device_agent.cpp