#include <ComplexStatsCollector2.h>
Inheritance diagram for FastShower::ComplexStatsCollector2:
Public Methods | |
ComplexStatsCollector2 (std::string fName, int indent=0) | |
ComplexStatsCollector2 (const ComplexStatsCollector2 &) | |
the ping methods of the destination class uses this method to print | |
IPinger * | clone () const |
virtual void | action (const IDebug *) |
the ping methods of the destination class uses this method to print | |
Private Attributes | |
std::string | m_fName |
|
Definition at line 33 of file ComplexStatsCollector2.h. References FastShower::IPrintPinger::indent(), and m_fName. Referenced by clone().
00033 : 00034 PrintPingerBase(indent), m_fName(fName){ 00035 }; ComplexStatsCollector2(const ComplexStatsCollector2& ); |
|
the ping methods of the destination class uses this method to print
Definition at line 13 of file ComplexStatsCollector2.cxx. References m_fName.
00014 : 00015 PrintPingerBase(rhs){ 00016 m_fName = rhs.m_fName; 00017 } void ComplexStatsCollector2::action(const IDebug* d){ |
|
Implements FastShower::IPrintPinger. Definition at line 8 of file ComplexStatsCollector2.cxx. References ComplexStatsCollector2().
00008 { 00009 IPinger* p = new ComplexStatsCollector2(*this); 00010 return p; 00011 } |
|
the ping methods of the destination class uses this method to print
Implements FastShower::IPrintPinger. Definition at line 18 of file ComplexStatsCollector2.cxx. References FastShower::IDebug::components(), FastShower::IPrintPinger::indent(), m_fName, FastShower::IFunctionStats::report(), FastShower::IDebug::statistics(), and FastShower::IDebug::text().
00018 { 00019 00020 std::fstream ofile; 00021 ofile.open(m_fName.c_str(), ios::out | ios::app); 00022 ofile<<indent()<<d->text()<< endl; 00023 d->statistics()->report(ofile); 00024 ofile.close(); 00025 00026 IDebug::Cpts parts; 00027 d->components(parts); 00028 ComplexStatsCollector2 q(*this); 00029 ++(*this); 00030 std::for_each(parts.begin(), parts.end(), PingEach(*this) ); 00031 (*this)=q; 00032 } |
|
Definition at line 43 of file ComplexStatsCollector2.h. Referenced by action(), and ComplexStatsCollector2(). |