Mech-Eye API 2.3.3
API reference documentation for Mech-Eye Industrial 3D Camera
|
The camera event related. Use CameraEvent::registerCameraEventCallback to register an event of interest. More...
#include <CameraEvent.h>
Public Types | |
enum | Event { CAMERA_EVENT_DISCONNECTED = 0x0001 , CAMERA_EVENT_ALL = 0xFFFF } |
The defined camera event. More... | |
using | EventCallback = std::function<void(Event event, void* pUser)> |
Static Public Member Functions | |
static ErrorStatus | registerCameraEventCallback (Camera &camera, EventCallback callback, void *pUser, unsigned int events) |
Registers a camera event of interest. | |
The camera event related. Use CameraEvent::registerCameraEventCallback to register an event of interest.
Definition at line 48 of file CameraEvent.h.
Definition at line 59 of file CameraEvent.h.
The defined camera event.
Definition at line 54 of file CameraEvent.h.
|
static |
Registers a camera event of interest.
[in] | camera | The camera handle. |
[in] | callback | The callback functions for responding to camera events. |
[in] | pUser | Pointer used by the user. |
[in] | events | The camera event. See CameraEvent::Event for details. |