naoqidriver
Public Member Functions | Private Types | Private Attributes
naoqi::converter::MemoryListConverter Class Reference

#include <memory_list.hpp>

Inheritance diagram for naoqi::converter::MemoryListConverter:
naoqi::converter::BaseConverter< MemoryListConverter >

Public Member Functions

 MemoryListConverter (const std::vector< std::string > &key_list, const std::string &name, const float &frequency, const qi::SessionPtr &session)
 
virtual void reset ()
 
void registerCallback (const message_actions::MessageAction action, Callback_t cb)
 
virtual void callAll (const std::vector< message_actions::MessageAction > &actions)
 
- Public Member Functions inherited from naoqi::converter::BaseConverter< MemoryListConverter >
 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::MemoryList &) > Callback_t
 

Private Attributes

std::vector< std::string > _key_list
 
naoqi_bridge_msgs::MemoryList _msg
 
qi::AnyObject p_memory_
 
std::vector< std::string > data_names_list_
 
std::map< message_actions::MessageAction, Callback_tcallbacks_
 

Additional Inherited Members

- Protected Attributes inherited from naoqi::converter::BaseConverter< MemoryListConverter >
std::string name_
 
float frequency_
 
const robot::Robotrobot_
 
qi::SessionPtr session_
 
bool record_enabled_
 

Member Typedef Documentation

typedef boost::function<void(naoqi_bridge_msgs::MemoryList&) > naoqi::converter::MemoryListConverter::Callback_t
private

Constructor & Destructor Documentation

naoqi::converter::MemoryListConverter::MemoryListConverter ( const std::vector< std::string > &  key_list,
const std::string &  name,
const float &  frequency,
const qi::SessionPtr &  session 
)

Member Function Documentation

void naoqi::converter::MemoryListConverter::callAll ( const std::vector< message_actions::MessageAction > &  actions)
virtual
void naoqi::converter::MemoryListConverter::registerCallback ( const message_actions::MessageAction  action,
Callback_t  cb 
)
void naoqi::converter::MemoryListConverter::reset ( )
virtual

Field Documentation

std::vector<std::string> naoqi::converter::MemoryListConverter::_key_list
private
naoqi_bridge_msgs::MemoryList naoqi::converter::MemoryListConverter::_msg
private
std::map<message_actions::MessageAction, Callback_t> naoqi::converter::MemoryListConverter::callbacks_
private

Registered Callbacks

std::vector<std::string> naoqi::converter::MemoryListConverter::data_names_list_
private
qi::AnyObject naoqi::converter::MemoryListConverter::p_memory_
private

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