Monado OpenXR Runtime
Loading...
Searching...
No Matches
t_builder Struct Reference

This helper struct makes it easier to implement the builder interface, but it also comes with a set of integration that may not be what all builders want. More...

#include <helpers/target_builder_helpers.h>

Collaboration diagram for t_builder:

Data Fields

struct xrt_builder base
 Base for this struct.
 
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 function.
 

Detailed Description

This helper struct makes it easier to implement the builder interface, but it also comes with a set of integration that may not be what all builders want.

See the below functions for more information.

Field Documentation

◆ base

◆ open_system_static_roles

t_builder_open_system_fn t_builder::open_system_static_roles

Argument to t_builder_roles_helper_open_system and implemented by t_builder::open_system_static_roles function.

A builder implement this function is free to focus on only creating the devices and assigning them initial roles. With this implementation details of the xrt_system_devices and xrt_space_overseer is taken care of by the caller of this function.

Todo:
tbo should be a true out parameter, rather than being a structure with defaults filled in.

Referenced by rift_builder_create(), rift_s_builder_create(), t_builder_legacy_create(), t_builder_lighthouse_create(), t_builder_north_star_create(), t_builder_open_system_static_roles(), t_builder_psvr2_create(), t_builder_qwerty_create(), t_builder_rgb_tracking_create(), t_builder_simula_create(), t_builder_simulated_create(), t_builder_wmr_create(), and xreal_air_builder_create().


The documentation for this struct was generated from the following file: