18 #ifndef LOG_RECORDER_HPP 19 #define LOG_RECORDER_HPP 24 #include <boost/circular_buffer.hpp> 30 #include "../helpers/recorder_helpers.hpp" 36 #include <rosgraph_msgs/Log.h> 49 void write( std::list<rosgraph_msgs::Log>& log_msgs );
53 void bufferize( std::list<rosgraph_msgs::Log>& log_msgs );
59 inline std::string
topic()
const 82 boost::circular_buffer< std::list<rosgraph_msgs::Log> >
buffer_;
std::string topic() const
boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr_
void reset(boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr, float conv_frequency)
void subscribe(bool state)
void bufferize(std::list< rosgraph_msgs::Log > &log_msgs)
bool isSubscribed() const
void writeDump(const ros::Time &time)
void setBufferDuration(float duration)
LogRecorder(const std::string &topic, float buffer_frequency=0)
void write(std::list< rosgraph_msgs::Log > &log_msgs)
bool isInitialized() const
boost::circular_buffer< std::list< rosgraph_msgs::Log > > buffer_