VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::XrManager Class Reference

#include <framework/xr/xrManager.h>

Inheritance diagram for visutwin::canvas::XrManager:
[legend]

Public Member Functions

bool active () const
void end (XrErrorCallback callback=nullptr)
void * requestAnimationFrame (const MakeTickCallback &callback)
bool update (void *frame)
Public Member Functions inherited from visutwin::canvas::EventHandler
template<typename... Args>
EventHandlerfire (const std::string &name, Args &&... args)
bool hasEvent (const std::string &name) const
void initEventHandler ()
template<typename Callback>
requires (!std::is_same_v<std::decay_t<Callback>, HandleEventCallback>)
EventHandleroff (const std::string &name, Callback &&callback, void *scope=nullptr)
EventHandleroff (const std::string &name="", const HandleEventCallback &callback=HandleEventCallback(), void *scope=nullptr)
EventHandleroffByHandle (EventHandle *handle)
template<typename Callback>
requires (!std::is_same_v<std::decay_t<Callback>, HandleEventCallback>)
EventHandleon (const std::string &name, Callback &&callback, void *scope=nullptr)
EventHandleon (const std::string &name, HandleEventCallback callback, void *scope=nullptr)
template<typename Callback>
requires (!std::is_same_v<std::decay_t<Callback>, HandleEventCallback>)
EventHandleonce (const std::string &name, Callback &&callback, void *scope=nullptr)
EventHandleonce (const std::string &name, HandleEventCallback callback, void *scope=nullptr)
virtual ~EventHandler ()=default

Additional Inherited Members

Protected Member Functions inherited from visutwin::canvas::EventHandler
EventHandleaddCallback (const std::string &name, HandleEventCallback callback, void *scope=nullptr, bool once=false)

Detailed Description

XrManager provides a comprehensive interface for XR integration in VisuTwin applications

Definition at line 19 of file xrManager.h.

Member Function Documentation

◆ active()

bool visutwin::canvas::XrManager::active ( ) const
inline

Definition at line 22 of file xrManager.h.

◆ end()

void visutwin::canvas::XrManager::end ( XrErrorCallback callback = nullptr)
inline

Definition at line 25 of file xrManager.h.

◆ requestAnimationFrame()

void * visutwin::canvas::XrManager::requestAnimationFrame ( const MakeTickCallback & callback)
inline

Definition at line 29 of file xrManager.h.

◆ update()

bool visutwin::canvas::XrManager::update ( void * frame)
inline

Definition at line 27 of file xrManager.h.


The documentation for this class was generated from the following file: