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

#include <bool.hpp>

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

Public Member Functions

void callAll (const std::vector< message_actions::MessageAction > &actions)
 
 MemoryBoolConverter (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< MemoryBoolConverter >
 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::BoolStamped &)> Callback_t
 

Private Member Functions

bool convert ()
 

Private Attributes

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

Additional Inherited Members

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

Detailed Description

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

Member Typedef Documentation

typedef boost::function<void(naoqi_bridge_msgs::BoolStamped&)> naoqi::converter::MemoryBoolConverter::Callback_t
private

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

Definition at line 59 of file converters/memory/bool.cpp.

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

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

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

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

void naoqi::converter::MemoryBoolConverter::reset ( )

Definition at line 69 of file converters/memory/bool.cpp.

Member Data Documentation

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

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

std::string naoqi::converter::MemoryBoolConverter::memory_key_
private

Memory key to retrieve data

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

naoqi_bridge_msgs::BoolStamped naoqi::converter::MemoryBoolConverter::msg_
private

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

qi::AnyObject naoqi::converter::MemoryBoolConverter::p_memory_
private

Memory (Proxy) configurations

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