FileAppender.hpp
Go to the documentation of this file.
00001 #ifndef FILEAPPENDER_HPP
00002 #define FILEAPPENDER_HPP 1
00003 
00004 #include "Appender.hpp"
00005 #include <rtt/Property.hpp>
00006 
00007 namespace OCL {
00008 namespace logging {
00009 
00010 class FileAppender : public OCL::logging::Appender
00011 {
00012 public:
00013         FileAppender(std::string name);
00014         virtual ~FileAppender();
00015 protected:
00017     virtual bool configureHook();
00019         virtual void updateHook();
00021         virtual void cleanupHook();
00022     
00024     RTT::Property<std::string>      filename_prop;
00028     RTT::Property<int>              maxEventsPerCycle_prop;
00029 
00039     int                           maxEventsPerCycle;
00040 };
00041 
00042 // namespaces
00043 }
00044 }
00045 
00046 #endif


ocl
Author(s): OCL Development Team
autogenerated on Sat Jun 8 2019 18:48:54