OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::vbtracker::detail::IMUMessageProcessor Class Reference

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

#include </home/jenkins/root/workspace/OSVR-Core-Docs/plugins/unifiedvideoinertialtracker/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.

Definition at line 51 of file ProcessIMUMessage.h.

Member Function Documentation

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

dummy overload to handle empty messages

Definition at line 56 of file ProcessIMUMessage.h.

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.

Definition at line 62 of file ProcessIMUMessage.h.


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