stub_analytics_plugin
1.6
Network Optix Video Analytics SDK
|
#include <plugin.h>
Public Member Functions | |
virtual const IString * | manifest (nx::sdk::Error *outError) const =0 |
virtual Engine * | createEngine (Error *outError)=0 |
virtual const char * | name () const override=0 |
![]() | |
virtual void | setPluginContainer (nxpl::PluginInterface *pluginContainer)=0 |
![]() | |
virtual void | setSettings (const nxpl::Setting *settings, int count)=0 |
![]() | |
virtual void * | queryInterface (const nxpl::NX_GUID &interfaceID)=0 |
Cast to type, specified by interfaceID. More... | |
virtual unsigned int | addRef ()=0 |
Increment reference counter. More... | |
virtual unsigned int | releaseRef ()=0 |
Decrement reference counter. More... | |
Additional Inherited Members | |
![]() | |
typedef PluginInterface *(* | EntryPoint) () |
Main interface for an analytics::Plugin instance. The only instance is created by a Mediaserver in its start via calls to Plugin* createNxAnalyticsPlugin() which should be exported as extern "C" by the plugin library, and is destroyed (via releaseRef()) on Mediaserver shutdown.
|
pure virtual |
Creates a new instance of analytics::Engine.
outError | Status of the operation; is set to noError before this call. |
|
pure virtual |
Provides plugin manifest in JSON format.
outError | Status of the operation; is set to noError before this call. |
|
overridepure virtual |
Name of the plugin dynamic library, without "lib" prefix and without extension.
Implements nxpl::Plugin.