Monado OpenXR Runtime
Loading...
Searching...
No Matches
XRTVRDriverManager.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 latest IVRDriverManager_001 interface version.
6
*
7
* @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
8
* @ingroup openvr_interfaces
9
*/
10
11
#pragma once
12
13
#include "openvr_interfaces_unified.h"
14
#include "openvr_forward_macros.h"
15
16
#include "
XRTVRClientCore.hpp
"
17
18
19
namespace
xrt::state_trackers::openvr {
20
21
using namespace
vr
;
22
23
class
XRTVRDriverManager_001
:
public
vr::IVRDriverManager_001
24
{
25
private
:
26
XRTVRClientCore_003
*core;
27
28
public
:
29
XRTVRDriverManager_001
(
XRTVRClientCore_003
*clientCore);
30
31
virtual
~XRTVRDriverManager_001
() =
default
;
32
33
FnTable_IVRDriverManager_001();
34
35
uint32_t
36
GetDriverCount()
const override
;
37
38
uint32_t
39
GetDriverName(vr::DriverId_t nDriver,
char
*pchValue, uint32_t unBufferSize)
override
;
40
41
DriverHandle_t
42
GetDriverHandle(
const
char
*pchDriverName)
override
;
43
44
bool
45
IsEnabled(vr::DriverId_t nDriver)
const override
;
46
};
47
48
}
// namespace xrt::state_trackers::openvr
XRTVRClientCore.hpp
Implementation of the latest IVRClientCore interface version.
xrt::state_trackers::openvr::XRTVRClientCore_003
Definition
XRTVRClientCore.hpp:152
xrt::state_trackers::openvr::XRTVRDriverManager_001
Definition
XRTVRDriverManager.hpp:24
vr
Definitions missing from C++ header, present in C.
Definition
blockqueue.hpp:15
state_trackers
openvr
interfaces
XRTVRDriverManager.hpp
Generated by
1.9.8