Monado OpenXR Runtime
xrt_settings.h
Go to the documentation of this file.
1 // Copyright 2020, Collabora, Ltd.
2 // SPDX-License-Identifier: BSL-1.0
3 /*!
4  * @file
5  * @brief Common settings structs to be transferred between different parts of
6  * Monadon.
7  * @author Jakob Bornecrantz <jakob@collabora.com>
8  * @ingroup xrt_iface
9  */
10 
11 #pragma once
12 
13 #include "xrt/xrt_compiler.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 
20 /*!
21  * @ingroup xrt_iface
22  * @{
23  */
24 
25 /*!
26  * Camera type.
27  */
29 {
34 };
35 
36 #define XRT_SETTINGS_CAMERA_NAME_LENGTH 256
37 #define XRT_SETTINGS_PATH_LENGTH 1024
38 
39 /*!
40  * Holding enough information to recreate a tracking pipeline.
41  */
43 {
48 };
49 
50 /*!
51  * @}
52  */
53 
54 
55 #ifdef __cplusplus
56 }
57 #endif
char calibration_path[XRT_SETTINGS_PATH_LENGTH]
Definition: xrt_settings.h:47
enum xrt_settings_camera_type camera_type
Definition: xrt_settings.h:46
xrt_settings_camera_type
Camera type.
Definition: xrt_settings.h:28
#define XRT_SETTINGS_PATH_LENGTH
Definition: xrt_settings.h:37
Definition: xrt_settings.h:30
#define XRT_SETTINGS_CAMERA_NAME_LENGTH
Definition: xrt_settings.h:36
Definition: xrt_settings.h:32
Definition: xrt_settings.h:33
int camera_mode
Definition: xrt_settings.h:45
char camera_name[XRT_SETTINGS_CAMERA_NAME_LENGTH]
Definition: xrt_settings.h:44
Holding enough information to recreate a tracking pipeline.
Definition: xrt_settings.h:42
Definition: xrt_settings.h:31
Header holding common defines.