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

#include <memory_list.hpp>

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

Public Member Functions

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

Private Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 36 of file memory_list.hpp.

Member Typedef Documentation

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

Definition at line 38 of file memory_list.hpp.

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 
)

Definition at line 33 of file memory_list.cpp.

Member Function Documentation

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

Definition at line 43 of file memory_list.cpp.

void naoqi::converter::MemoryListConverter::registerCallback ( const message_actions::MessageAction  action,
Callback_t  cb 
)

Definition at line 85 of file memory_list.cpp.

void naoqi::converter::MemoryListConverter::reset ( )
virtual

Definition at line 39 of file memory_list.cpp.

Member Data Documentation

std::vector<std::string> naoqi::converter::MemoryListConverter::_key_list
private

Definition at line 50 of file memory_list.hpp.

naoqi_bridge_msgs::MemoryList naoqi::converter::MemoryListConverter::_msg
private

Definition at line 51 of file memory_list.hpp.

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

Registered Callbacks

Definition at line 56 of file memory_list.hpp.

std::vector<std::string> naoqi::converter::MemoryListConverter::data_names_list_
private

Definition at line 53 of file memory_list.hpp.

qi::AnyObject naoqi::converter::MemoryListConverter::p_memory_
private

Definition at line 52 of file memory_list.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