121 bool root_is_unbounded,
122 bool per_app_local_spaces,
xrt_result_t t_builder_roles_helper_open_system(struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_session_event_sink *broadcast, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso, t_builder_open_system_fn fn)
Helper to create a system devices that has static roles and a appropriate space overseer.
Definition target_builder_helpers.c:91
void t_builder_create_space_overseer_legacy(struct xrt_session_event_sink *broadcast, struct xrt_device *head, struct xrt_device *eyes, struct xrt_device *left, struct xrt_device *right, struct xrt_device *gamepad, struct xrt_device **xdevs, uint32_t xdev_count, bool root_is_unbounded, bool per_app_local_spaces, struct xrt_space_overseer **out_xso)
Create a legacy space overseer, most builders probably want to have a more advanced setup then this,...
Definition target_builder_helpers.c:37
enum xrt_result xrt_result_t
Result type used across Monado.
xrt_result_t t_builder_open_system_static_roles(struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_session_event_sink *broadcast, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso)
Implementation for xrt_builder::open_system to be used with t_builder.
Definition target_builder_helpers.c:165
xrt_result_t(* t_builder_open_system_fn)(struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_tracking_origin *origin, struct xrt_system_devices *xsysd, struct xrt_frame_context *xfctx, struct t_builder_roles_helper *tbrh)
Argument to t_builder_roles_helper_open_system and implemented by t_builder::open_system_static_roles...
Definition target_builder_helpers.h:36
This small helper struct is for t_builder_roles_helper_open_system, lets a builder focus on opening d...
Definition target_builder_helpers.h:52
This helper struct makes it easier to implement the builder interface, but it also comes with a set o...
Definition target_builder_helpers.h:87
struct xrt_builder base
Base for this struct.
Definition target_builder_helpers.h:89
t_builder_open_system_fn open_system_static_roles
Argument to t_builder_roles_helper_open_system and implemented by t_builder::open_system_static_roles...
Definition target_builder_helpers.h:94
Sets up a collection of devices and builds a system, a setter upper.
Definition xrt_prober.h:594
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
The main prober that probes and manages found but not opened HMD devices that are connected to the sy...
Definition xrt_prober.h:135
Used internally from producers of events to push events into session, some sinks might multiplex even...
Definition xrt_session.h:237
Object that oversees and manages spaces, one created for each XR system.
Definition xrt_space.h:97
A collection of xrt_device, and an interface for identifying the roles they have been assigned.
Definition xrt_system.h:214
A tracking system or device origin.
Definition xrt_tracking.h:75
Common interface to probe for devices.
Header defining xrt space and space overseer.
Header for system objects.