A mirror of log4cpp::LoggingEvent, except using real-time capable strings. More...
#include <LoggingEvent.hpp>
Public Member Functions | |
LoggingEvent (const RTT::rt_string &category, const RTT::rt_string &message, log4cpp::Priority::Value priority) | |
Construct from RT strings. More... | |
LoggingEvent (const std::string &category, const RTT::rt_string &message, log4cpp::Priority::Value priority) | |
LoggingEvent () | |
Create with empty values. More... | |
LoggingEvent (const LoggingEvent &toCopy) | |
const LoggingEvent & | operator= (const LoggingEvent &rhs) |
log4cpp::LoggingEvent | toLog4cpp () |
~LoggingEvent () | |
Public Attributes | |
RTT::rt_string | categoryName |
RTT::rt_string | message |
log4cpp::Priority::Value | priority |
char | threadName [THREADNAME_SIZE] |
log4cpp::TimeStamp | timeStamp |
Static Public Attributes | |
static const size_t | THREADNAME_SIZE =16 |
A mirror of log4cpp::LoggingEvent, except using real-time capable strings.
Definition at line 11 of file LoggingEvent.hpp.
OCL::logging::LoggingEvent::LoggingEvent | ( | const RTT::rt_string & | category, |
const RTT::rt_string & | message, | ||
log4cpp::Priority::Value | priority | ||
) |
Construct from RT strings.
See also log4cpp/src/PThreads.cppgetThreadId()
Definition at line 29 of file LoggingEvent.cpp.
OCL::logging::LoggingEvent::LoggingEvent | ( | const std::string & | category, |
const RTT::rt_string & | message, | ||
log4cpp::Priority::Value | priority | ||
) |
Construct from a mix of types This is an optimization for use by Category::_logUnconditionally2(), which constructs from "std::string&, rt_string&".
See also log4cpp/src/PThreads.cppgetThreadId()
Definition at line 41 of file LoggingEvent.cpp.
OCL::logging::LoggingEvent::LoggingEvent | ( | ) |
Create with empty values.
Definition at line 11 of file LoggingEvent.cpp.
OCL::logging::LoggingEvent::LoggingEvent | ( | const LoggingEvent & | toCopy | ) |
Definition at line 20 of file LoggingEvent.cpp.
OCL::logging::LoggingEvent::~LoggingEvent | ( | ) |
Definition at line 69 of file LoggingEvent.cpp.
const LoggingEvent & OCL::logging::LoggingEvent::operator= | ( | const LoggingEvent & | rhs | ) |
Definition at line 56 of file LoggingEvent.cpp.
log4cpp::LoggingEvent OCL::logging::LoggingEvent::toLog4cpp | ( | ) |
RTT::rt_string OCL::logging::LoggingEvent::categoryName |
Definition at line 33 of file LoggingEvent.hpp.
RTT::rt_string OCL::logging::LoggingEvent::message |
Definition at line 35 of file LoggingEvent.hpp.
log4cpp::Priority::Value OCL::logging::LoggingEvent::priority |
Definition at line 45 of file LoggingEvent.hpp.
char OCL::logging::LoggingEvent::threadName[THREADNAME_SIZE] |
Definition at line 51 of file LoggingEvent.hpp.
|
static |
The maximum size of threadname (bascially - pthread_self() as "%ld") See also log4cpp/src/PThreads.cppgetThreadId()
Definition at line 49 of file LoggingEvent.hpp.
log4cpp::TimeStamp OCL::logging::LoggingEvent::timeStamp |
Definition at line 53 of file LoggingEvent.hpp.