18 #ifndef ODOM_CONVERTER_HPP 19 #define ODOM_CONVERTER_HPP 30 #include <nav_msgs/Odometry.h> 40 typedef boost::function<void(nav_msgs::Odometry&)>
Callback_t;
47 void callAll(
const std::vector<message_actions::MessageAction>& actions );
56 std::map<message_actions::MessageAction, Callback_t>
callbacks_;
OdomConverter(const std::string &name, const float &frequency, const qi::SessionPtr &session)
boost::function< void(nav_msgs::Odometry &)> Callback_t
void registerCallback(message_actions::MessageAction action, Callback_t cb)
std::map< message_actions::MessageAction, Callback_t > callbacks_
void callAll(const std::vector< message_actions::MessageAction > &actions)