|
| struct xrt_instance | base |
| | Base.
|
| |
|
struct ipc_connection | ipc_c |
| |
| struct xrt_instance_info | instance_info |
| | Instance information structure, including both platform and application info.
|
| |
| int64_t | startup_timestamp |
| | CLOCK_MONOTONIC timestamp of the instance startup.
|
| |
| struct xrt_instance_android * | android_instance |
| | An "aspect" of the xrt_instance interface, used only on Android.
|
| |
| xrt_result_t(* | is_system_available )(struct xrt_instance *xinst, bool *out_available) |
| | Checks if the system can be created with create_system().
|
| |
| xrt_result_t(* | create_system )(struct xrt_instance *xinst, struct xrt_system **out_xsys, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso, struct xrt_system_compositor **out_xsysc) |
| | Creates all of the system resources like the devices and system compositor.
|
| |
| xrt_result_t(* | get_prober )(struct xrt_instance *xinst, struct xrt_prober **out_xp) |
| | Get the instance xrt_prober, if any.
|
| |
| xrt_result_t(* | create_app_instance )(struct xrt_instance *xinst, struct xrt_app_instance **out_xainst) |
| | Creates an application instance, should only be called once per application.
|
| |
| void(* | destroy )(struct xrt_instance *xinst) |
| | Destroy the instance and its owned objects, including the prober (if any).
|
| |
|
| static XRT_NONNULL_ALL xrt_result_t | xrt_instance_is_system_available (struct xrt_instance *xinst, bool *out_available) |
| | Creates all of the system resources like the devices and system compositor.
|
| |
| static xrt_result_t | xrt_instance_create_system (struct xrt_instance *xinst, struct xrt_system **out_xsys, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso, struct xrt_system_compositor **out_xsysc) |
| | Creates all of the system resources like the devices and system compositor.
|
| |
| static XRT_NONNULL_ALL xrt_result_t | xrt_instance_get_prober (struct xrt_instance *xinst, struct xrt_prober **out_xp) |
| | Get the instance xrt_prober, if any.
|
| |
| static XRT_NONNULL_ALL xrt_result_t | xrt_instance_create_app_instance (struct xrt_instance *xinst, struct xrt_app_instance **out_xainst) |
| | Creates an application instance, should only be called once per application.
|
| |
| static XRT_NONNULL_ALL void | xrt_instance_destroy (struct xrt_instance **xinst_ptr) |
| | Destroy an xrt_instance - helper function.
|
| |
| xrt_result_t | xrt_instance_create (struct xrt_instance_info *ii, struct xrt_instance **out_xinst) |
| | Create an implementation of the xrt_instance interface.
|
| |
◆ base
The documentation for this struct was generated from the following file: