GenerationalFileAppender.hpp
Go to the documentation of this file.
1 #ifndef GENERATIONALFILEAPPENDER_HPP
2 #define GENERATIONALFILEAPPENDER_HPP 1
3 
4 #include "Appender.hpp"
5 #include <rtt/Property.hpp>
6 
7 namespace OCL {
8 namespace logging {
9 
15 {
16 public:
17  GenerationalFileAppender(std::string name);
18  virtual ~GenerationalFileAppender();
19 protected:
21  virtual bool configureHook();
23  virtual void updateHook();
25  virtual void cleanupHook();
26 
30  void advanceGeneration();
31 
38 
49 };
50 
51 // namespaces
52 }
53 }
54 
55 #endif
virtual bool configureHook()
Create log4cpp appender.
virtual void cleanupHook()
Destroy appender.
void advanceGeneration()
Advance to the next logfile generation.
virtual void updateHook()
Process at most maxEventsPerCycle event.
RTT::Property< std::string > filename_prop
Name of file to append to.


ocl
Author(s): OCL Development Team
autogenerated on Mon Mar 23 2020 04:47:19