|
nx_video_source_sdk
1.0
Video Source SDK
|
Extends BaseCameraManager2 by adding editable parameters. More...
#include <camera_plugin.h>
Public Member Functions | |
| virtual const char * | getParametersDescriptionXML () const =0 |
| Returns XML describing camera parameters. More... | |
| virtual int | getParamValue (const char *paramName, char *valueBuf, int *valueBufSize) const =0 |
| Reads value of parameter paramName. More... | |
| virtual int | setParamValue (const char *paramName, const char *value)=0 |
| Set value of parameter paramName to value. More... | |
Public Member Functions inherited from nxcip::BaseCameraManager2 | |
| virtual int | createDtsArchiveReader (DtsArchiveReader **dtsArchiveReader) const =0 |
| Returns not NULL if BaseCameraManager::dtsArchiveCapability is supported. More... | |
| virtual int | find (ArchiveSearchOptions *searchOptions, TimePeriods **timePeriods) const =0 |
| Find regions of archive, satisfying given conditions. More... | |
| virtual int | setMotionMask (Picture *motionMask)=0 |
| If camera plugin implements this method, it MUST report motion only on for region specified (motionMask) More... | |
Public Member Functions inherited from nxcip::BaseCameraManager | |
| virtual int | getEncoderCount (int *encoderCount) const =0 |
| Provides maximum number of available encoders. More... | |
| virtual int | getEncoder (int encoderIndex, CameraMediaEncoder **encoderPtr)=0 |
| Returns encoder by index. More... | |
| virtual int | getCameraInfo (CameraInfo *info) const =0 |
| Fills info struct with camera data. More... | |
| virtual int | getCameraCapabilities (unsigned int *capabilitiesMask) const =0 |
| Return bit set of camera capabilities (CameraCapability enumeration) More... | |
| virtual void | setCredentials (const char *username, const char *password)=0 |
| Set credentials for camera access. | |
| virtual int | setAudioEnabled (int audioEnabled)=0 |
| Turn on/off audio on ALL encoders. More... | |
| virtual CameraPtzManager * | getPtzManager () const =0 |
| MUST return not-NULL if ptzCapability is present. More... | |
| virtual CameraMotionDataProvider * | getCameraMotionDataProvider () const =0 |
| MUST return not-NULL if hardwareMotionCapability is present. More... | |
| virtual CameraRelayIOManager * | getCameraRelayIOManager () const =0 |
| MUST return not-NULL if BaseCameraManager::relayInputCapability is present. More... | |
| virtual void | getLastErrorString (char *errorString) const =0 |
| Returns text description of the last error. More... | |
Public Member Functions inherited from nxpl::PluginInterface | |
| virtual void * | queryInterface (const nxpl::NX_GUID &interfaceID)=0 |
| Cast to type, specified by interfaceID. More... | |
| virtual int | addRef () const =0 |
| Increment reference counter. More... | |
| virtual int | releaseRef () const =0 |
| Decrement reference counter. More... | |
Extends BaseCameraManager2 by adding editable parameters.
|
pure virtual |
Returns XML describing camera parameters.
XML MUST conform to camera_parameters.xsd which can be found in SDK. Sample XML also can be found there This XML describes parameters (types, possible values, etc..) accessible with getParamValue and setParamValue
|
pure virtual |
Reads value of parameter paramName.
| paramName | \0-terminated utf-8 string specifying unique id of the parameter. |
| valueBufSize | IN: Length of valueBuf, OUT: length of string value not including \0-character |
|
pure virtual |
Set value of parameter paramName to value.
| paramName | \0-terminated utf-8 string specifying unique id of the parameter. |
| value | \0-terminated utf8 string |
1.8.14