XRTraits C++ OpenXR Utilities
Namespaces | Typedefs
UniqueHandles.h File Reference

Header defining unique_ptr-based RAII types for OpenXR handles. More...

#include <openxr/openxr.h>
#include <memory>
#include <type_traits>
Include dependency graph for UniqueHandles.h:

Go to the source code of this file.

Namespaces

 xrtraits
 Main namespace for these C++ OpenXR utilities.
 

Typedefs

using xrtraits::UniqueInstance = std::unique_ptr< std::remove_pointer_t< XrInstance >, handle_destroyers::OpenXRHandleDestroyer >
 Scoped RAII pointer type wrapping XrInstance. More...
 
using xrtraits::UniqueSession = std::unique_ptr< std::remove_pointer_t< XrSession >, handle_destroyers::OpenXRHandleDestroyer >
 Scoped RAII pointer type wrapping XrSession. More...
 
using xrtraits::UniqueSwapchain = std::unique_ptr< std::remove_pointer_t< XrSwapchain >, handle_destroyers::OpenXRHandleDestroyer >
 Scoped RAII pointer type wrapping XrSwapchain. More...
 
using xrtraits::UniqueAction = std::unique_ptr< std::remove_pointer_t< XrAction >, handle_destroyers::OpenXRHandleDestroyer >
 Scoped RAII pointer type wrapping XrAction. More...
 
using xrtraits::UniqueActionSet = std::unique_ptr< std::remove_pointer_t< XrActionSet >, handle_destroyers::OpenXRHandleDestroyer >
 Scoped RAII pointer type wrapping XrActionSet. More...
 
using xrtraits::UniqueSpace = std::unique_ptr< std::remove_pointer_t< XrSpace >, handle_destroyers::OpenXRHandleDestroyer >
 Scoped RAII pointer type wrapping XrSpace. More...
 

Detailed Description

Header defining unique_ptr-based RAII types for OpenXR handles.

Author
Ryan Pavlik ryan..nosp@m.pavl.nosp@m.ik@co.nosp@m.llab.nosp@m.ora.c.nosp@m.om