OSVR-Core
|
Helper traits struct for reportState(), to access the state member of the various report types. More...
#include <ReportState.h>
Static Public Member Functions | |
static StateType< ReportType >::type const & | apply (ReportType const &r) |
static StateType< ReportType >::type | apply (ReportType &r) |
Helper traits struct for reportState(), to access the state member of the various report types.
Default implementation is fine for any reports where the state member of the report struct is called simply state
- only explicitly specialize if that isn't the case.