#include <rosout_appender.h>
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_ |
Definition at line 59 of file rosout_appender.h.
typedef std::vector<rosgraph_msgs::LogPtr> ros::ROSOutAppender::V_Log [protected] |
Definition at line 77 of file rosout_appender.h.
ros::ROSOutAppender::ROSOutAppender | ( | ) |
Definition at line 47 of file rosout_appender.cpp.
ros::ROSOutAppender::~ROSOutAppender | ( | ) |
Definition at line 58 of file rosout_appender.cpp.
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.
std::string ros::ROSOutAppender::last_error_ [protected] |
Definition at line 75 of file rosout_appender.h.
V_Log ros::ROSOutAppender::log_queue_ [protected] |
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.
bool ros::ROSOutAppender::shutting_down_ [protected] |
Definition at line 81 of file rosout_appender.h.