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

#include <odom.hpp>

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

Public Member Functions

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

Private Attributes

std::map< message_actions::MessageAction, Callback_tcallbacks_
 
nav_msgs::Odometry msg_
 
qi::AnyObject p_motion_
 

Additional Inherited Members

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

Detailed Description

Definition at line 37 of file odom.hpp.

Member Typedef Documentation

typedef boost::function<void(nav_msgs::Odometry&)> naoqi::converter::OdomConverter::Callback_t
private

Definition at line 40 of file odom.hpp.

Constructor & Destructor Documentation

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

Definition at line 38 of file odom.cpp.

Member Function Documentation

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

Definition at line 50 of file odom.cpp.

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

Definition at line 45 of file odom.cpp.

void naoqi::converter::OdomConverter::reset ( )

Definition at line 102 of file odom.cpp.

Member Data Documentation

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

Definition at line 56 of file odom.hpp.

nav_msgs::Odometry naoqi::converter::OdomConverter::msg_
private

Definition at line 57 of file odom.hpp.

qi::AnyObject naoqi::converter::OdomConverter::p_motion_
private

Motion Proxy

Definition at line 54 of file odom.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