nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | List of all members
nxcip::CameraInputEventHandler Class Referenceabstract

Receives events on input port state change. More...

`#include <camera_plugin.h>`

Inheritance diagram for nxcip::CameraInputEventHandler:

## Public Member Functions
virtual void | inputPortStateChanged (CameraRelayIOManager *source, const char *inputPortID, int newState, unsigned long int timestamp)=0
| Called by CameraRelayIOManager on input port event. 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...

## Detailed Description

Receives events on input port state change.

## Member Function Documentation

## ◆ inputPortStateChanged()

virtual void nxcip::CameraInputEventHandler::inputPortStateChanged | ( | CameraRelayIOManager * | source,
|  | const char * | inputPortID,
|  | int | newState,
|  | unsigned long int | timestamp
| ) |  |
| pure virtual

Called by CameraRelayIOManager on input port event.

This method MUST not block

Parameters

  [in] | source |
  [in] | inputPortID | NULL-terminated port ID
  [in] | newState | non-zero - port activated (closed), zero - deactivated (opened)
  [in] | timestamp | timestamp of event in millis since epoch (1970-01-01 00:00), UTC

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

- src/camera/camera_plugin.h