Monado OpenXR Runtime
target_builder_interface.h
Go to the documentation of this file.
1// Copyright 2022-2023, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief List of all @ref xrt_builder creation functions.
6 * @author Jakob Bornecrantz <jakob@collabora.com>
7 */
8
9#include "xrt/xrt_config_build.h"
10#include "xrt/xrt_config_drivers.h"
11
12
13/*
14 *
15 * Config checking, sorted alphabetically.
16 *
17 */
18
19// Always enabled.
20#define T_BUILDER_LEGACY
21
22#if defined(XRT_BUILD_DRIVER_SURVIVE) || defined(XRT_BUILD_DRIVER_VIVE) || defined(XRT_DOXYGEN)
23#define T_BUILDER_LIGHTHOUSE
24#endif
25
26#if defined(XRT_BUILD_DRIVER_STEAMVR_LIGHTHOUSE) || defined(XRT_DOXYGEN)
27#define T_BUILDER_STEAMVR
28#endif
29
30#if defined(XRT_BUILD_DRIVER_NS) || defined(XRT_DOXYGEN)
31#define T_BUILDER_NS
32#endif
33
34#if defined(XRT_BUILD_DRIVER_REMOTE) || defined(XRT_DOXYGEN)
35#define T_BUILDER_REMOTE
36#endif
37
38#if defined(XRT_BUILD_DRIVER_QWERTY) || defined(XRT_DOXYGEN)
39#define T_BUILDER_QWERTY
40#endif
41
42#if defined(XRT_BUILD_DRIVER_PSMV) || defined(XRT_BUILD_DRIVER_PSVR) || defined(XRT_DOXYGEN)
43#define T_BUILDER_RGB_TRACKING
44#endif
45
46#if defined(XRT_BUILD_DRIVER_SIMULATED) || defined(XRT_DOXYGEN)
47#define T_BUILDER_SIMULATED
48#endif
49
50#if defined(XRT_BUILD_DRIVER_SIMULAVR) || defined(XRT_DOXYGEN)
51#define T_BUILDER_SIMULAVR
52#endif
53
54#if defined(XRT_BUILD_DRIVER_WMR) || defined(XRT_DOXYGEN)
55#define T_BUILDER_WMR
56#endif
57
58
59/*
60 *
61 * Setter upper creation functions, sorted alphabetically.
62 *
63 */
64
65#ifdef T_BUILDER_LEGACY
66/*!
67 * Builder used as a fallback for drivers not converted to builders yet.
68 */
69struct xrt_builder *
71#endif
72
73#ifdef T_BUILDER_STEAMVR
74/*!
75 * Builder for SteamVR proprietary wrapper (vive, index, tundra trackers, etc.)
76 */
77struct xrt_builder *
79#endif
80
81#ifdef T_BUILDER_LIGHTHOUSE
82/*!
83 * Builder for Lighthouse-tracked devices (vive, index, tundra trackers, etc.)
84 */
85struct xrt_builder *
87#endif
88
89#ifdef T_BUILDER_NS
90/*!
91 * Builder for NorthStar headsets
92 */
93struct xrt_builder *
95#endif
96
97#ifdef T_BUILDER_QWERTY
98/*!
99 * The qwerty driver builder.
100 */
101struct xrt_builder *
103#endif
104
105#ifdef T_BUILDER_REMOTE
106/*!
107 * The remote driver builder.
108 */
109struct xrt_builder *
111#endif
112
113#ifdef T_BUILDER_RGB_TRACKING
114/*!
115 * RGB tracking based drivers, like @ref drv_psmv and @ref drv_psvr.
116 */
117struct xrt_builder *
119#endif
120
121#ifdef T_BUILDER_SIMULATED
122/*!
123 * Builder for @ref drv_simulated devices.
124 */
125struct xrt_builder *
127#endif
128
129
130#ifdef T_BUILDER_SIMULAVR
131/*!
132 * Builder for SimulaVR headsets
133 */
134struct xrt_builder *
136#endif
137
138#ifdef T_BUILDER_WMR
139/*!
140 * Builder for Windows Mixed Reality headsets
141 */
142struct xrt_builder *
144#endif
Sets up a collection of devices and builds a system, a setter upper.
Definition: xrt_prober.h:560
struct xrt_builder * t_builder_wmr_create(void)
Builder for Windows Mixed Reality headsets.
Definition: target_builder_wmr.c:333
struct xrt_builder * t_builder_rgb_tracking_create(void)
RGB tracking based drivers, like PS Move driver and PSVR driver.
Definition: target_builder_rgb_tracking.c:422
struct xrt_builder * t_builder_simula_create(void)
Builder for SimulaVR headsets.
Definition: target_builder_simulavr.c:246
struct xrt_builder * t_builder_remote_create(void)
The remote driver builder.
Definition: target_builder_remote.c:110
struct xrt_builder * t_builder_legacy_create(void)
Builder used as a fallback for drivers not converted to builders yet.
Definition: target_builder_legacy.c:199
struct xrt_builder * t_builder_lighthouse_create(void)
Builder for Lighthouse-tracked devices (vive, index, tundra trackers, etc.)
Definition: target_builder_lighthouse.c:774
struct xrt_builder * t_builder_simulated_create(void)
Builder for Simulated driver devices.
Definition: target_builder_simulated.c:152
struct xrt_builder * t_builder_steamvr_create(void)
Builder for SteamVR proprietary wrapper (vive, index, tundra trackers, etc.)
Definition: target_builder_steamvr.c:187
struct xrt_builder * t_builder_qwerty_create(void)
The qwerty driver builder.
Definition: target_builder_qwerty.c:120
struct xrt_builder * t_builder_north_star_create(void)
Builder for NorthStar headsets.
Definition: target_builder_north_star.c:617