#include <imu.hpp>
Public Member Functions | |
virtual void | callAll (const std::vector< message_actions::MessageAction > &actions) |
ImuConverter (const std::string &name, const IMU::Location &location, const float &frequency, const qi::SessionPtr &session) | |
void | registerCallback (const message_actions::MessageAction action, Callback_t cb) |
virtual void | reset () |
~ImuConverter () | |
Private Types | |
typedef boost::function< void(sensor_msgs::Imu &) > | Callback_t |
Private Attributes | |
std::map < message_actions::MessageAction, Callback_t > | callbacks_ |
std::vector< std::string > | data_names_list_ |
sensor_msgs::Imu | msg_imu_ |
qi::AnyObject | p_memory_ |
typedef boost::function<void(sensor_msgs::Imu&) > naoqi::converter::ImuConverter::Callback_t [private] |
naoqi::converter::ImuConverter::ImuConverter | ( | const std::string & | name, |
const IMU::Location & | location, | ||
const float & | frequency, | ||
const qi::SessionPtr & | session | ||
) |
void naoqi::converter::ImuConverter::callAll | ( | const std::vector< message_actions::MessageAction > & | actions | ) | [virtual] |
void naoqi::converter::ImuConverter::registerCallback | ( | const message_actions::MessageAction | action, |
Callback_t | cb | ||
) |
void naoqi::converter::ImuConverter::reset | ( | ) | [virtual] |
std::map<message_actions::MessageAction, Callback_t> naoqi::converter::ImuConverter::callbacks_ [private] |
std::vector<std::string> naoqi::converter::ImuConverter::data_names_list_ [private] |
sensor_msgs::Imu naoqi::converter::ImuConverter::msg_imu_ [private] |
qi::AnyObject naoqi::converter::ImuConverter::p_memory_ [private] |