18 #ifndef EVENT_REGISTER_HPP
19 #define EVENT_REGISTER_HPP
23 #include <boost/make_shared.hpp>
24 #include <boost/shared_ptr.hpp>
25 #include <boost/thread/mutex.hpp>
27 #include <qi/session.hpp>
44 template <
typename Converter,
typename Publisher,
typename Recorder>
54 EventRegister(
const std::string& key,
const qi::SessionPtr& session );
58 void resetRecorder( boost::shared_ptr<naoqi::recorder::GlobalRecorder> gr );
bool isPublishing_
Definition: basic.hpp:88
std::string key_
Definition: basic.hpp:83
void writeDump(const ros::Time &time)
Definition: basic.hxx:98
qi::AnyObject signal_
Definition: basic.hpp:81
boost::shared_ptr< Publisher > publisher_
Definition: basic.hpp:77
qi::AnyObject p_memory_
Definition: basic.hpp:80
boost::mutex mutex_
Definition: basic.hpp:85
bool isRecording_
Definition: basic.hpp:89
bool isDumping_
Definition: basic.hpp:90
void isRecording(bool state)
Definition: basic.hxx:113
void startProcess()
Definition: basic.hxx:76
void resetPublisher(ros::NodeHandle &nh)
Definition: basic.hxx:64
bool isStarted_
Definition: basic.hpp:87
void setBufferDuration(float duration)
Definition: basic.hxx:107
boost::shared_ptr< Converter > converter_
Definition: basic.hpp:76
void onEvent()
Definition: basic.hxx:147
void stopProcess()
Definition: basic.hxx:87
~EventRegister()
Definition: basic.hxx:59
void unregisterCallback()
Definition: basic.hxx:141
EventRegister()
Constructor for recorder interface.
Definition: basic.hxx:34
boost::shared_ptr< Recorder > recorder_
Definition: basic.hpp:78
void isPublishing(bool state)
Definition: basic.hxx:120
void resetRecorder(boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr)
Definition: basic.hxx:70
qi::SignalLink signalID_
Definition: basic.hpp:82
GlobalRecorder concept interface.
Definition: basic.hpp:45
void registerCallback()
Definition: basic.hxx:134
void isDumping(bool state)
Definition: basic.hxx:127