|
Monado OpenXR Runtime
|


Public Member Functions | |
| struct b_app_instance * | b_app_instance_create (void) |
| Create a b_app_instance, a fully working xrt_app_instance. | |
Data Fields | ||
| struct xrt_app_instance | base | |
| struct { | ||
| struct os_mutex mutex | ||
| uint32_t count | ||
| Number of application systems stored. More... | ||
| uint32_t capacity | ||
| Capacity of the storage pointer. More... | ||
| struct xrt_app_system ** storage | ||
| The storage pointer for all the application systems. More... | ||
| } | app_systems | |
| Data for stored app systems. | ||
Data Fields inherited from xrt_app_instance | ||
| xrt_result_t(* | create_app_system )(struct xrt_app_instance *xainst, struct xrt_system *xsys, struct xrt_app_system **out_xasys) | |
| Creates an application system from the passed system. | ||
| void(* | destroy )(struct xrt_app_instance *xainst) | |
| Destroy the application instance and its owned objects. | ||
Protected Member Functions | |
| bool | b_app_instance_init (struct b_app_instance *bainst, void(*destroy_fn)(struct xrt_app_instance *)) |
| Inits a b_app_instance struct when used as a parent class, only to be used externally by the derived class. | |
| void | b_app_instance_fini (struct b_app_instance *bainst) |
| Finalizes a b_app_instance struct when used as a parent class, only to be used by the derived class. | |
Additional Inherited Members | |
Static Public Member Functions inherited from xrt_app_instance | |
| static XRT_NONNULL_ALL xrt_result_t | xrt_app_instance_create_app_system (struct xrt_app_instance *xainst, struct xrt_system *xsys, struct xrt_app_system **out_xasys) |
| Creates an application system from the passed system. | |
| static XRT_NONNULL_ALL void | xrt_app_instance_destroy (struct xrt_app_instance **xainst_ptr) |
| Destroy the application instance and its owned objects. | |
| struct { ... } b_app_instance::app_systems |
Data for stored app systems.
Referenced by app_system_destroy(), b_app_instance_fini(), and b_app_instance_init().
| uint32_t b_app_instance::capacity |
Capacity of the storage pointer.
| uint32_t b_app_instance::count |
Number of application systems stored.
Referenced by app_system_destroy().
| struct xrt_app_system** b_app_instance::storage |
The storage pointer for all the application systems.
Referenced by app_system_destroy().