EvolvingObjects
eoTimeContinue< EOT > Class Template Reference

Termination condition until a running time is reached. More...

#include <eoTimeContinue.h>

Inheritance diagram for eoTimeContinue< EOT >:
eoContinue< EOT > eoUF< const eoPop< EOT > &, bool > eoPersistent eoFunctorBase unary_function eoPrintable

List of all members.

Public Member Functions

 eoTimeContinue (time_t _max)
 Ctor.
virtual bool operator() (const eoPop< EOT > &_pop)
 Returns false when the running time is reached.
virtual std::string className (void) const
 Class name.

Private Attributes

time_t max
 maximum running time
time_t start
 starting time

Detailed Description

template<class EOT>
class eoTimeContinue< EOT >

Termination condition until a running time is reached.

Definition at line 39 of file eoTimeContinue.h.


Constructor & Destructor Documentation

template<class EOT >
eoTimeContinue< EOT >::eoTimeContinue ( time_t  _max) [inline]

Ctor.

Parameters:
_maxmaximum running time

Definition at line 47 of file eoTimeContinue.h.

References eoTimeContinue< EOT >::start.


Member Function Documentation

template<class EOT >
virtual bool eoTimeContinue< EOT >::operator() ( const eoPop< EOT > &  _pop) [inline, virtual]

Returns false when the running time is reached.

Parameters:
_popthe population

Implements eoUF< const eoPop< EOT > &, bool >.

Definition at line 57 of file eoTimeContinue.h.

References eoTimeContinue< EOT >::max, and eoTimeContinue< EOT >::start.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends