eo::mpi::SendTaskParallelApply< EOT > Class Template Reference

Send task functor implementation for the parallel apply (map) job. More...

#include <eoParallelApply.h>

Inheritance diagram for eo::mpi::SendTaskParallelApply< EOT >:
eo::mpi::SendTaskFunction< ParallelApplyData< EOT > > eoUF< int, void > eo::mpi::SharedDataFunction< ParallelApplyData< EOT >, SendTaskFunction< ParallelApplyData< EOT > > > eoFunctorBase unary_function

List of all members.

Public Member Functions

 SendTaskParallelApply (SendTaskParallelApply< EOT > *w=0)
void operator() (int wrkRank)
 The pure virtual function that needs to be implemented by the subclass.

Detailed Description

template<class EOT>
class eo::mpi::SendTaskParallelApply< EOT >

Send task functor implementation for the parallel apply (map) job.

Master side: Sends a slice of the table to evaluate to the worker.

Implementation details: Finds the next slice of data to send to the worker, sends first the size and then the data, and memorizes that this slice has been distributed to the worker, then updates the next position of element to evaluate.

Definition at line 153 of file eoParallelApply.h.

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