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

bool disable_topics_
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

◆ V_Log

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

Definition at line 74 of file rosout_appender.h.

Constructor & Destructor Documentation

◆ ROSOutAppender()

ros::ROSOutAppender::ROSOutAppender ( )

Definition at line 48 of file rosout_appender.cpp.

◆ ~ROSOutAppender()

ros::ROSOutAppender::~ROSOutAppender ( )

Definition at line 60 of file rosout_appender.cpp.

Member Function Documentation

◆ getLastError()

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

Definition at line 72 of file rosout_appender.cpp.

◆ log()

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 77 of file rosout_appender.cpp.

◆ logThread()

void ros::ROSOutAppender::logThread ( )

Definition at line 126 of file rosout_appender.cpp.

Member Data Documentation

◆ disable_topics_

bool ros::ROSOutAppender::disable_topics_

Definition at line 79 of file rosout_appender.h.

◆ last_error_

std::string ros::ROSOutAppender::last_error_

Definition at line 72 of file rosout_appender.h.

◆ log_queue_

V_Log ros::ROSOutAppender::log_queue_

Definition at line 75 of file rosout_appender.h.

◆ publish_thread_

boost::thread ros::ROSOutAppender::publish_thread_

Definition at line 81 of file rosout_appender.h.

◆ queue_condition_

boost::condition_variable ros::ROSOutAppender::queue_condition_

Definition at line 77 of file rosout_appender.h.

◆ queue_mutex_

boost::mutex ros::ROSOutAppender::queue_mutex_

Definition at line 76 of file rosout_appender.h.

◆ shutting_down_

bool ros::ROSOutAppender::shutting_down_

Definition at line 78 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, Dirk Thomas , Jacob Perron
autogenerated on Thu Nov 23 2023 04:01:44