Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::SimpleStatsCollector Class Reference

#include <SimpleStatsCollector.h>

Inheritance diagram for FastShower::SimpleStatsCollector:

Inheritance graph
[legend]
Collaboration diagram for FastShower::SimpleStatsCollector:

Collaboration graph
[legend]
List of all members.

Public Methods

 SimpleStatsCollector (int indent=0)
IPingerclone () const
virtual void action (const IDebug *)
 the ping methods of the destination class uses this method to print


Constructor & Destructor Documentation

FastShower::SimpleStatsCollector::SimpleStatsCollector int    indent = 0 [inline]
 

Definition at line 27 of file SimpleStatsCollector.h.

References FastShower::IPrintPinger::indent().

Referenced by clone().


Member Function Documentation

IPinger * FastShower::SimpleStatsCollector::clone   const [virtual]
 

Implements FastShower::IPrintPinger.

Definition at line 6 of file SimpleStatsCollector.cxx.

References SimpleStatsCollector().

00006                                              {
00007     IPinger* p = new SimpleStatsCollector(*this);
00008     return p;
00009   }

void FastShower::SimpleStatsCollector::action const IDebug   [virtual]
 

the ping methods of the destination class uses this method to print

Implements FastShower::IPrintPinger.

Definition at line 11 of file SimpleStatsCollector.cxx.

References FastShower::IFunctionStats::header(), FastShower::IPrintPinger::indent(), FastShower::IDebug::name(), FastShower::IFunctionStats::report(), and FastShower::IDebug::statistics().

00011                                                   {
00012     
00013     cout<<indent()<<d->name()<<" Statistics"<< endl;
00014     d->statistics()->header(cout);
00015     d->statistics()->report(cout);
00016     cout<<indent()<<d->statistics()<< endl;
00017   }

The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:56:49 2003 for FastShowerUtils by doxygen1.3-rc1