stub_analytics_plugin  1.6
Network Optix Video Analytics SDK
Public Types | Public Member Functions | List of all members
nx::sdk::analytics::CommonPlugin Class Reference

#include <common_plugin.h>

Inheritance diagram for nx::sdk::analytics::CommonPlugin:
nxpt::CommonRefCounter< Plugin >

Public Types

using CreateEngine = std::function< Engine *(Plugin *plugin)>
 

Public Member Functions

 CommonPlugin (std::string libName, std::string pluginManifest, CreateEngine createEngine)
 
nxpl::PluginInterfacepluginContainer () const
 
virtual void * queryInterface (const nxpl::NX_GUID &interfaceId) override
 
virtual const char * name () const override
 
virtual void setSettings (const nxpl::Setting *settings, int count) override
 
virtual void setPluginContainer (nxpl::PluginInterface *pluginContainer) override
 
virtual const IStringmanifest (nx::sdk::Error *outError) const override
 
virtual EnginecreateEngine (Error *outError) override
 
- Public Member Functions inherited from nxpt::CommonRefCounter< Plugin >
 CommonRefCounter (const CommonRefCounter &)=delete
 
 CommonRefCounter (CommonRefCounter &&)=delete
 
CommonRefCounteroperator= (const CommonRefCounter &)=delete
 
CommonRefCounteroperator= (CommonRefCounter &&)=delete
 
virtual unsigned int addRef () override
 
virtual unsigned int releaseRef () override
 
unsigned int refCount () const
 

Additional Inherited Members

- Protected Member Functions inherited from nxpt::CommonRefCounter< Plugin >
 CommonRefCounter (CommonRefManager *refManager)
 
- Protected Attributes inherited from nxpt::CommonRefCounter< Plugin >
CommonRefManager m_refManager
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CommonPlugin()

nx::sdk::analytics::CommonPlugin::CommonPlugin ( std::string  libName,
std::string  pluginManifest,
CreateEngine  createEngine 
)
Parameters
libNameName of the plugin library. It's needed for the logging.
pluginManifestPlugin manifest to be returned from the manifest method.
createEngineFunctor for engine creation.

The documentation for this class was generated from the following files: