#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 () | |
Private Types | |
typedef boost::function< void(T &) > | Callback_t |
Private Attributes | |
std::map < message_actions::MessageAction, Callback_t > | callbacks_ |
T | msg_ |
Definition at line 44 of file converters/touch.hpp.
typedef boost::function<void(T&) > naoqi::converter::TouchEventConverter< T >::Callback_t [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.
void naoqi::converter::TouchEventConverter< T >::reset | ( | ) | [virtual] |
Definition at line 44 of file converters/touch.cpp.
std::map<message_actions::MessageAction, Callback_t> naoqi::converter::TouchEventConverter< T >::callbacks_ [private] |
Registered Callbacks
Definition at line 62 of file converters/touch.hpp.
T naoqi::converter::TouchEventConverter< T >::msg_ [private] |
Definition at line 63 of file converters/touch.hpp.