OSVR-Core
Public Member Functions | Public Attributes | List of all members
osvr::vbtracker::detail::IMUMessageProcessor Class Reference

Implementation detail of unpacking and handling the IMU messages. More...

#include <ProcessIMUMessage.h>

Inheritance diagram for osvr::vbtracker::detail::IMUMessageProcessor:

Public Member Functions

void operator() (boost::none_t const &) const
 
template<typename Report >
std::enable_if< is_timestamped_report< Report >::value >::type operator() (Report const &report)
 
void updatePose (TrackedBodyIMU &imu, util::time::TimeValue const &timestamp, OSVR_OrientationReport const &ori)
 
void updatePose (TrackedBodyIMU &imu, util::time::TimeValue const &timestamp, OSVR_AngularVelocityReport const &angVel)
 

Public Attributes

BodyId bodyId
 
ImuMessageCategory messageType = ImuMessageCategory::Empty
 

Detailed Description

Implementation detail of unpacking and handling the IMU messages.

Member Function Documentation

§ operator()() [1/2]

void osvr::vbtracker::detail::IMUMessageProcessor::operator() ( boost::none_t const &  ) const
inline

dummy overload to handle empty messages

§ operator()() [2/2]

template<typename Report >
std::enable_if<is_timestamped_report<Report>::value>::type osvr::vbtracker::detail::IMUMessageProcessor::operator() ( Report const &  report)
inline

templated overload to handle real messages since they're identical except for the final data member.

Go off to individual methods for the last argument.


The documentation for this class was generated from the following file: