15#include "oxr_extension_support.h"
63XRT_CHECK_RESULT XrResult
86XRT_CHECK_RESULT XrResult
100XRT_CHECK_RESULT XrResult
118XRT_NONNULL_ALL
static inline struct xrt_input *
130XRT_NONNULL_ALL
static inline struct xrt_output *
144oxr_io_cache_find_input(
const struct oxr_io_cache *cache,
154oxr_io_cache_has_output(
const struct oxr_io_cache *cache,
xrt_input_name
Every internal input source known to monado with a baked in type.
Definition xrt_defines.h:952
xrt_output_name
Name of a output with a baked in type.
Definition xrt_defines.h:1636
Shared internal defines and enums in the state tracker.
Forward declarations for OpenXR state tracker structs.
Per session-action-context snapshot of all device inputs and outputs, wrapping an xrt_io_cache.
Definition oxr_io_cache.h:45
struct xrt_input * inputs
Snapshot arrays, owned here and sized per info; bindings point into these.
Definition oxr_io_cache.h:53
struct xrt_io_cache_info info
Layout (device table, counts and generation) of the current snapshot.
Definition oxr_io_cache.h:50
static XRT_NONNULL_ALL struct xrt_input * oxr_io_cache_device_inputs(const struct oxr_io_cache *cache, const struct xrt_io_cache_device *dev)
The inputs of dev in oxr_io_cache::inputs, dev must be an entry in the layout of cache.
Definition oxr_io_cache.h:119
struct xrt_io_cache * xic
Backing cache object that reads from / writes to the devices.
Definition oxr_io_cache.h:47
static XRT_NONNULL_ALL struct xrt_output * oxr_io_cache_device_outputs(const struct oxr_io_cache *cache, const struct xrt_io_cache_device *dev)
The outputs of dev in oxr_io_cache::outputs, dev must be an entry in the layout of cache.
Definition oxr_io_cache.h:131
Logger struct that lives on the stack, one for each call client call.
Definition oxr_logger.h:44
A unique identifier for an xrt_device instance.
Definition xrt_device.h:47
Per-device layout entry describing where a device's inputs and outputs sit in the flattened cache arr...
Definition xrt_io_cache.h:31
uint32_t first_input
Index of this device's first input in the flattened input array.
Definition xrt_io_cache.h:42
uint32_t first_output
Index of this device's first output in the flattened output array.
Definition xrt_io_cache.h:48
Snapshot of the cache layout.
Definition xrt_io_cache.h:75
A cache of flattened device inputs and outputs.
Definition xrt_io_cache.h:116
A single named output, that sits on a xrt_device.
Definition xrt_device.h:254
Object that oversees and manages spaces, one created for each XR system.
Definition xrt_space.h:97
A collection of xrt_device, and an interface for identifying the roles they have been assigned.
Definition xrt_system.h:218
Common defines and enums for XRT.
Header defining xrt input/output cache.