LoggingEvent.hpp
Go to the documentation of this file.
00001 #ifndef _LOGGINGEVENT_HPP 
00002 #define _LOGGINGEVENT_HPP 1
00003 
00004 #include <rtt/rt_string.hpp>
00005 #include <log4cpp/LoggingEvent.hh>
00006 
00007 namespace OCL {
00008 namespace logging {
00009 
00011 struct LoggingEvent 
00012 {
00013 public:
00014     LoggingEvent(const RTT::rt_string& category, 
00015                  const RTT::rt_string& message, 
00016                  const RTT::rt_string& ndc, 
00017                  log4cpp::Priority::Value priority);
00019     LoggingEvent();
00020     // copy constructor
00021     LoggingEvent(const LoggingEvent& toCopy);
00022     // assignment operator
00023     const LoggingEvent& operator=(const LoggingEvent& rhs);
00024     ~LoggingEvent();
00025 
00026     /*const */RTT::rt_string       categoryName;
00027 
00028     /*const */RTT::rt_string       message;
00029 
00030     /*const */RTT::rt_string       ndc;
00031 
00032     log4cpp::Priority::Value    priority;
00033 
00034     /*const */RTT::rt_string       threadName;
00035 
00036     log4cpp::TimeStamp          timeStamp;
00037 
00040     log4cpp::LoggingEvent toLog4cpp();
00041 };
00042 
00043 // namespaces
00044 }
00045 }
00046 
00047 #endif
00048 


ocl
Author(s): OCL Development Team
autogenerated on Mon Sep 14 2015 14:21:46