Monado OpenXR Runtime
Loading...
Searching...
No Matches
XRTVRSystem_010.hpp
Go to the documentation of this file.
1// Copyright 2026, Beyley Cardellio
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Implementation of the IVRSystem interface version 010.
6 *
7 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
8 * @ingroup openvr_interfaces
9 */
10
11#pragma once
12
14
15#include "openvr_interfaces_unified.h"
16#include "openvr_forward_macros.h"
17
19#include "XRTVRSystem_011.hpp"
20
21
22namespace xrt::state_trackers::openvr {
23
24using namespace vr;
25
26class XRTVRSystem_010 : public XRTVRSystem_011, public vr::IVRSystem_010
27{
28public:
29 // @todo Remove when clang-format is updated in CI
30 // clang-format off
32 // clang-format on
33
34 void *
35 getFnTable()
36 {
37 // No FnTable available for IVRSystem_010.
38 return nullptr;
39 }
40
41 ForwardDeclareBase_IVRSystem(XRTVRSystem_011);
42
43 Forward_IVRSystem_GetRecommendedRenderTargetSize();
44 Forward_IVRSystem_GetProjectionMatrix_014();
45 Forward_IVRSystem_GetProjectionRaw_026();
46 Forward_IVRSystem_ComputeDistortion_012();
47 Forward_IVRSystem_GetEyeToHeadTransform_026();
48 Forward_IVRSystem_GetTimeSinceLastVsync();
49 Forward_IVRSystem_GetD3D9AdapterIndex();
50 Forward_IVRSystem_GetDXGIOutputInfo_026();
51 Forward_IVRSystem_IsDisplayOnDesktop();
52 Forward_IVRSystem_SetDisplayVisibility();
53 Forward_IVRSystem_GetDeviceToAbsoluteTrackingPose_026();
54 Forward_IVRSystem_ResetSeatedZeroPose();
55 Forward_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose();
56 Forward_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose();
57 Forward_IVRSystem_GetSortedTrackedDeviceIndicesOfClass_026();
58 Forward_IVRSystem_GetTrackedDeviceActivityLevel();
59 Forward_IVRSystem_ApplyTransform_026();
60 Forward_IVRSystem_GetTrackedDeviceIndexForControllerRole();
61 Forward_IVRSystem_GetControllerRoleForTrackedDeviceIndex();
62 Forward_IVRSystem_GetTrackedDeviceClass_026();
63 Forward_IVRSystem_IsTrackedDeviceConnected();
64 Forward_IVRSystem_GetBoolTrackedDeviceProperty_026();
65 Forward_IVRSystem_GetFloatTrackedDeviceProperty_026();
66 Forward_IVRSystem_GetInt32TrackedDeviceProperty_026();
67 Forward_IVRSystem_GetUint64TrackedDeviceProperty_026();
68 Forward_IVRSystem_GetMatrix34TrackedDeviceProperty_026();
69 Forward_IVRSystem_GetStringTrackedDeviceProperty_026();
70 Forward_IVRSystem_GetPropErrorNameFromEnum_026();
71
72 bool
73 PollNextEvent(VREvent_t *pEvent) override
74 {
75 // @todo pull the size of VREvent_t at the time of this header.
76
77 return ForwardBase_IVRSystem::PollNextEvent(pEvent, sizeof(*pEvent));
78 }
79
80 bool
81 PollNextEventWithPose(ETrackingUniverseOrigin eOrigin,
82 vr::VREvent_t *pEvent,
83 vr::TrackedDevicePose_t *pTrackedDevicePose) override
84 {
85 // @todo pull the size of VREvent_t at the time of this header.
86
87 return ForwardBase_IVRSystem::PollNextEventWithPose(eOrigin, pEvent, sizeof(*pEvent),
88 pTrackedDevicePose);
89 }
90
91 Forward_IVRSystem_GetEventTypeNameFromEnum();
92 Forward_IVRSystem_GetHiddenAreaMesh_012();
93 Forward_IVRSystem_GetControllerState_012();
94 Forward_IVRSystem_GetControllerStateWithPose_012();
95 Forward_IVRSystem_TriggerHapticPulse();
96 Forward_IVRSystem_GetButtonIdNameFromEnum();
97 Forward_IVRSystem_GetControllerAxisTypeNameFromEnum();
98 Forward_IVRSystem_CaptureInputFocus();
99 Forward_IVRSystem_ReleaseInputFocus();
100 Forward_IVRSystem_IsInputFocusCapturedByAnotherProcess();
101 Forward_IVRSystem_DriverDebugRequest_017();
102 Forward_IVRSystem_PerformFirmwareUpdate_026();
103 Forward_IVRSystem_AcknowledgeQuit_Exiting();
104 Forward_IVRSystem_AcknowledgeQuit_UserPrompt();
105 Forward_IVRSystem_PerformanceTestEnableCapture();
106 Forward_IVRSystem_PerformanceTestReportFidelityLevelChange();
107};
108
109}; // namespace xrt::state_trackers::openvr
Implementation of the latest IVRSystem interface version.
Implementation of the IVRSystem interface version 011.
Definition XRTVRClientCore.hpp:152
Definition XRTVRSystem_010.hpp:27
Definition XRTVRSystem_011.hpp:27
Definitions missing from C++ header, present in C.
Definition blockqueue.hpp:15
Logging functions.