OSVR-Core
|
Header containing simple traits definitions. More...
#include <osvr/Util/ClientCallbackTypesC.h>
#include <osvr/TypePack/T.h>
#include <osvr/Util/ReportTypesX.h>
Go to the source code of this file.
Classes | |
struct | osvr::common::traits::CallbackType< T > |
Metafunction/trait taking a ReportType and returning the associated CallbackType. More... | |
struct | osvr::common::traits::ReportFromCallback< T > |
Metafunction/trait taking a CallbackType and returning the associated ReportType. More... | |
struct | osvr::common::traits::StateType< T > |
Metafunction/trait taking a ReportType and returning the associated StateType. More... | |
Namespaces | |
osvr | |
The main namespace for all C++ elements of the framework, internal and external. | |
osvr::common | |
Handles spatial transformations. | |
osvr::common::traits | |
Type traits and metaprogramming supports related to specially-handled reports. | |
Macros | |
#define | OSVR_X(TYPE) |
Typedefs | |
template<typename T > | |
using | osvr::common::traits::CallbackFromReport_t = typepack::t_< CallbackType< T >> |
Alias for the CallbackType associated with a given ReportType. | |
template<typename T > | |
using | osvr::common::traits::StateFromReport_t = typepack::t_< StateType< T >> |
Alias for the StateType associated with a given ReportType. | |
template<typename T > | |
using | osvr::common::traits::ReportFromCallback_t = typepack::t_< ReportFromCallback< T >> |
Alias for the ReportType associated with a given CallbackType. | |
Header containing simple traits definitions.
While this file contains all of the main traits generated by macros, it is suggested that you include the specific header file for the trait you want to use, in case the structure changes and to make the include list more semantic.
#define OSVR_X | ( | TYPE | ) |