31   is_initialized_( false ),
    32   is_subscribed_( false ),
    33   buffer_frequency_(buffer_frequency),
    39   if (!msg.header.stamp.isZero()) {
    40     gr_->write(
topic_, msg, msg.header.stamp);
    49   boost::mutex::scoped_lock lock_write_buffer( 
mutex_ );
    50   boost::circular_buffer<diagnostic_msgs::DiagnosticArray>::iterator it;
    53     if (!it->header.stamp.isZero()) {
    54       gr_->write(
topic_, *it, it->header.stamp);
    82   boost::mutex::scoped_lock lock_bufferize( 
mutex_ );
    96   boost::mutex::scoped_lock lock_bufferize( 
mutex_ );
 
void writeDump(const ros::Time &time)
void reset(boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr, float conv_frequency)
void bufferize(diagnostic_msgs::DiagnosticArray &msg)
void setBufferDuration(float duration)
boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr_
void write(diagnostic_msgs::DiagnosticArray &msg)
boost::circular_buffer< diagnostic_msgs::DiagnosticArray > buffer_
static const float bufferDefaultDuration
DiagnosticsRecorder(const std::string &topic, float buffer_frequency=0)