Go to the documentation of this file.
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
LogRecorder(const std::string &topic, float buffer_frequency=0)
boost::circular_buffer< std::list< rosgraph_msgs::Log > > buffer_
bool isSubscribed() const
void bufferize(std::list< rosgraph_msgs::Log > &log_msgs)
bool isInitialized() const
boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr_
void reset(boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr, float conv_frequency)
void writeDump(const ros::Time &time)
void subscribe(bool state)
void setBufferDuration(float duration)
void write(std::list< rosgraph_msgs::Log > &log_msgs)
naoqi_driver
Author(s): Karsten Knese
autogenerated on Sat Feb 3 2024 03:50:06