#include <string.hpp>
Public Member Functions | |
void | callAll (const std::vector< message_actions::MessageAction > &actions) |
MemoryStringConverter (const std::string &name, const float &frequency, const qi::SessionPtr &session, const std::string &memory_key) | |
void | registerCallback (const message_actions::MessageAction action, Callback_t cb) |
void | reset () |
Public Member Functions inherited from naoqi::converter::BaseConverter< MemoryStringConverter > | |
BaseConverter (const std::string &name, float frequency, qi::SessionPtr session) | |
float | frequency () const |
std::string | name () const |
virtual | ~BaseConverter () |
Private Types | |
typedef boost::function< void(naoqi_bridge_msgs::StringStamped &)> | Callback_t |
Private Member Functions | |
bool | convert () |
Private Attributes | |
std::map< message_actions::MessageAction, Callback_t > | callbacks_ |
std::string | memory_key_ |
naoqi_bridge_msgs::StringStamped | msg_ |
qi::AnyObject | p_memory_ |
Additional Inherited Members | |
Protected Attributes inherited from naoqi::converter::BaseConverter< MemoryStringConverter > | |
float | frequency_ |
std::string | name_ |
bool | record_enabled_ |
const robot::Robot & | robot_ |
qi::SessionPtr | session_ |
Definition at line 37 of file converters/memory/string.hpp.
|
private |
Definition at line 39 of file converters/memory/string.hpp.
naoqi::converter::MemoryStringConverter::MemoryStringConverter | ( | const std::string & | name, |
const float & | frequency, | ||
const qi::SessionPtr & | session, | ||
const std::string & | memory_key | ||
) |
Definition at line 34 of file converters/memory/string.cpp.
void naoqi::converter::MemoryStringConverter::callAll | ( | const std::vector< message_actions::MessageAction > & | actions | ) |
Definition at line 63 of file converters/memory/string.cpp.
|
private |
Definition at line 45 of file converters/memory/string.cpp.
void naoqi::converter::MemoryStringConverter::registerCallback | ( | const message_actions::MessageAction | action, |
Callback_t | cb | ||
) |
Definition at line 40 of file converters/memory/string.cpp.
void naoqi::converter::MemoryStringConverter::reset | ( | ) |
Definition at line 73 of file converters/memory/string.cpp.
|
private |
Definition at line 60 of file converters/memory/string.hpp.
|
private |
Memory key to retrieve data
Definition at line 56 of file converters/memory/string.hpp.
|
private |
Definition at line 61 of file converters/memory/string.hpp.
|
private |
Memory (Proxy) configurations
Definition at line 58 of file converters/memory/string.hpp.