Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt::util::HandTrackerBase< T > Class Template Reference

CRTP glue wrapper for xrt_hand_tracker. More...

#include <glue/g_hand_tracker.hpp>

Public Member Functions

const T & derived () const noexcept
 
T & derived () noexcept
 
const xrt_hand_trackergetXHT () const noexcept
 
xrt_hand_trackergetXHT () noexcept
 

Static Public Member Functions

static const T * fromXHT (const xrt_hand_tracker *xht) noexcept
 
static T * fromXHT (xrt_hand_tracker *xht) noexcept
 

Detailed Description

template<class T>
class xrt::util::HandTrackerBase< T >

CRTP glue wrapper for xrt_hand_tracker.

Relies on standard layout to recover the derived object from the C struct, and has some requirements and limitations because of that. See C++ glue wrappers for the guide and conventions for these wrappers.


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