nx_video_source_sdk
1.0
Video Source SDK
|
#include <plugin.h>
Public Member Functions | |
virtual void * | queryInterface (const nxpl::NX_GUID &interfaceID) override |
Implementation of nxpl::PluginInterface::queryInterface. More... | |
virtual int | addRef () const override |
Implementation of nxpl::PluginInterface::addRef. | |
virtual int | releaseRef () const override |
Implementation of nxpl::PluginInterface::releaseRef. | |
nxpt::CommonRefManager * | refManager () |
Static Public Member Functions | |
static ImageLibraryPlugin * | instance () |
Main plugin class. Hosts and initializes the necessary internal data.
This project demonstrates usage of camera integration plugin API to add support of a camera with a remote archive (e.g. the storage is bound directly to the camera).
Usage:
To use this plugin, launch client aplication and use manual camera search ("Add Camera(s)..." in media server menu) filling "Camera Address" field with absolute path to local directory, containing jpeg file(s). Specified directory will be found as camera with archive and appear in tree menu.
Implements following camera integration interfaces:
Object life-time management:
nxcip::
interfaces delegate reference counting (by using CommonRefManager(CommonRefManager*) constructor) to factory class instance (e.g. CameraManager is a factory for MediaEncoder). This garantees that CameraManager instance is removed later than MediaEncoder instance.
|
overridevirtual |
Implementation of nxpl::PluginInterface::queryInterface.
Supports cast to nxcip::CameraDiscoveryManager interface
Implements nxpl::PluginInterface.