Orbbec SDK K4A Wrapper
|
Typedefs | |
typedef void() | k4a_logging_message_cb_t(void *context, k4a_log_level_t level, const char *file, const int line, const char *message) |
typedef void() | k4a_memory_destroy_cb_t(void *buffer, void *context) |
typedef uint8_t *() | k4a_memory_allocate_cb_t(int size, void **context) |
Prototypes used in callbacks.
typedef void() k4a_logging_message_cb_t(void *context, k4a_log_level_t level, const char *file, const int line, const char *message) |
Callback function for debug messages being generated by the Azure Kinect SDK.
context | The context of the callback function. This is the context that was supplied by the caller to k4a_set_debug_message_handler . |
level | The level of the message that has been created. |
file | The file name of the source file that generated the message. |
line | The line number of the source file that generated the message. |
message | The messaged generated by the Azure Kinect SDK. |
level
that is equal to or more critical than the level specified when calling k4a_set_debug_message_handler() to register the callback.Definition at line 845 of file k4atypes.h.
typedef uint8_t *() k4a_memory_allocate_cb_t(int size, void **context) |
Callback function for a memory allocation.
size | Minimum size in bytes needed for the buffer. |
context | Output parameter for a context that will be provided in the subsequent call to the k4a_memory_destroy_cb_t callback. |
Definition at line 895 of file k4atypes.h.
typedef void() k4a_memory_destroy_cb_t(void *buffer, void *context) |
Callback function for a memory object being destroyed.
buffer | The buffer pointer that was supplied by the caller as buffer_release_cb to k4a_image_create_from_buffer(). |
context | The context for the memory object that needs to be destroyed that was supplied by the caller as buffer_release_cb_context to k4a_image_create_from_buffer(). |
Definition at line 871 of file k4atypes.h.