stub_analytics_plugin
1.6
Network Optix Video Analytics SDK
|
#include <plugin.h>
Public Types | |
using | CreateEngine = std::function< IEngine *(IPlugin *plugin)> |
![]() | |
typedef IPlugin *(* | EntryPointFunc) () |
Public Member Functions | |
Plugin (std::string libName, std::string pluginManifest, CreateEngine createEngine) | |
const Ptr< IUtilityProvider > & | utilityProvider () const |
virtual const char * | name () const override |
virtual void | setUtilityProvider (IUtilityProvider *utilityProvider) override |
virtual const IString * | manifest (Error *outError) const override |
virtual IEngine * | createEngine (Error *outError) override |
![]() | |
RefCountable (const RefCountable &)=delete | |
RefCountable (RefCountable &&)=delete | |
RefCountable & | operator= (const RefCountable &)=delete |
RefCountable & | operator= (RefCountable &&)=delete |
virtual int | addRef () const override |
virtual int | releaseRef () const override |
int | refCount () const |
virtual IRefCountable * | queryInterface (InterfaceId id) |
const IRefCountable * | queryInterface (InterfaceId id) const |
Interface * | queryInterface () |
const Interface * | queryInterface () const |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static auto | interfaceId () |
![]() | |
static auto | interfaceId () |
![]() | |
static constexpr const char * | kEntryPointFuncName = "createNxPlugin" |
![]() | |
IRefCountable * | queryInterfaceSupportingDeprecatedId (IRefCountable::InterfaceId id, const Uuid &deprecatedInterfaceId) |
Base class for a typical implementation of an Analytics Plugin. Hides many technical details of the Analytics Plugin SDK, but may limit plugin capabilities - use only when suitable.
nx::sdk::analytics::Plugin::Plugin | ( | std::string | libName, |
std::string | pluginManifest, | ||
CreateEngine | createEngine | ||
) |
libName | Name of the plugin library. It's needed for the logging. |
pluginManifest | Plugin manifest to be returned from the manifest method. |
createEngine | Functor for engine creation. |
|
overridevirtual |
Name of the plugin, used for information purpose only.
Implements nx::sdk::IPlugin.
|
overridevirtual |
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.
Implements nx::sdk::IPlugin.