OSVR-Core
Classes | Namespaces
CallbackWrapper.h File Reference

Header providing a templated functor wrapping the holding and calling of function pointer and userdata callbacks. More...

#include <boost/type_traits/function_traits.hpp>
#include <boost/type_traits/remove_pointer.hpp>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  osvr::util::CallbackWrapper< FunctionPtrType >
 A class template turning a callback with some number of arguments, with a userdata pointer last, into a function object. More...
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::util
 The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems.
 

Detailed Description

Header providing a templated functor wrapping the holding and calling of function pointer and userdata callbacks.

Date
2014
Author
Sensics, Inc. http://sensics.com/osvr