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

#include <string.hpp>

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

Public Member Functions

void callAll (const std::vector< message_actions::MessageAction > &actions)
 
 MemoryStringConverter (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< MemoryStringConverter >
 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 Member Functions

bool convert ()
 

Private Attributes

std::map< message_actions::MessageAction, Callback_tcallbacks_
 
std::string memory_key_
 
naoqi_bridge_msgs::StringStamped msg_
 
qi::AnyObject p_memory_
 

Additional Inherited Members

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

Detailed Description

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

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

naoqi::converter::MemoryStringConverter::MemoryStringConverter ( const std::string &  name,
const float &  frequency,
const qi::SessionPtr &  session,
const std::string &  memory_key 
)

Definition at line 34 of file converters/memory/string.cpp.

Member Function Documentation

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

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

bool naoqi::converter::MemoryStringConverter::convert ( )
private

Definition at line 45 of file converters/memory/string.cpp.

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

Definition at line 40 of file converters/memory/string.cpp.

void naoqi::converter::MemoryStringConverter::reset ( )

Definition at line 73 of file converters/memory/string.cpp.

Member Data Documentation

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

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

std::string naoqi::converter::MemoryStringConverter::memory_key_
private

Memory key to retrieve data

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

naoqi_bridge_msgs::StringStamped naoqi::converter::MemoryStringConverter::msg_
private

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

qi::AnyObject naoqi::converter::MemoryStringConverter::p_memory_
private

Memory (Proxy) configurations

Definition at line 58 of file converters/memory/string.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