cafe::Timer Class Reference
[CAF Environment (Cafe)]

#include <Timer.hpp>

Inheritance diagram for cafe::Timer:

cafe::Controller cafe::Processor List of all members.

Detailed Description

Time the execution of children.

Definition at line 14 of file Timer.hpp.

Public Member Functions

 Timer (const char *name)
 ~Timer ()
bool processEvent (cafe::Event &event)
 Called for every event.

 ClassDef (Timer, 0)

Private Attributes

TStopwatch _timer


Constructor & Destructor Documentation

cafe::Timer::Timer const char *  name  ) 
 

Definition at line 10 of file Timer.cpp.

cafe::Timer::~Timer  ) 
 

Definition at line 15 of file Timer.cpp.

References _timer, cafe::Processor::eventCount(), cafe::Processor::name(), and cafe::Processor::out().


Member Function Documentation

cafe::Timer::ClassDef Timer  ,
 

bool cafe::Timer::processEvent cafe::Event event  )  [virtual]
 

Called for every event.

Reimplemented from cafe::Controller.

Definition at line 23 of file Timer.cpp.

References _timer.


Member Data Documentation

TStopwatch cafe::Timer::_timer [private]
 

Definition at line 20 of file Timer.hpp.

Referenced by processEvent(), and ~Timer().


The documentation for this class was generated from the following files:
Generated on Thu Apr 3 04:14:28 2008 for CAF by doxygen 1.3.4