1 #ifndef GENERATIONALFILEAPPENDER_HPP 2 #define GENERATIONALFILEAPPENDER_HPP 1 4 #include "Appender.hpp" 5 #include <rtt/Property.hpp> void advanceGeneration()
Advance to the next logfile generation.
virtual void updateHook()
Process at most maxEventsPerCycle event.
virtual bool configureHook()
Create log4cpp appender.
The Orocos Component Library.
virtual void cleanupHook()
Destroy appender.
int maxEventsPerCycle
Maximum number of log events to pop per cycle.
RTT::Property< int > maxEventsPerCycle_prop
Property to set maximum number of log events to pop per cycle.
RTT::Property< std::string > filename_prop
Name of file to append to.
Appender supporting generations of log files.
RTT::Operation< void(void)> advanceGeneration_op