Monado OpenXR Runtime
|
A collection of xrt_device, and the roles they have been assigned. More...
#include <xrt/xrt_system.h>
Public Member Functions | |
static void | xrt_system_devices_destroy (struct xrt_system_devices **xsysd_ptr) |
Destroy an xrt_system_devices and owned devices - helper function. More... | |
Data Fields | |
struct xrt_device * | xdevs [(32)] |
size_t | xdev_count |
struct { | |
struct xrt_device * head | |
struct xrt_device * left | |
struct xrt_device * right | |
struct xrt_device * gamepad | |
struct { | |
struct xrt_device * left | |
struct xrt_device * right | |
} hand_tracking | |
} | roles |
void(* | destroy )(struct xrt_system_devices *xsysd) |
Destroy all the devices that are owned by this system devices. More... | |
A collection of xrt_device, and the roles they have been assigned.
|
inline |
Destroy an xrt_system_devices and owned devices - helper function.
[in,out] | xsysd_ptr | A pointer to the xrt_system_devices struct pointer. |
Will destroy the system devices if *xsysd_ptr is not NULL. Will then set *xsysd_ptr to NULL.
References destroy.
Referenced by gui_prober_teardown().
void(* xrt_system_devices::destroy) (struct xrt_system_devices *xsysd) |
Destroy all the devices that are owned by this system devices.
Code consuming this interface should use xrt_system_devices_destroy.
Referenced by r_create_devices(), u_system_devices_allocate(), and xrt_system_devices_destroy().