#include <touch.hpp>
Public Member Functions | |
void | callAll (const std::vector< message_actions::MessageAction > &actions, T &msg) |
void | registerCallback (const message_actions::MessageAction action, Callback_t cb) |
virtual void | reset () |
TouchEventConverter (const std::string &name, const float &frequency, const qi::SessionPtr &session) | |
~TouchEventConverter () | |
Public Member Functions inherited from naoqi::converter::BaseConverter< TouchEventConverter< T > > | |
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(T &) > | Callback_t |
Private Attributes | |
std::map< message_actions::MessageAction, Callback_t > | callbacks_ |
T | msg_ |
Additional Inherited Members | |
Protected Attributes inherited from naoqi::converter::BaseConverter< TouchEventConverter< T > > | |
float | frequency_ |
std::string | name_ |
bool | record_enabled_ |
const robot::Robot & | robot_ |
qi::SessionPtr | session_ |
Definition at line 44 of file converters/touch.hpp.
|
private |
Definition at line 47 of file converters/touch.hpp.
naoqi::converter::TouchEventConverter< T >::TouchEventConverter | ( | const std::string & | name, |
const float & | frequency, | ||
const qi::SessionPtr & | session | ||
) |
Definition at line 34 of file converters/touch.cpp.
naoqi::converter::TouchEventConverter< T >::~TouchEventConverter | ( | ) |
Definition at line 40 of file converters/touch.cpp.
void naoqi::converter::TouchEventConverter< T >::callAll | ( | const std::vector< message_actions::MessageAction > & | actions, |
T & | msg | ||
) |
Definition at line 55 of file converters/touch.cpp.
void naoqi::converter::TouchEventConverter< T >::registerCallback | ( | const message_actions::MessageAction | action, |
Callback_t | cb | ||
) |
Definition at line 49 of file converters/touch.cpp.
|
virtual |
Definition at line 44 of file converters/touch.cpp.
|
private |
Registered Callbacks
Definition at line 62 of file converters/touch.hpp.
|
private |
Definition at line 63 of file converters/touch.hpp.