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

#include <rosout_appender.h>

Inheritance diagram for roswrap::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_
 
std::thread publish_thread_
 
std::condition_variable queue_condition_
 
std::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> roswrap::ROSOutAppender::V_Log
protected

Definition at line 74 of file rosout_appender.h.

Constructor & Destructor Documentation

◆ ROSOutAppender()

roswrap::ROSOutAppender::ROSOutAppender ( )

◆ ~ROSOutAppender()

roswrap::ROSOutAppender::~ROSOutAppender ( )

Member Function Documentation

◆ getLastError()

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

◆ log()

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

◆ logThread()

void roswrap::ROSOutAppender::logThread ( )
protected

Member Data Documentation

◆ last_error_

std::string roswrap::ROSOutAppender::last_error_
protected

Definition at line 72 of file rosout_appender.h.

◆ log_queue_

V_Log roswrap::ROSOutAppender::log_queue_
protected

Definition at line 75 of file rosout_appender.h.

◆ publish_thread_

std::thread roswrap::ROSOutAppender::publish_thread_
protected

Definition at line 80 of file rosout_appender.h.

◆ queue_condition_

std::condition_variable roswrap::ROSOutAppender::queue_condition_
protected

Definition at line 77 of file rosout_appender.h.

◆ queue_mutex_

std::mutex roswrap::ROSOutAppender::queue_mutex_
protected

Definition at line 76 of file rosout_appender.h.

◆ shutting_down_

bool roswrap::ROSOutAppender::shutting_down_
protected

Definition at line 78 of file rosout_appender.h.


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


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:15