Monado OpenXR Runtime
Loading...
Searching...
No Matches
b_io_cache.h
Go to the documentation of this file.
1// Copyright 2026, NVIDIA CORPORATION.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Base implementation factory for @ref xrt_io_cache.
6 * @ingroup base
7 */
8
9#pragma once
10
11#include "xrt/xrt_io_cache.h"
12#include "xrt/xrt_system.h"
13#include "xrt/xrt_space.h"
14
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20/*!
21 * Create a base input/output cache from system devices.
22 *
23 * @ingroup base
24 */
27 struct xrt_space_overseer *xso,
28 struct xrt_io_cache **out_xic);
29
30#ifdef __cplusplus
31}
32#endif
xrt_result_t b_io_cache_create(struct xrt_system_devices *xsysd, struct xrt_space_overseer *xso, struct xrt_io_cache **out_xic)
Create a base input/output cache from system devices.
Definition b_io_cache.cpp:298
enum xrt_result xrt_result_t
Result type used across Monado.
A cache of flattened device inputs and outputs.
Definition xrt_io_cache.h:116
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
Header defining xrt input/output cache.
Header defining xrt space and space overseer.
Header for system objects.