nx_camera_sdk  1.0
Camera 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:
nxpl::PluginInterface

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]inputPortIDNULL-terminated port ID
[in]newStatenon-zero - port activated (closed), zero - deactivated (opened)
[in]timestamptimestamp of event in millis since epoch (1970-01-01 00:00), UTC

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