18 #ifndef MEMORY_LIST_CONVERTER_HPP 19 #define MEMORY_LIST_CONVERTER_HPP 30 #include <naoqi_bridge_msgs/MemoryList.h> 38 typedef boost::function<void(naoqi_bridge_msgs::MemoryList&) >
Callback_t;
47 virtual void callAll(
const std::vector<message_actions::MessageAction>& actions );
51 naoqi_bridge_msgs::MemoryList
_msg;
56 std::map<message_actions::MessageAction, Callback_t>
callbacks_;
63 #endif // MEMORY_LIST_CONVERTER_HPP
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
std::vector< std::string > data_names_list_
boost::function< void(naoqi_bridge_msgs::MemoryList &) > Callback_t
std::map< message_actions::MessageAction, Callback_t > callbacks_
virtual void callAll(const std::vector< message_actions::MessageAction > &actions)
std::vector< std::string > _key_list
MemoryListConverter(const std::vector< std::string > &key_list, const std::string &name, const float &frequency, const qi::SessionPtr &session)
naoqi_bridge_msgs::MemoryList _msg