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

#include <info.hpp>

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

Public Member Functions

 InfoConverter (const std::string &name, float frequency, const qi::SessionPtr &sessions)
 
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< InfoConverter >
 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::StringStamped)> Callback_t
 

Private Attributes

qi::AnyObject p_memory_
 
std::vector< std::string > keys_
 
std::map< message_actions::MessageAction, Callback_tcallbacks_
 
naoqi_bridge_msgs::StringStamped msg_
 

Additional Inherited Members

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

Member Typedef Documentation

typedef boost::function<void(naoqi_bridge_msgs::StringStamped)> naoqi::converter::InfoConverter::Callback_t
private

Constructor & Destructor Documentation

naoqi::converter::InfoConverter::InfoConverter ( const std::string &  name,
float  frequency,
const qi::SessionPtr &  sessions 
)

Member Function Documentation

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

Field Documentation

std::map<message_actions::MessageAction, Callback_t> naoqi::converter::InfoConverter::callbacks_
private
std::vector<std::string> naoqi::converter::InfoConverter::keys_
private

The keys to get from ALMemory

naoqi_bridge_msgs::StringStamped naoqi::converter::InfoConverter::msg_
private
qi::AnyObject naoqi::converter::InfoConverter::p_memory_
private

Memory (Proxy) configurations


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