OSVR-Core
Classes | Namespaces | Functions
ReportState.h File Reference

Header. More...

#include <osvr/Util/ClientCallbackTypesC.h>
#include <osvr/Common/StateType.h>

Go to the source code of this file.

Classes

struct  osvr::common::traits::ReportStateGetter< ReportType >
 Helper traits struct for reportState(), to access the state member of the various report types. More...
 
struct  osvr::common::traits::ReportStateGetter< OSVR_PositionReport >
 
struct  osvr::common::traits::ReportStateGetter< OSVR_PoseReport >
 
struct  osvr::common::traits::ReportStateGetter< OSVR_OrientationReport >
 
struct  osvr::common::traits::ReportStateGetter< OSVR_Location2DReport >
 
struct  osvr::common::traits::ReportStateGetter< OSVR_DirectionReport >
 

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.
 

Functions

template<typename ReportType >
traits::StateType< ReportType >::type const & osvr::common::reportState (ReportType const &r)
 Generic const accessor for the "state" member of a report.
 
template<typename ReportType >
traits::StateType< ReportType >::type & osvr::common::reportState (ReportType &r)
 Generic accessor for the "state" member of a report.
 

Detailed Description

Header.

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