Public Member Functions | Protected Attributes
naoqi::recorder::LogRecorder Class Reference

#include <log.hpp>

List of all members.

Public Member Functions

void bufferize (std::list< rosgraph_msgs::Log > &log_msgs)
bool isInitialized () const
bool isSubscribed () const
 LogRecorder (const std::string &topic, float buffer_frequency=0)
void reset (boost::shared_ptr< naoqi::recorder::GlobalRecorder > gr, float conv_frequency)
void setBufferDuration (float duration)
void subscribe (bool state)
std::string topic () const
void write (std::list< rosgraph_msgs::Log > &log_msgs)
void writeDump (const ros::Time &time)

Protected Attributes

boost::circular_buffer
< std::list
< rosgraph_msgs::Log > > 
buffer_
float buffer_duration_
float buffer_frequency_
size_t buffer_size_
float conv_frequency_
int counter_
boost::shared_ptr
< naoqi::recorder::GlobalRecorder
gr_
bool is_initialized_
bool is_subscribed_
int max_counter_
boost::mutex mutex_
std::string topic_

Detailed Description

Definition at line 43 of file recorder/log.hpp.


Constructor & Destructor Documentation

naoqi::recorder::LogRecorder::LogRecorder ( const std::string &  topic,
float  buffer_frequency = 0 
)

Definition at line 25 of file recorder/log.cpp.


Member Function Documentation

void naoqi::recorder::LogRecorder::bufferize ( std::list< rosgraph_msgs::Log > &  log_msgs)

Definition at line 76 of file recorder/log.cpp.

Definition at line 64 of file recorder/log.hpp.

Definition at line 74 of file recorder/log.hpp.

void naoqi::recorder::LogRecorder::reset ( boost::shared_ptr< naoqi::recorder::GlobalRecorder gr,
float  conv_frequency 
)

Definition at line 58 of file recorder/log.cpp.

Definition at line 90 of file recorder/log.cpp.

void naoqi::recorder::LogRecorder::subscribe ( bool  state) [inline]

Definition at line 69 of file recorder/log.hpp.

std::string naoqi::recorder::LogRecorder::topic ( ) const [inline]

Definition at line 59 of file recorder/log.hpp.

void naoqi::recorder::LogRecorder::write ( std::list< rosgraph_msgs::Log > &  log_msgs)

Definition at line 32 of file recorder/log.cpp.

Definition at line 48 of file recorder/log.cpp.


Member Data Documentation

boost::circular_buffer< std::list<rosgraph_msgs::Log> > naoqi::recorder::LogRecorder::buffer_ [protected]

Definition at line 82 of file recorder/log.hpp.

Definition at line 84 of file recorder/log.hpp.

Definition at line 93 of file recorder/log.hpp.

Definition at line 83 of file recorder/log.hpp.

Definition at line 94 of file recorder/log.hpp.

Definition at line 95 of file recorder/log.hpp.

Definition at line 91 of file recorder/log.hpp.

Definition at line 88 of file recorder/log.hpp.

Definition at line 89 of file recorder/log.hpp.

Definition at line 96 of file recorder/log.hpp.

boost::mutex naoqi::recorder::LogRecorder::mutex_ [protected]

Definition at line 86 of file recorder/log.hpp.

std::string naoqi::recorder::LogRecorder::topic_ [protected]

Definition at line 80 of file recorder/log.hpp.


The documentation for this class was generated from the following files:


naoqi_driver
Author(s): Karsten Knese
autogenerated on Tue Jul 9 2019 03:21:57