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 protected: 00016 virtual bool configureHook(); 00017 virtual void updateHook(); 00018 virtual void cleanupHook(); 00019 00023 RTT::Property<int> maxEventsPerCycle_prop; 00024 00034 int maxEventsPerCycle; 00035 }; 00036 00037 // namespaces 00038 } 00039 } 00040 00041 #endif