GEV_STATUS GevRegisterApplicationEvent

(GEV_CAMERA_HANDLE handle,
 UINT32 EventID, _EVENT appEvent);

Description

Registers an Application Event

Parameters

handle

GEV_CAMERA_HANDLE identifying the camera whose events are to be intercepted by the application.

EventID

Specific EventID of the event to be intercepted. They are usually defined in the XML file for the camera.

appEvent

Event handle. The _EVENT type is aliased to the HANDLE data type used by the CorW32 helper library that provides WIN32-like constructs to the Linux environment. In this case, the HANDLE is for a WIN32-like event that is, essentially, a thin wrapper around a pthread condition variable.

Return Value

GEV_STATUS GEVLIB

Possible values are:

GEVLIB_OK
GEVLIB_ERROR_INVALID_HANDLE
GEV_STATUS_ERROR (too many registration calls have been made for this camera – 16 maximum)    

Related Topics

Member Function Descriptions