00001 #ifndef TESTLOGGINGAVAILABILITY_HPP 00002 #define TESTLOGGINGAVAILABILITY_HPP 1 00003 00004 #include <rtt/TaskContext.hpp> 00005 00006 namespace OCL { 00007 namespace logging { 00008 00009 // forward declare 00010 class Category; 00011 00012 namespace test { 00013 00014 class LoggingAvailability : public RTT::TaskContext 00015 { 00016 public: 00017 LoggingAvailability(std::string name); 00018 virtual ~LoggingAvailability(); 00019 00020 protected: 00021 virtual bool configureHook(); 00022 virtual bool startHook(); 00023 virtual void updateHook(); 00024 virtual void stopHook(); 00025 00026 OCL::logging::Category* logger; 00027 }; 00028 00029 // namespaces 00030 } 00031 } 00032 } 00033 00034 #endif