naoqidriver
|
#include <int.hpp>
Public Member Functions | |
MemoryIntConverter (const std::string &name, const float &frequency, const qi::SessionPtr &session, const std::string &memory_key) | |
void | reset () |
void | registerCallback (const message_actions::MessageAction action, Callback_t cb) |
void | callAll (const std::vector< message_actions::MessageAction > &actions) |
Public Member Functions inherited from naoqi::converter::BaseConverter< MemoryIntConverter > | |
BaseConverter (const std::string &name, float frequency, qi::SessionPtr session) | |
virtual | ~BaseConverter () |
std::string | name () const |
float | frequency () const |
Private Types | |
typedef boost::function< void(naoqi_bridge_msgs::IntStamped &)> | Callback_t |
Private Member Functions | |
bool | convert () |
Private Attributes | |
std::string | memory_key_ |
qi::AnyObject | p_memory_ |
std::map< message_actions::MessageAction, Callback_t > | callbacks_ |
naoqi_bridge_msgs::IntStamped | msg_ |
Additional Inherited Members | |
Protected Attributes inherited from naoqi::converter::BaseConverter< MemoryIntConverter > | |
std::string | name_ |
float | frequency_ |
const robot::Robot & | robot_ |
qi::SessionPtr | session_ |
bool | record_enabled_ |
|
private |
naoqi::converter::MemoryIntConverter::MemoryIntConverter | ( | const std::string & | name, |
const float & | frequency, | ||
const qi::SessionPtr & | session, | ||
const std::string & | memory_key | ||
) |
void naoqi::converter::MemoryIntConverter::callAll | ( | const std::vector< message_actions::MessageAction > & | actions | ) |
|
private |
void naoqi::converter::MemoryIntConverter::registerCallback | ( | const message_actions::MessageAction | action, |
Callback_t | cb | ||
) |
void naoqi::converter::MemoryIntConverter::reset | ( | ) |
|
private |
|
private |
Memory key to retrieve data
|
private |
|
private |
Memory (Proxy) configurations