00001 #ifndef FASTSHOWER_COMPLEXSTATSCOLLECTOR2_H 00002 #define FASTSHOWER_COMPLEXSTATSCOLLECTOR2_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 <string> 00020 #endif 00021 00022 namespace FastShower{ 00027 using std::string; 00028 // using std::ostream; 00029 class IDebug; 00030 class ComplexStatsCollector2: 00031 virtual public IPrintPinger, private PrintPingerBase{ 00032 public: 00033 ComplexStatsCollector2(std::string fName, int indent=0): 00034 PrintPingerBase(indent), m_fName(fName){ 00035 }; 00036 ComplexStatsCollector2(const ComplexStatsCollector2& ); 00037 // PrintPingerBase(indent), m_stream(&std::cout){}; 00038 IPinger* clone() const; 00041 virtual void action(const IDebug*); 00042 private: 00043 std::string m_fName; 00044 }; 00045 } 00046 #endif 00047 00048 00049 00050