Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt_app_system Interface Reference

This interface acts as a way to store per-application policy for xrt_system. More...

#include <xrt/xrt_app_policy.h>

Inheritance diagram for xrt_app_system:
Collaboration diagram for xrt_app_system:

Static Public Member Functions

static XRT_NONNULL_ALL void xrt_app_system_destroy (struct xrt_app_system **xasys_ptr)
 Destroy the application system and its owned objects.
 

Data Fields

Interface Methods

All implementations of the xrt_app_system interface must populate all these function pointers with their implementation methods.

To use this interface, see the helper functions.

void(* destroy )(struct xrt_app_system *xasys)
 Destroy the application system and its owned objects.
 

Detailed Description

This interface acts as a way to store per-application policy for xrt_system.

Only a single one of these should be created per xrt_system per application (aka per XrInstance, in OpenXR terminology).

See also
xrt_app_instance_create_app_system

Member Function Documentation

◆ xrt_app_system_destroy()

static XRT_NONNULL_ALL void xrt_app_system_destroy ( struct xrt_app_system **  xasys_ptr)
inlinestatic

Destroy the application system and its owned objects.

Note
Code consuming this interface should use xrt_app_system_destroy().
Parameters
xasysPointer to self

Helper for calling through the function pointer.

References destroy.

Field Documentation

◆ destroy

void(* xrt_app_system::destroy) (struct xrt_app_system *xasys)

Destroy the application system and its owned objects.

Note
Code consuming this interface should use xrt_app_system_destroy().
Parameters
xasysPointer to self

Referenced by b_app_system::b_app_system_init(), and xrt_app_system_destroy().


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