GlobalRecorder concept interface. More...
#include <touch.hpp>
Public Member Functions | |
void | isDumping (bool state) |
void | isPublishing (bool state) |
void | isRecording (bool state) |
void | resetPublisher (ros::NodeHandle &nh) |
void | resetRecorder (boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr) |
void | setBufferDuration (float duration) |
void | startProcess () |
void | stopProcess () |
void | touchCallback (std::string &key, qi::AnyValue &value, qi::AnyValue &message) |
void | touchCallbackMessage (std::string &key, bool &state, naoqi_bridge_msgs::Bumper &msg) |
void | touchCallbackMessage (std::string &key, bool &state, naoqi_bridge_msgs::HandTouch &msg) |
void | touchCallbackMessage (std::string &key, bool &state, naoqi_bridge_msgs::HeadTouch &msg) |
TouchEventRegister () | |
Constructor for recorder interface. | |
TouchEventRegister (const std::string &name, const std::vector< std::string > keys, const float &frequency, const qi::SessionPtr &session) | |
void | writeDump (const ros::Time &time) |
~TouchEventRegister () | |
Protected Attributes | |
std::vector< std::string > | keys_ |
Private Member Functions | |
void | onEvent () |
void | registerCallback () |
void | unregisterCallback () |
Private Attributes | |
boost::shared_ptr < converter::TouchEventConverter < T > > | converter_ |
bool | isDumping_ |
bool | isPublishing_ |
bool | isRecording_ |
bool | isStarted_ |
boost::mutex | mutex_ |
std::string | name_ |
qi::AnyObject | p_memory_ |
boost::shared_ptr < publisher::BasicPublisher< T > > | publisher_ |
unsigned int | serviceId |
qi::SessionPtr | session_ |
GlobalRecorder concept interface.
Definition at line 56 of file event/touch.hpp.
naoqi::TouchEventRegister< T >::TouchEventRegister | ( | ) |
Constructor for recorder interface.
Definition at line 36 of file event/touch.cpp.
naoqi::TouchEventRegister< T >::TouchEventRegister | ( | const std::string & | name, |
const std::vector< std::string > | keys, | ||
const float & | frequency, | ||
const qi::SessionPtr & | session | ||
) |
Definition at line 41 of file event/touch.cpp.
naoqi::TouchEventRegister< T >::~TouchEventRegister | ( | ) |
Definition at line 67 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::isDumping | ( | bool | state | ) |
Definition at line 155 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::isPublishing | ( | bool | state | ) |
Definition at line 148 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::isRecording | ( | bool | state | ) |
Definition at line 141 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::onEvent | ( | ) | [private] |
void naoqi::TouchEventRegister< T >::registerCallback | ( | ) | [private] |
Definition at line 162 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::resetPublisher | ( | ros::NodeHandle & | nh | ) |
Definition at line 73 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::resetRecorder | ( | boost::shared_ptr< naoqi::recorder::GlobalRecorder > | gr | ) |
Definition at line 79 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::setBufferDuration | ( | float | duration | ) |
Definition at line 135 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::startProcess | ( | ) |
Definition at line 85 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::stopProcess | ( | ) |
Definition at line 106 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::touchCallback | ( | std::string & | key, |
qi::AnyValue & | value, | ||
qi::AnyValue & | message | ||
) |
Definition at line 172 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::touchCallbackMessage | ( | std::string & | key, |
bool & | state, | ||
naoqi_bridge_msgs::Bumper & | msg | ||
) |
Definition at line 207 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::touchCallbackMessage | ( | std::string & | key, |
bool & | state, | ||
naoqi_bridge_msgs::HandTouch & | msg | ||
) |
Definition at line 220 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::touchCallbackMessage | ( | std::string & | key, |
bool & | state, | ||
naoqi_bridge_msgs::HeadTouch & | msg | ||
) |
Definition at line 233 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::unregisterCallback | ( | ) | [private] |
Definition at line 167 of file event/touch.cpp.
void naoqi::TouchEventRegister< T >::writeDump | ( | const ros::Time & | time | ) |
Definition at line 126 of file event/touch.cpp.
boost::shared_ptr<converter::TouchEventConverter<T> > naoqi::TouchEventRegister< T >::converter_ [private] |
Definition at line 93 of file event/touch.hpp.
bool naoqi::TouchEventRegister< T >::isDumping_ [private] |
Definition at line 107 of file event/touch.hpp.
bool naoqi::TouchEventRegister< T >::isPublishing_ [private] |
Definition at line 105 of file event/touch.hpp.
bool naoqi::TouchEventRegister< T >::isRecording_ [private] |
Definition at line 106 of file event/touch.hpp.
bool naoqi::TouchEventRegister< T >::isStarted_ [private] |
Definition at line 104 of file event/touch.hpp.
std::vector<std::string> naoqi::TouchEventRegister< T >::keys_ [protected] |
Definition at line 110 of file event/touch.hpp.
boost::mutex naoqi::TouchEventRegister< T >::mutex_ [private] |
Definition at line 102 of file event/touch.hpp.
std::string naoqi::TouchEventRegister< T >::name_ [private] |
Definition at line 100 of file event/touch.hpp.
qi::AnyObject naoqi::TouchEventRegister< T >::p_memory_ [private] |
Definition at line 98 of file event/touch.hpp.
boost::shared_ptr<publisher::BasicPublisher<T> > naoqi::TouchEventRegister< T >::publisher_ [private] |
Definition at line 94 of file event/touch.hpp.
unsigned int naoqi::TouchEventRegister< T >::serviceId [private] |
Definition at line 99 of file event/touch.hpp.
qi::SessionPtr naoqi::TouchEventRegister< T >::session_ [private] |
Definition at line 97 of file event/touch.hpp.