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

CRTP glue wrapper for xrt_io_cache. More...

#include <glue/g_io_cache.hpp>

Public Member Functions

const T & derived () const noexcept
 
T & derived () noexcept
 
const xrt_io_cache * getXIC () const noexcept
 
xrt_io_cache * getXIC () noexcept
 

Static Public Member Functions

static const T * fromXIC (const xrt_io_cache *xic) noexcept
 
static T * fromXIC (xrt_io_cache *xic) noexcept
 

Detailed Description

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

CRTP glue wrapper for xrt_io_cache.

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: