ros::ROSOutAppender Class Reference

#include <rosout_appender.h>

List of all members.

Public Member Functions

const std::string & getLastError ()
 ROSOutAppender ()
 ~ROSOutAppender ()

Protected Types

typedef std::vector
< rosgraph_msgs::LogPtr > 
V_Log

Protected Member Functions

virtual void append (const log4cxx::spi::LoggingEventPtr &event, log4cxx::helpers::Pool &pool)
virtual void close ()
void logThread ()
virtual bool requiresLayout () const

Protected Attributes

std::string last_error_
V_Log log_queue_
boost::thread publish_thread_
boost::condition_variable queue_condition_
boost::mutex queue_mutex_
bool shutting_down_

Detailed Description

Definition at line 59 of file rosout_appender.h.


Member Typedef Documentation

typedef std::vector<rosgraph_msgs::LogPtr> ros::ROSOutAppender::V_Log [protected]

Definition at line 77 of file rosout_appender.h.


Constructor & Destructor Documentation

ros::ROSOutAppender::ROSOutAppender (  ) 

Definition at line 47 of file rosout_appender.cpp.

ros::ROSOutAppender::~ROSOutAppender (  ) 

Definition at line 58 of file rosout_appender.cpp.


Member Function Documentation

void ros::ROSOutAppender::append ( const log4cxx::spi::LoggingEventPtr &  event,
log4cxx::helpers::Pool &  pool 
) [protected, virtual]

Definition at line 75 of file rosout_appender.cpp.

virtual void ros::ROSOutAppender::close (  )  [inline, protected, virtual]

Definition at line 70 of file rosout_appender.h.

const std::string & ros::ROSOutAppender::getLastError (  ) 

Definition at line 70 of file rosout_appender.cpp.

void ros::ROSOutAppender::logThread (  )  [protected]

Definition at line 119 of file rosout_appender.cpp.

virtual bool ros::ROSOutAppender::requiresLayout (  )  const [inline, protected, virtual]

Definition at line 71 of file rosout_appender.h.


Member Data Documentation

std::string ros::ROSOutAppender::last_error_ [protected]

Definition at line 75 of file rosout_appender.h.

Definition at line 78 of file rosout_appender.h.

boost::thread ros::ROSOutAppender::publish_thread_ [protected]

Definition at line 83 of file rosout_appender.h.

boost::condition_variable ros::ROSOutAppender::queue_condition_ [protected]

Definition at line 80 of file rosout_appender.h.

boost::mutex ros::ROSOutAppender::queue_mutex_ [protected]

Definition at line 79 of file rosout_appender.h.

Definition at line 81 of file rosout_appender.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com
autogenerated on Fri Jan 11 10:08:41 2013