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
19namespace xrt::state_trackers::openvr {
20
21using namespace vr;
22
23class XRTVRDriverManager_001 : public vr::IVRDriverManager_001
24{
25private:
27
28public:
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
Implementation of the latest IVRClientCore interface version.
Definition XRTVRClientCore.hpp:152
Definition XRTVRDriverManager.hpp:24
Definitions missing from C++ header, present in C.
Definition blockqueue.hpp:15