#include <rosout_appender.h>
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 () | |
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_ |
Definition at line 58 of file rosout_appender.h.
typedef std::vector<rosgraph_msgs::LogPtr> ros::ROSOutAppender::V_Log [protected] |
Definition at line 73 of file rosout_appender.h.
Definition at line 47 of file rosout_appender.cpp.
Definition at line 58 of file rosout_appender.cpp.
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.
std::string ros::ROSOutAppender::last_error_ [protected] |
Definition at line 71 of file rosout_appender.h.
V_Log ros::ROSOutAppender::log_queue_ [protected] |
Definition at line 74 of file rosout_appender.h.
boost::thread ros::ROSOutAppender::publish_thread_ [protected] |
Definition at line 79 of file rosout_appender.h.
boost::condition_variable ros::ROSOutAppender::queue_condition_ [protected] |
Definition at line 76 of file rosout_appender.h.
boost::mutex ros::ROSOutAppender::queue_mutex_ [protected] |
Definition at line 75 of file rosout_appender.h.
bool ros::ROSOutAppender::shutting_down_ [protected] |
Definition at line 77 of file rosout_appender.h.