Public Member Functions | Private Types | Private Attributes
naoqi::converter::TouchEventConverter< T > Class Template Reference

#include <touch.hpp>

Inheritance diagram for naoqi::converter::TouchEventConverter< T >:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

template<class T>
class naoqi::converter::TouchEventConverter< T >

Definition at line 44 of file converters/touch.hpp.


Member Typedef Documentation

template<class T >
typedef boost::function<void(T&) > naoqi::converter::TouchEventConverter< T >::Callback_t [private]

Definition at line 47 of file converters/touch.hpp.


Constructor & Destructor Documentation

template<class T >
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.

Definition at line 40 of file converters/touch.cpp.


Member Function Documentation

template<class T >
void naoqi::converter::TouchEventConverter< T >::callAll ( const std::vector< message_actions::MessageAction > &  actions,
T msg 
)

Definition at line 55 of file converters/touch.cpp.

Definition at line 49 of file converters/touch.cpp.

template<class T >
void naoqi::converter::TouchEventConverter< T >::reset ( ) [virtual]

Definition at line 44 of file converters/touch.cpp.


Member Data Documentation

Registered Callbacks

Definition at line 62 of file converters/touch.hpp.

template<class T >
T naoqi::converter::TouchEventConverter< T >::msg_ [private]

Definition at line 63 of file converters/touch.hpp.


The documentation for this class was generated from the following files:


naoqi_driver
Author(s): Karsten Knese
autogenerated on Tue Jul 9 2019 03:21:56