stub_analytics_plugin
1.6
Network Optix Video Analytics SDK
|
#include <i_plugin.h>
Public Types | |
typedef IPlugin *(* | EntryPointFunc) () |
Public Member Functions | |
virtual const char * | name () const =0 |
virtual void | setUtilityProvider (IUtilityProvider *utilityProvider)=0 |
![]() | |
virtual IRefCountable * | queryInterface (IRefCountable::InterfaceId id) override |
virtual IRefCountable * | queryInterface (InterfaceId id) |
const IRefCountable * | queryInterface (InterfaceId id) const |
Interface * | queryInterface () |
const Interface * | queryInterface () const |
![]() | |
virtual | ~IRefCountable ()=default |
const IRefCountable * | queryInterface (InterfaceId id) const |
template<class Interface > | |
Interface * | queryInterface () |
template<class Interface > | |
const Interface * | queryInterface () const |
virtual int | addRef () const =0 |
virtual int | releaseRef () const =0 |
Static Public Member Functions | |
static auto | interfaceId () |
![]() | |
static auto | interfaceId () |
Static Public Attributes | |
static constexpr const char * | kEntryPointFuncName = "createNxPlugin" |
Additional Inherited Members | |
![]() | |
IRefCountable * | queryInterfaceSupportingDeprecatedId (IRefCountable::InterfaceId id, const Uuid &deprecatedInterfaceId) |
The main interface that any VMS Plugin implements. The plugin's dynamic library should export only an extern-C function with the name and prototype defined in this interface, which acts as a getter/factory for a single object implementing this interface.
The only object of this class is created by a Server on its start, and is destroyed (via releaseRef()) on the Server shutdown.
typedef IPlugin*(* nx::sdk::IPlugin::EntryPointFunc) () |
Prototype of a plugin entry point function.
|
pure virtual |
Name of the plugin, used for information purpose only.
Implemented in nx::sdk::analytics::Plugin, and nx::sdk::analytics::IPlugin.
|
pure virtual |
Provides an object which the plugin can use for calling back to access some data and functionality provided by the process that uses the plugin.
For details, see the documentation for IUtilityProvider.
Implemented in nx::sdk::analytics::Plugin.
|
static |
Name of a plugin entry point function.