eo::mpi::SendTaskFunction< JobData > Struct Template Reference

Functor (master side) used to send a task to the worker. More...

#include <eoMpi.h>

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

List of all members.

Public Member Functions

 SendTaskFunction (SendTaskFunction< JobData > *w=0)

Detailed Description

template<typename JobData>
struct eo::mpi::SendTaskFunction< JobData >

Functor (master side) used to send a task to the worker.

The user doesn't have to know which worker will receive a task, so we just indicate to master the rank of the worker. The data used for computation have to be explicitly sent by the master to the worker, with indicated rank. Once this functor has been called, the worker is considered busy until it sends a return message to the master.

This is a functor implementing void operator()(int), and also a shared data function, containing wrapper on its own type.

Definition at line 295 of file eoMpi.h.

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