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
std::string name() const
Definition: converter_base.hpp:54
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
Definition: memory_list.cpp:85
float frequency() const
Definition: converter_base.hpp:59
qi::AnyObject p_memory_
Definition: memory_list.hpp:52
std::vector< std::string > data_names_list_
Definition: memory_list.hpp:53
boost::function< void(naoqi_bridge_msgs::MemoryList &) > Callback_t
Definition: memory_list.hpp:38
MessageAction
Definition: message_actions.h:9
Definition: memory_list.hpp:36
std::map< message_actions::MessageAction, Callback_t > callbacks_
Definition: memory_list.hpp:56
virtual void callAll(const std::vector< message_actions::MessageAction > &actions)
Definition: memory_list.cpp:43
std::vector< std::string > _key_list
Definition: memory_list.hpp:50
MemoryListConverter(const std::vector< std::string > &key_list, const std::string &name, const float &frequency, const qi::SessionPtr &session)
Definition: memory_list.cpp:33
naoqi_bridge_msgs::MemoryList _msg
Definition: memory_list.hpp:51
Definition: converter_base.hpp:40
virtual void reset()
Definition: memory_list.cpp:39