IPC server handlers for xrt_hand_tracker.
More...
|
|
static bool | is_valid_hand_tracker_source (enum xrt_input_name input_name, enum xrt_hand hand) |
| |
|
static xrt_result_t | validate_create_info (volatile struct ipc_client_state *ics, const struct ipc_hand_tracker_create_info *ipc_info) |
| |
|
xrt_result_t | ipc_handle_hand_tracker_create (volatile struct ipc_client_state *ics, const struct ipc_hand_tracker_create_info *ipc_info, uint32_t *out_id) |
| |
|
xrt_result_t | ipc_handle_hand_tracker_locate (volatile struct ipc_client_state *ics, uint32_t id, uint32_t base_space_id, const struct xrt_pose *base_offset, int64_t at_timestamp_ns, struct xrt_hand_tracker_location *out_location) |
| |
|
xrt_result_t | ipc_handle_hand_tracker_set_output (volatile struct ipc_client_state *ics, uint32_t id, enum xrt_output_name name, const struct xrt_output_value *value) |
| |
|
xrt_result_t | ipc_handle_hand_tracker_destroy (volatile struct ipc_client_state *ics, uint32_t id) |
| |
IPC server handlers for xrt_hand_tracker.
◆ GET_XHT_OR_RETURN
| #define GET_XHT_OR_RETURN |
( |
|
ICS, |
|
|
|
ID, |
|
|
|
XHT |
|
) |
| |
Value: do { \
IPC_CHK_AND_RET((ICS)->server, xret, "ipc_server_objects_get_xht_and_validate"); \
} while (0)
xrt_result_t ipc_server_objects_get_xht_and_validate(volatile struct ipc_client_state *ics, uint32_t id, struct xrt_hand_tracker **out_xht)
Get a hand tracker by ID, must only be called from the per client thread.
Definition ipc_server_objects.c:230
enum xrt_result xrt_result_t
Result type used across Monado.