#include <ComplexStatsCollector.h>
Inheritance diagram for FastShower::ComplexStatsCollector:
Public Methods | |
ComplexStatsCollector (int indent=0) | |
IPinger * | clone () const |
virtual void | action (const IDebug *) |
the ping methods of the destination class uses this method to print |
|
Definition at line 33 of file ComplexStatsCollector.h. References FastShower::IPrintPinger::indent(). Referenced by clone().
00033 : 00034 PrintPingerBase(indent){}; // PrintPingerBase(indent), m_ostream(&std::cout){}; |
|
Implements FastShower::IPrintPinger. Definition at line 8 of file ComplexStatsCollector.cxx. References ComplexStatsCollector().
00008 { 00009 IPinger* p = new ComplexStatsCollector(*this); 00010 return p; 00011 } |
|
the ping methods of the destination class uses this method to print
Implements FastShower::IPrintPinger. Definition at line 13 of file ComplexStatsCollector.cxx. References FastShower::IDebug::components(), FastShower::IPrintPinger::indent(), FastShower::IFunctionStats::report(), FastShower::IDebug::statistics(), and FastShower::IDebug::text().
00013 { 00014 00015 cout<<indent()<<d->text()<< endl; 00016 d->statistics()->report(cout); 00017 IDebug::Cpts parts; 00018 d->components(parts); 00019 ComplexStatsCollector q(*this); 00020 ++(*this); 00021 std::for_each(parts.begin(), parts.end(), PingEach(*this) ); 00022 (*this)=q; 00023 } |