OrocosComponentLibrary  2.8.3
OstreamAppender.hpp
1 #ifndef OSTREAMAPPENDER_HPP
2 #define OSTREAMAPPENDER_HPP 1
3 
4 #include "Appender.hpp"
5 #include <rtt/Property.hpp>
6 
7 namespace OCL {
8 namespace logging {
9 
11 {
12 public:
13  OstreamAppender(std::string name);
14  virtual ~OstreamAppender();
15 
16 protected:
18  virtual bool configureHook();
20  virtual void updateHook();
22  virtual void cleanupHook();
23 
27  RTT::Property<int> maxEventsPerCycle_prop;
28 
39 };
40 
41 // namespaces
42 }
43 }
44 
45 #endif
virtual void cleanupHook()
Destroy appender.
RTT::Property< int > maxEventsPerCycle_prop
Property to set maximum number of log events to pop per cycle.
virtual void updateHook()
Process at most one (1) event.
int maxEventsPerCycle
Maximum number of log events to pop per cycle.
The Orocos Component Library.
Definition: Component.hpp:43
virtual bool configureHook()
Create log4cpp appender.