eoTimedMonitor Class Reference

Holds a collection of monitors and only fires them when a time limit has been reached. More...

#include <eoTimedMonitor.h>

Inheritance diagram for eoTimedMonitor:

eoMonitor eoF< eoMonitor & > eoFunctorBase

List of all members.

Public Member Functions

 eoTimedMonitor (unsigned seconds_)
 Constructor.
eoMonitoroperator() (void)
 The pure virtual function that needs to be implemented by the subclass.
void add (eoMonitor &mon)
virtual std::string className (void) const

Private Attributes

clock_t last_tick
unsigned seconds
std::vector< eoMonitor * > monitors


Detailed Description

Holds a collection of monitors and only fires them when a time limit has been reached.

Definition at line 40 of file eoTimedMonitor.h.


Constructor & Destructor Documentation

eoTimedMonitor::eoTimedMonitor ( unsigned  seconds_  )  [inline]

Constructor.

No negative time can be specified, use 0 if you want it to fire "always".

Parameters:
seconds_ Specify time limit (s).

Definition at line 49 of file eoTimedMonitor.h.


The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:51 2009 for EvolvingObjects by  doxygen 1.5.5