Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
naoqi::converter::MemoryFloatConverter Class Reference

#include <float.hpp>

Inheritance diagram for naoqi::converter::MemoryFloatConverter:
Inheritance graph
[legend]

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_tcallbacks_
 
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::Robotrobot_
 
qi::SessionPtr session_
 

Detailed Description

Definition at line 37 of file converters/memory/float.hpp.

Member Typedef Documentation

typedef boost::function<void(naoqi_bridge_msgs::FloatStamped&)> naoqi::converter::MemoryFloatConverter::Callback_t
private

Definition at line 39 of file converters/memory/float.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

void naoqi::converter::MemoryFloatConverter::callAll ( const std::vector< message_actions::MessageAction > &  actions)

Definition at line 63 of file converters/memory/float.cpp.

bool naoqi::converter::MemoryFloatConverter::convert ( )
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.

Member Data Documentation

std::map<message_actions::MessageAction, Callback_t> naoqi::converter::MemoryFloatConverter::callbacks_
private

Definition at line 60 of file converters/memory/float.hpp.

std::string naoqi::converter::MemoryFloatConverter::memory_key_
private

Memory key to retrieve data

Definition at line 56 of file converters/memory/float.hpp.

naoqi_bridge_msgs::FloatStamped naoqi::converter::MemoryFloatConverter::msg_
private

Definition at line 61 of file converters/memory/float.hpp.

qi::AnyObject naoqi::converter::MemoryFloatConverter::p_memory_
private

Memory (Proxy) configurations

Definition at line 58 of file converters/memory/float.hpp.


The documentation for this class was generated from the following files:


naoqi_driver
Author(s): Karsten Knese
autogenerated on Sat Feb 15 2020 03:24:26