stub_analytics_plugin
1.6
Network Optix Video Analytics SDK
|
#include <plugin_api.h>
Public Types | |
typedef PluginInterface *(* | EntryPoint) () |
Public Member Functions | |
virtual const char * | name () const =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... | |
Optional interface with general plugin features (name, settings). Server tries to cast the initial pointer received from createNXPluginInstance() to this type right after the plugin is loaded.
typedef PluginInterface*(* nxpl::Plugin::EntryPoint) () |
Prototype of a plugin entry point function.
|
pure virtual |
Name of the plugin, used for information purpose only.
Implemented in nx::sdk::analytics::Plugin.
|
pure virtual |
Used by the server to assign settings to the plugin. Called before other plugin features are used.
settings | This memory cannot be accessed after this method returns. |
count | Size of the settings array. |