22 #include <qi/session.hpp> 30 Memory(
const qi::SessionPtr& session);
33 void init(
const std::vector <std::string> &joints_names);
36 std::vector <std::string>
initMemoryKeys(
const std::vector <std::string> &joints);
42 std::vector<float>
getListData(
const std::vector <std::string> &keys);
45 std::string
getData(
const std::string &str);
49 const std::string &callback_module,
50 const std::string &callback_method,
51 const std::string &callback_message);
55 const std::string &callback_module);
qi::AnyObject memory_proxy_
void unsubscribeFromMicroEvent(const std::string &name, const std::string &callback_module)
unsubscribe from a micro-event
std::vector< float > getListData()
Get values of keys.
std::string getData(const std::string &str)
get a key-value pair stored in memory
void subscribeToMicroEvent(const std::string &name, const std::string &callback_module, const std::string &callback_method, const std::string &callback_message)
subscribe to a micro-event
This class is a wapper for Naoqi Memory Class.
std::vector< std::string > initMemoryKeys(const std::vector< std::string > &joints)
initialize memory keys to read
void init(const std::vector< std::string > &joints_names)
initialize with joints names to control
std::vector< std::string > keys_positions_
Memory(const qi::SessionPtr &session)