GenerationalFileAppender.hpp
Go to the documentation of this file.
00001 #ifndef GENERATIONALFILEAPPENDER_HPP
00002 #define GENERATIONALFILEAPPENDER_HPP 1
00003 
00004 #include "Appender.hpp"
00005 #include <rtt/Property.hpp>
00006 
00007 namespace OCL {
00008 namespace logging {
00009 
00014 class GenerationalFileAppender : public OCL::logging::Appender
00015 {
00016 public:
00017         GenerationalFileAppender(std::string name);
00018         virtual ~GenerationalFileAppender();
00019 protected:
00021     virtual bool configureHook();
00023         virtual void updateHook();
00025         virtual void cleanupHook();
00026 
00028         RTT::Operation<void(void)>              advanceGeneration_op;
00030         void advanceGeneration();
00031 
00033     RTT::Property<std::string>      filename_prop;
00037     RTT::Property<int>              maxEventsPerCycle_prop;
00038 
00048     int                                                         maxEventsPerCycle;
00049 };
00050 
00051 // namespaces
00052 }
00053 }
00054 
00055 #endif


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