◆ manifest()
std::string nx::vms_server_plugins::analytics::stub::DeviceAgent::manifest |
( |
| ) |
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 (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. The lifetime (validity) of this pointer is the same as of videoFrame. Thus, it can be extended by addRef() or queryInterface() inside this method. |
Reimplemented from nx::sdk::analytics::VideoFrameProcessingDeviceAgent.
◆ pushUncompressedVideoFrame()
Override to accept next uncompressed video frame for processing.
- Parameters
-
videoFrame | Contains a pointer to the compressed video frame raw bytes. The lifetime (validity) of this pointer is the same as of videoFrame. Thus, it can be extended by addRef() or queryInterface() inside this method. |
Reimplemented from nx::sdk::analytics::VideoFrameProcessingDeviceAgent.
◆ settingsReceived()
void 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.
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