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