#include <ComplexPinger.h>
Inheritance diagram for FastShower::ComplexPinger:
Public Methods | |
ComplexPinger (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 26 of file ComplexPinger.h. References FastShower::IPrintPinger::indent(). Referenced by clone().
00026 :PrintPingerBase(indent){}; |
|
Implements FastShower::IPrintPinger. Definition at line 6 of file ComplexPinger.cxx. References ComplexPinger().
00006 { 00007 IPinger* p = new ComplexPinger(*this); 00008 return p; 00009 } |
|
the ping methods of the destination class uses this method to print
Implements FastShower::IPrintPinger. Definition at line 11 of file ComplexPinger.cxx. References FastShower::IDebug::components(), FastShower::IPrintPinger::indent(), and FastShower::IDebug::name().
00011 { 00012 cout<<indent()<<d->name()<< endl; 00013 IDebug::Cpts parts; 00014 d->components(parts); 00015 ComplexPinger q(*this); 00016 ++(*this); 00017 std::for_each(parts.begin(), parts.end(), PingEach(*this) ); 00018 (*this)=q; 00019 } |