![]() |
IDS peak comfortC v1.12.0
|
Data Structures | |
| struct | peak_message_info |
| peak message info struct More... | |
Typedefs | |
| typedef struct peak_message * | peak_message_handle |
| peak queue handle The value for an invalid queue handle is PEAK_INVALID_HANDLE. | |
Functions | |
| peak_status | peak_Message_Release (peak_message_handle hMessage) |
| Release a message. | |
| peak_status | peak_Message_GetInfo (peak_message_handle hMessage, peak_message_info *messageInfo) |
| Get the info for a message. | |
| peak_status | peak_Message_Type_Get (peak_message_handle hMessage, peak_message_type *messageType) |
| Get the message type. | |
| peak_status | peak_Message_CameraHandle_Get (peak_message_handle hMessage, peak_camera_handle *hCam) |
| Get the camera handle for a message. | |
| peak_status | peak_Message_ID_Get (peak_message_handle hMessage, uint64_t *messageID) |
| Get the message id. | |
| peak_status | peak_Message_HostTimestamp_Get (peak_message_handle hMessage, uint64_t *hostTimestamp_ns) |
| Get the host timestamp for a message. | |
Definitions on the Queue Message.
| peak_status peak_Message_CameraHandle_Get | ( | peak_message_handle | hMessage, |
| peak_camera_handle * | hCam ) |
Get the camera handle for a message.
May be PEAK_INVALID_HANDLE if no camera is associated with the message.
| [in] | hMessage | Handle for a message instance. |
| [out] | hCam | The camera handle of the origin camera or PEAK_INVALID_HANDLE if origin is not the camera e.g. the camera manager. |
hMessage is an invalid handle. hCam is an invalid pointer. | peak_status peak_Message_GetInfo | ( | peak_message_handle | hMessage, |
| peak_message_info * | messageInfo ) |
Get the info for a message.
See also peak_message_info for the message info struct.
| [in] | hMessage | Handle for a message instance. |
| [out] | messageInfo | The message info. |
hMessage is an invalid handle. messageInfo is an invalid pointer. | peak_status peak_Message_HostTimestamp_Get | ( | peak_message_handle | hMessage, |
| uint64_t * | hostTimestamp_ns ) |
Get the host timestamp for a message.
This timestamp is in nanoseconds and originates from the system clock. It represents time since epoch e.g. on most systems this means Unix Time.
| [in] | hMessage | Handle for a message instance. |
| [out] | hostTimestamp_ns | The host timestamp the message was created. |
hMessage is an invalid handle. hostTimestamp_ns is an invalid pointer. | peak_status peak_Message_ID_Get | ( | peak_message_handle | hMessage, |
| uint64_t * | messageID ) |
Get the message id.
The message id is continuous and only reset after a call to peak_Library_Exit.
| [in] | hMessage | Handle for a message instance. |
| [out] | messageID | The message ID of the message. This is incremented continuous. |
hMessage is an invalid handle. messageID is an invalid pointer. | peak_status peak_Message_Release | ( | peak_message_handle | hMessage | ) |
Release a message.
The message instance with hMessage will be freed.
| [in] | hMessage | Handle for a message instance. |
hMessage is an invalid handle. | peak_status peak_Message_Type_Get | ( | peak_message_handle | hMessage, |
| peak_message_type * | messageType ) |
Get the message type.
See peak_message_type for a list of those.
| [in] | hMessage | Handle for a message instance. |
| [out] | messageType | The type of the message. |
hMessage is an invalid handle. messageType is an invalid pointer.