nx_video_source_sdk
1.0
Video Source SDK
|
Receives events on input port state change. More...
#include <camera_plugin.h>
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... | |
![]() | |
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... | |
Receives events on input port state change.
|
pure virtual |
Called by CameraRelayIOManager on input port event.
This method MUST not block
[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 |