Skip to content

Class ILLIXR::openxr_quest_controller

ClassList > ILLIXR > openxr_quest_controller

More...

  • #include <plugin.hpp>

Inherits the following classes: ILLIXR::plugin

Public Functions

Type Name
openxr_quest_controller (const std::string & name, phonebook * pb)
virtual void start () override
virtual void stop () override
~openxr_quest_controller () override

Public Functions inherited from ILLIXR::plugin

See ILLIXR::plugin

Type Name
std::string get_name () noexcept const
plugin (std::string name, phonebook * pb)
void spd_add_file_sink (const std::string & file_name, const std::string & extension, const std::string & log_level)
auto spdlogger (const char * log_level)
virtual void start ()
A method which Spindle calls when it starts the component.
virtual void stop ()
A method which Spindle calls when it stops the component.
virtual ~plugin () = default

Protected Attributes inherited from ILLIXR::plugin

See ILLIXR::plugin

Type Name
const std::size_t id_
std::string name_
const phonebook * phonebook_
std::shared_ptr< spdlog::logger > plugin_logger_
const std::shared_ptr< record_logger > record_logger_

Detailed Description

Own a desktop OpenXR session for the ALVR/SteamVR compatibility profile.

Each OpenXR frame produces sequence-matched quest_controller and openxr_view snapshots for Boba. In the opposite direction, the plugin consumes mmap-backed stereo_frame output and submits it to the runtime, including Boba's vector and modal overlays. The native Quest profile uses the Quest-side openxr_interface instead, but both paths share the same data contracts.

Public Functions Documentation

function openxr_quest_controller

ILLIXR::openxr_quest_controller::openxr_quest_controller (
    const std::string & name,
    phonebook * pb
) 

Bind switchboard endpoints and read logging configuration.


function start

virtual void ILLIXR::openxr_quest_controller::start () override

Create the graphics binding and start the OpenXR worker.

Implements ILLIXR::plugin::start


function stop

virtual void ILLIXR::openxr_quest_controller::stop () override

Stop the session thread and destroy all OpenXR/OpenGL resources.

Implements ILLIXR::plugin::stop


function ~openxr_quest_controller

ILLIXR::openxr_quest_controller::~openxr_quest_controller () override

Stop the worker before destroying OpenXR/OpenGL member state.



The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/plugins/quest3/controller/plugin.hpp