Monado OpenXR Runtime
Loading...
Searching...
No Matches
b_app_instance Struct Reference
Inheritance diagram for b_app_instance:
Collaboration diagram for b_app_instance:

Public Member Functions

struct b_app_instanceb_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.
 

Field Documentation

◆ [struct]

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().

◆ capacity

uint32_t b_app_instance::capacity

Capacity of the storage pointer.

◆ count

uint32_t b_app_instance::count

Number of application systems stored.

Referenced by app_system_destroy().

◆ storage

struct xrt_app_system** b_app_instance::storage

The storage pointer for all the application systems.

Referenced by app_system_destroy().


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