Monado OpenXR Runtime
u_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 <util/u_builders.h>

Collaboration diagram for u_builder:

Data Fields

struct xrt_builder base
 Base for this struct. More...
 
u_builder_open_system_fn open_system_static_roles
 Argument to u_builder_roles_helper_open_system and implemented by u_builder::open_system_static_roles function. More...
 

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

u_builder_open_system_fn u_builder::open_system_static_roles

Argument to u_builder_roles_helper_open_system and implemented by u_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.

Referenced by u_builder_open_system_static_roles().


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