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
[legend]

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_
 
ros::internal::condition_variable_monotonic queue_condition_
 
boost::mutex queue_mutex_
 
bool shutting_down_
 

Detailed Description

Definition at line 60 of file rosout_appender.h.

Member Typedef Documentation

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

Definition at line 75 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 
)
virtual

Implements ros::console::LogAppender.

Definition at line 75 of file rosout_appender.cpp.

void ros::ROSOutAppender::logThread ( )
protected

Definition at line 117 of file rosout_appender.cpp.

Member Data Documentation

std::string ros::ROSOutAppender::last_error_
protected

Definition at line 73 of file rosout_appender.h.

V_Log ros::ROSOutAppender::log_queue_
protected

Definition at line 76 of file rosout_appender.h.

boost::thread ros::ROSOutAppender::publish_thread_
protected

Definition at line 81 of file rosout_appender.h.

ros::internal::condition_variable_monotonic ros::ROSOutAppender::queue_condition_
protected

Definition at line 78 of file rosout_appender.h.

boost::mutex ros::ROSOutAppender::queue_mutex_
protected

Definition at line 77 of file rosout_appender.h.

bool ros::ROSOutAppender::shutting_down_
protected

Definition at line 79 of file rosout_appender.h.


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


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:27