00001 #ifndef FASTSHOWER_COMPLEXSTATSCOLLECTOR_H 00002 #define FASTSHOWER_COMPLEXSTATSCOLLECTOR_H 00003 00004 #ifndef FASTSHOWER_IPRINTPINGER_H 00005 #include "FastShowerUtils/Pinger/IPrintPinger.h" 00006 #endif 00007 00008 #ifndef FASTSHOWER_PRINTPINGERBASE_H 00009 #include "FastShowerUtils/Pinger/PrintPingerBase.h" 00010 #endif 00011 00012 #ifndef STD_STRING_H 00013 #define STD_STRING_H 00014 #include <string> 00015 #endif 00016 00017 #ifndef STD_IOSTREAM_H 00018 #define STD_IOSTREAM_H 00019 #include <iostream> 00020 #endif 00021 00022 namespace FastShower{ 00027 using std::string; 00028 // using std::ostream; 00029 class IDebug; 00030 class ComplexStatsCollector: 00031 virtual public IPrintPinger, private PrintPingerBase{ 00032 public: 00033 ComplexStatsCollector(int indent=0): 00034 PrintPingerBase(indent){}; 00035 // PrintPingerBase(indent), m_ostream(&std::cout){}; 00036 IPinger* clone() const; 00039 virtual void action(const IDebug*); 00040 private: 00041 // ostream* m_ostream; 00042 }; 00043 } 00044 #endif 00045 00046 00047