#include <Category.hpp>
Public Member Functions | |
void | alert (const RTT::rt_string &message) throw () |
void | alert (const RTT::rt_string &message) throw () |
void | crit (const RTT::rt_string &message) throw () |
void | crit (const RTT::rt_string &message) throw () |
void | debug (const RTT::rt_string &message) throw () |
void | debug (const RTT::rt_string &message) throw () |
void | emerg (const RTT::rt_string &message) throw () |
void | emerg (const RTT::rt_string &message) throw () |
void | error (const RTT::rt_string &message) throw () |
void | error (const RTT::rt_string &message) throw () |
void | fatal (const RTT::rt_string &message) throw () |
void | fatal (const RTT::rt_string &message) throw () |
CategoryStream | getRTStream (log4cpp::Priority::Value priority) |
CategoryStream | getRTStream (log4cpp::Priority::Value priority) |
void | info (const RTT::rt_string &message) throw () |
void | info (const RTT::rt_string &message) throw () |
virtual void | log (log4cpp::Priority::Value priority, const RTT::rt_string &message) throw () |
virtual void | log (log4cpp::Priority::Value priority, const RTT::rt_string &message) throw () |
void | notice (const RTT::rt_string &message) throw () |
void | notice (const RTT::rt_string &message) throw () |
void | warn (const RTT::rt_string &message) throw () |
void | warn (const RTT::rt_string &message) throw () |
virtual | ~Category () |
virtual | ~Category () |
Static Public Member Functions | |
static log4cpp::Category * | createOCLCategory (const std::string &name, log4cpp::Category *parent, log4cpp::Priority::Value priority) |
static log4cpp::Category * | createOCLCategory (const std::string &name, log4cpp::Category *parent, log4cpp::Priority::Value priority) |
Protected Member Functions | |
void | _logUnconditionally2 (log4cpp::Priority::Value priority, const RTT::rt_string &message) throw () |
void | _logUnconditionally2 (log4cpp::Priority::Value priority, const RTT::rt_string &message) throw () |
virtual void | callAppenders (const OCL::logging::LoggingEvent &event) throw () |
virtual void | callAppenders (const OCL::logging::LoggingEvent &event) throw () |
Category (const std::string &name, log4cpp::Category *parent, log4cpp::Priority::Value priority=log4cpp::Priority::NOTSET) | |
Category (const std::string &name, log4cpp::Category *parent, log4cpp::Priority::Value priority=log4cpp::Priority::NOTSET) | |
Static Protected Member Functions | |
static std::string | convertName (const std::string &name) |
static std::string | convertName (const std::string &name) |
Protected Attributes | |
RTT::OutputPort < OCL::logging::LoggingEvent > | log_port |
Private Member Functions | |
Category (const Category &other) | |
Category (const Category &other) | |
Category & | operator= (const Category &other) |
Category & | operator= (const Category &other) |
Friends | |
class | OCL::logging::LoggingService |
for access to log_port |
A real-time capable category
Definition at line 16 of file install/include/orocos/ocl/Category.hpp.
OCL::logging::Category::~Category | ( | ) | [virtual] |
Definition at line 19 of file Category.cpp.
OCL::logging::Category::Category | ( | const std::string & | name, | |
log4cpp::Category * | parent, | |||
log4cpp::Priority::Value | priority = log4cpp::Priority::NOTSET | |||
) | [protected] |
Definition at line 11 of file Category.cpp.
OCL::logging::Category::Category | ( | const Category & | other | ) | [private] |
virtual OCL::logging::Category::~Category | ( | ) | [virtual] |
OCL::logging::Category::Category | ( | const std::string & | name, | |
log4cpp::Category * | parent, | |||
log4cpp::Priority::Value | priority = log4cpp::Priority::NOTSET | |||
) | [protected] |
OCL::logging::Category::Category | ( | const Category & | other | ) | [private] |
void OCL::logging::Category::_logUnconditionally2 | ( | log4cpp::Priority::Value | priority, | |
const RTT::rt_string & | message | |||
) | throw () [protected] |
void OCL::logging::Category::_logUnconditionally2 | ( | log4cpp::Priority::Value | priority, | |
const RTT::rt_string & | message | |||
) | throw () [protected] |
Definition at line 87 of file Category.cpp.
void OCL::logging::Category::alert | ( | const RTT::rt_string & | message | ) | throw () |
void OCL::logging::Category::alert | ( | const RTT::rt_string & | message | ) | throw () |
Definition at line 68 of file Category.cpp.
virtual void OCL::logging::Category::callAppenders | ( | const OCL::logging::LoggingEvent & | event | ) | throw () [protected, virtual] |
Send event to all attached appenders.
event | The event of interest |
void OCL::logging::Category::callAppenders | ( | const OCL::logging::LoggingEvent & | event | ) | throw () [protected, virtual] |
Send event to all attached appenders.
event | The event of interest |
Definition at line 108 of file Category.cpp.
static std::string OCL::logging::Category::convertName | ( | const std::string & | name | ) | [static, protected] |
Convert name into Orocos notation (e.g. "org.me.app" -> "org_me_app")
std::string OCL::logging::Category::convertName | ( | const std::string & | name | ) | [static, protected] |
Convert name into Orocos notation (e.g. "org.me.app" -> "org_me_app")
Definition at line 124 of file Category.cpp.
static log4cpp::Category* OCL::logging::Category::createOCLCategory | ( | const std::string & | name, | |
log4cpp::Category * | parent, | |||
log4cpp::Priority::Value | priority | |||
) | [static] |
Factory function for log4cpp::HierarchyMaintainer Creates an OCL logging category.
log4cpp::Category * OCL::logging::Category::createOCLCategory | ( | const std::string & | name, | |
log4cpp::Category * | parent, | |||
log4cpp::Priority::Value | priority | |||
) | [static] |
Factory function for log4cpp::HierarchyMaintainer Creates an OCL logging category.
Definition at line 136 of file Category.cpp.
void OCL::logging::Category::crit | ( | const RTT::rt_string & | message | ) | throw () |
void OCL::logging::Category::crit | ( | const RTT::rt_string & | message | ) | throw () |
Definition at line 62 of file Category.cpp.
void OCL::logging::Category::debug | ( | const RTT::rt_string & | message | ) | throw () |
void OCL::logging::Category::debug | ( | const RTT::rt_string & | message | ) | throw () |
Definition at line 32 of file Category.cpp.
void OCL::logging::Category::emerg | ( | const RTT::rt_string & | message | ) | throw () |
void OCL::logging::Category::emerg | ( | const RTT::rt_string & | message | ) | throw () |
Definition at line 74 of file Category.cpp.
void OCL::logging::Category::error | ( | const RTT::rt_string & | message | ) | throw () |
void OCL::logging::Category::error | ( | const RTT::rt_string & | message | ) | throw () |
Definition at line 56 of file Category.cpp.
void OCL::logging::Category::fatal | ( | const RTT::rt_string & | message | ) | throw () |
void OCL::logging::Category::fatal | ( | const RTT::rt_string & | message | ) | throw () |
Definition at line 80 of file Category.cpp.
CategoryStream OCL::logging::Category::getRTStream | ( | log4cpp::Priority::Value | priority | ) |
CategoryStream OCL::logging::Category::getRTStream | ( | log4cpp::Priority::Value | priority | ) |
Definition at line 148 of file Category.cpp.
void OCL::logging::Category::info | ( | const RTT::rt_string & | message | ) | throw () |
void OCL::logging::Category::info | ( | const RTT::rt_string & | message | ) | throw () |
Definition at line 38 of file Category.cpp.
virtual void OCL::logging::Category::log | ( | log4cpp::Priority::Value | priority, | |
const RTT::rt_string & | message | |||
) | throw () [virtual] |
void OCL::logging::Category::log | ( | log4cpp::Priority::Value | priority, | |
const RTT::rt_string & | message | |||
) | throw () [virtual] |
Definition at line 23 of file Category.cpp.
void OCL::logging::Category::notice | ( | const RTT::rt_string & | message | ) | throw () |
void OCL::logging::Category::notice | ( | const RTT::rt_string & | message | ) | throw () |
Definition at line 44 of file Category.cpp.
void OCL::logging::Category::warn | ( | const RTT::rt_string & | message | ) | throw () |
void OCL::logging::Category::warn | ( | const RTT::rt_string & | message | ) | throw () |
Definition at line 50 of file Category.cpp.
OCL::logging::LoggingService [friend] |
for access to log_port
Definition at line 151 of file install/include/orocos/ocl/Category.hpp.
RTT::OutputPort< OCL::logging::LoggingEvent > OCL::logging::Category::log_port [protected] |
Definition at line 149 of file install/include/orocos/ocl/Category.hpp.