Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ros::ROSOutAppender Class Reference

#include <rosout_appender.h>

Inheritance diagram for ros::ROSOutAppender:
Inheritance graph

Public Member Functions

const std::string & getLastError () const
virtual void log (::ros::console::Level level, const char *str, const char *file, const char *function, int line)
 ROSOutAppender ()
 ~ROSOutAppender ()
- Public Member Functions inherited from ros::console::LogAppender
virtual ~LogAppender ()

Protected Types

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

Protected Member Functions

void logThread ()

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 58 of file rosout_appender.h.

Member Typedef Documentation

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

Definition at line 73 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

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

Definition at line 70 of file rosout_appender.cpp.

void ros::ROSOutAppender::log ( ::ros::console::Level  level,
const char *  str,
const char *  file,
const char *  function,
int  line 

Implements ros::console::LogAppender.

Definition at line 75 of file rosout_appender.cpp.

void ros::ROSOutAppender::logThread ( )

Definition at line 117 of file rosout_appender.cpp.

Member Data Documentation

std::string ros::ROSOutAppender::last_error_

Definition at line 71 of file rosout_appender.h.

V_Log ros::ROSOutAppender::log_queue_

Definition at line 74 of file rosout_appender.h.

boost::thread ros::ROSOutAppender::publish_thread_

Definition at line 79 of file rosout_appender.h.

boost::condition_variable ros::ROSOutAppender::queue_condition_

Definition at line 76 of file rosout_appender.h.

boost::mutex ros::ROSOutAppender::queue_mutex_

Definition at line 75 of file rosout_appender.h.

bool ros::ROSOutAppender::shutting_down_

Definition at line 77 of file rosout_appender.h.

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

Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Wed Mar 21 2018 07:13:27