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

#include <info.hpp>

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

Public Member Functions

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

Private Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 38 of file converters/info.hpp.

Member Typedef Documentation

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

Definition at line 41 of file converters/info.hpp.

Constructor & Destructor Documentation

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

Definition at line 36 of file converters/info.cpp.

Member Function Documentation

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

Definition at line 69 of file converters/info.cpp.

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

Definition at line 64 of file converters/info.cpp.

void naoqi::converter::InfoConverter::reset ( )

Definition at line 60 of file converters/info.cpp.

Member Data Documentation

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

Definition at line 58 of file converters/info.hpp.

std::vector<std::string> naoqi::converter::InfoConverter::keys_
private

The keys to get from ALMemory

Definition at line 57 of file converters/info.hpp.

naoqi_bridge_msgs::StringStamped naoqi::converter::InfoConverter::msg_
private

Definition at line 60 of file converters/info.hpp.

qi::AnyObject naoqi::converter::InfoConverter::p_memory_
private

Memory (Proxy) configurations

Definition at line 54 of file converters/info.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