91 bsysd->base.
destroy(&bsysd->base);
struct b_system_devices_static * b_system_devices_static_allocate(void)
Allocates a empty b_system_devices to be filled in by the caller, only the destroy function is filled...
Definition b_system_devices.c:231
void b_system_devices_close(struct xrt_system_devices *xsysd)
Destroys all devices and clears out the frame context, doesn't free the struct itself,...
Definition b_system_devices.c:219
struct b_system_devices * b_system_devices_allocate(void)
Allocates a empty b_system_devices to be filled in by the caller, only the destroy function is filled...
Definition b_system_devices.c:210
void b_system_devices_static_finalize(struct b_system_devices_static *bsysds, struct xrt_device *left, struct xrt_device *right, struct xrt_device *gamepad)
Finalizes the static struct with the given input devices, the system devices will always return these...
Definition b_system_devices.c:243
Helper struct to manage devices by implementing the xrt_system_devices, this has only static device r...
Definition b_system_devices.h:108
struct xrt_system_roles cached
Is automatically returned.
Definition b_system_devices.h:112
struct xrt_reference feature_use[XRT_DEVICE_FEATURE_MAX_ENUM]
Tracks usage of device features.
Definition b_system_devices.h:115
Helper struct to manage devices by implementing the xrt_system_devices.
Definition b_system_devices.h:33
struct xrt_tracking_origin origin
Optional shared tracking origin.
Definition b_system_devices.h:40
struct xrt_frame_context xfctx
Optional frame context for visual tracking.
Definition b_system_devices.h:37
A single HMD or input device.
Definition xrt_device.h:310
Object used to track all sinks and frame producers in a graph.
Definition xrt_frame.h:108
A base class for reference counted objects.
Definition xrt_defines.h:99
Used internally from producers of events to push events into session, some sinks might multiplex even...
Definition xrt_session.h:237
A collection of xrt_device, and an interface for identifying the roles they have been assigned.
Definition xrt_system.h:214
void(* destroy)(struct xrt_system_devices *xsysd)
Destroy all the devices that are owned by this system devices.
Definition xrt_system.h:349
Data associating a device index (in xrt_system_devices::static_xdevs) with a given "role" for dynamic...
Definition xrt_system.h:154
A tracking system or device origin.
Definition xrt_tracking.h:75
Header for system objects.
Header defining the tracking system integration in Monado.