OrocosComponentLibrary  2.7.0
OstreamAppender.hpp
00001 #ifndef OSTREAMAPPENDER_HPP
00002 #define OSTREAMAPPENDER_HPP 1
00003 
00004 #include "Appender.hpp"
00005 #include <rtt/Property.hpp>
00006 
00007 namespace OCL {
00008 namespace logging {
00009 
00010 class OstreamAppender : public OCL::logging::Appender
00011 {
00012 public:
00013     OstreamAppender(std::string name);
00014     virtual ~OstreamAppender();
00015 
00016 protected:
00018     virtual bool configureHook();
00020     virtual void updateHook();
00022     virtual void cleanupHook();
00023 
00027     RTT::Property<int>              maxEventsPerCycle_prop;
00028 
00038     int                           maxEventsPerCycle;
00039 };
00040 
00041 // namespaces
00042 }
00043 }
00044 
00045 #endif