OrocosComponentLibrary  2.7.0
ConsoleReporting.hpp
00001 #ifndef ORO_COMP_CONSOLE_REPORTING_HPP
00002 #define ORO_COMP_CONSOLE_REPORTING_HPP
00003 
00004 #include "ReportingComponent.hpp"
00005 #include <iostream>
00006 
00007 #include <ocl/OCL.hpp>
00008 
00009 namespace OCL
00010 {
00014     class ConsoleReporting
00015         : public ReportingComponent
00016     {
00017     protected:
00021         std::ostream& mconsole;
00022 
00023     public:
00027         ConsoleReporting(std::string fr_name = "ReportingComponent", std::ostream& console = std::cerr);
00028 
00029         bool startHook();
00030 
00031         void stopHook();
00032 
00037         bool screenComponent( const std::string& comp);
00038 
00039     };
00040 
00041 }
00042 
00043 #endif