typedef void (*GEVEVENT_CBFUNCTION)
                     (PEVENT_MSG msg, PUINT8 data, UINT16 size, void *context);

Parameters

msg

Pointer to an EVENT_MSG structure containing information on the intercepted event.
Here the data structure is defined as :

typedef struct
{
    UINT16 eventNumber; 
    UINT16 streamChannelIndex;
    UINT64 blockId;
    UINT64 timestamp;
    UINT32 timeStampHigh; 
    UINT32 timeStampLow; 
} EVENT_MSG, *PEVENT_MSG;

 

where:

 

 

eventNumber

The event number that caused the callback to be invoked.

 

 

streamChannelIndex

The streaming data channel identifier that caused the event to be sent in the first place.

 

 

blockId

The blockId associated with this event.

 

 

timestamp

64-bit timestamp for this event (based on camera’s timestamp timebase).

 

 

timeStampHigh
timeStampLow

High (MSB) 32-bits of 64-bit timestamp
Low (LSB) 32-bits of 64-bit timestamp

data

Pointer to event data returned from the camera if the particular event intercepted also sends data. It is NULL if not data has been sent.

size

Size of the event data returned by the camera.
(It is zero if the particular event intercepted does not send any data).

context

Pointer to context data set up at the time of the callback’s registration.

Return Value

VOID

Related Topics

Member Function Descriptions