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

CRTP glue wrapper for xrt_body_tracker. More...

#include <glue/g_body_tracker.hpp>

Public Member Functions

const T & derived () const noexcept
 
T & derived () noexcept
 
const xrt_body_trackergetXBT () const noexcept
 
xrt_body_trackergetXBT () noexcept
 

Static Public Member Functions

static const T * fromXBT (const xrt_body_tracker *xbt) noexcept
 
static T * fromXBT (xrt_body_tracker *xbt) noexcept
 

Detailed Description

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

CRTP glue wrapper for xrt_body_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: