EvolvingObjects
|
Functor (master side) indicating whether the job is done or not. More...
#include <eoMpi.h>
Public Member Functions | |
IsFinishedFunction (IsFinishedFunction< JobData > *w=0) |
Functor (master side) indicating whether the job is done or not.
The master loops on this functor to know when to stop. When this functor returns true, the master will wait for the last responses and properly stops the job. Whenever this functor returns false, the master will send tasks, until this functor returns true.
This is a functor implementing bool operator()(), and also a shared function, containing wrapper on its own type.