Monado OpenXR Runtime
u_generic_callbacks.hpp File Reference

Implementation of a generic callback collection, intended to be wrapped for a specific event type. More...

#include <vector>
#include <algorithm>
#include <type_traits>
#include <cstdint>
Include dependency graph for u_generic_callbacks.hpp:

Go to the source code of this file.

Data Structures

struct  xrt::auxiliary::util::detail::GenericCallbackEntry< CallbackType, MaskType >
 Element type stored in GenericCallbacks, for internal use only. More...
 
struct  xrt::auxiliary::util::detail::identity< T >
 
struct  xrt::auxiliary::util::GenericCallbacks< CallbackType, EventBitflagType >
 A generic collection of callbacks for event types represented as a bitmask, intended to be wrapped for each usage. More...
 

Typedefs

template<typename T >
using xrt::auxiliary::util::detail::mask_from_enum_t = typename std::conditional_t< std::is_enum< T >::value, std::underlying_type< T >, identity< T > >::type
 

Detailed Description

Implementation of a generic callback collection, intended to be wrapped for a specific event type.

Author
Rylie Pavlik rylie.nosp@m..pav.nosp@m.lik@c.nosp@m.olla.nosp@m.bora..nosp@m.com