Monado OpenXR Runtime
Loading...
Searching...
No Matches
ipc_server_handler_body_tracker.c File Reference

IPC server handlers for xrt_body_tracker. More...

#include "xrt/xrt_body_tracker.h"
#include "xrt/xrt_space.h"
#include "xrt/xrt_system.h"
#include "shared/ipc_protocol.h"
#include "ipc_server_generated.h"
#include "server/ipc_server.h"
#include "server/ipc_server_objects.h"
Include dependency graph for ipc_server_handler_body_tracker.c:

Macros

#define GET_XBT_OR_RETURN(ICS, ID, XBT)
 

Functions

xrt_result_t ipc_handle_body_tracker_create (volatile struct ipc_client_state *ics, const struct ipc_body_tracker_create_info *ipc_info, uint32_t *out_id, struct xrt_body_tracker_supported *out_supported)
 
xrt_result_t ipc_handle_body_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_body_tracker_location *out_location)
 
xrt_result_t ipc_handle_body_tracker_get_skeleton (volatile struct ipc_client_state *ics, uint32_t id, struct xrt_body_skeleton *out_skeleton)
 
xrt_result_t ipc_handle_body_tracker_reset_calibration_meta (volatile struct ipc_client_state *ics, uint32_t id)
 
xrt_result_t ipc_handle_body_tracker_set_calibration_override_meta (volatile struct ipc_client_state *ics, uint32_t id, float body_height)
 
xrt_result_t ipc_handle_body_tracker_set_fidelity_meta (volatile struct ipc_client_state *ics, uint32_t id, enum xrt_body_tracking_fidelity_meta fidelity)
 
xrt_result_t ipc_handle_body_tracker_destroy (volatile struct ipc_client_state *ics, uint32_t id)
 

Detailed Description

IPC server handlers for xrt_body_tracker.

Macro Definition Documentation

◆ GET_XBT_OR_RETURN

#define GET_XBT_OR_RETURN (   ICS,
  ID,
  XBT 
)
Value:
do { \
IPC_CHK_AND_RET((ICS)->server, xret, "ipc_server_objects_get_xbt_and_validate"); \
} while (0)
xrt_result_t ipc_server_objects_get_xbt_and_validate(volatile struct ipc_client_state *ics, uint32_t id, struct xrt_body_tracker **out_xbt)
Get a body tracker by ID, must only be called from the per client thread.
Definition ipc_server_objects.c:231
enum xrt_result xrt_result_t
Result type used across Monado.