FileAppender.hpp
Go to the documentation of this file.
1 #ifndef FILEAPPENDER_HPP
2 #define FILEAPPENDER_HPP 1
3 
4 #include "Appender.hpp"
5 #include <rtt/Property.hpp>
6 
7 namespace OCL {
8 namespace logging {
9 
11 {
12 public:
13  FileAppender(std::string name);
14  virtual ~FileAppender();
15 protected:
17  virtual bool configureHook();
19  virtual void updateHook();
21  virtual void cleanupHook();
22 
29 
40 };
41 
42 // namespaces
43 }
44 }
45 
46 #endif
RTT::Property< std::string > filename_prop
Name of file to append to.
virtual bool configureHook()
Create log4cpp appender.
RTT::Property< int > maxEventsPerCycle_prop
FileAppender(std::string name)
virtual void cleanupHook()
Destroy appender.
virtual void updateHook()
Process at most maxEventsPerCycle event.


ocl
Author(s): OCL Development Team
autogenerated on Wed Jun 26 2019 19:26:27