Monado OpenXR Runtime
Loading...
Searching...
No Matches
u_tracking_origin.h File Reference

Helpers for xrt_tracking_origin. More...

#include "xrt/xrt_compiler.h"
#include "xrt/xrt_tracking.h"
Include dependency graph for u_tracking_origin.h:

Go to the source code of this file.

Functions

void u_tracking_origin_init (struct xrt_tracking_origin *xto, enum xrt_tracking_type type, const char *fmt,...) XRT_PRINTF_FORMAT(3
 Initialize a tracking origin, to be called by whatever allocates the tracking origin, IPC clients instead get the ID from the service.
 
void void u_tracking_origin_check_xdev (const struct xrt_device *xdev)
 Check that the tracking origin of the given device has an ID, logs an error and asserts if it doesn't.
 
void u_tracking_origin_check_xdevs (struct xrt_device *const *xdevs, size_t xdev_count)
 Check that the tracking origins of all of the given devices have an ID, logs a list of all of the devices that don't and then asserts.
 

Detailed Description