EvolvingObjects
eo::mpi::HandleResponseFunction< JobData > Struct Template Reference

Functor (master side) used to indicate what to do when receiving a response. More...

#include <eoMpi.h>

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

List of all members.

Public Member Functions

 HandleResponseFunction (HandleResponseFunction< JobData > *w=0)

Detailed Description

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

Functor (master side) used to indicate what to do when receiving a response.

The master calls this function as soon as it receives some data, in some channel. Thanks to MPI, we retrieve the rank of the data's sender. This functor is then called with this rank. There is no memoization of a link between sent data and rank, so the user has to implement it, if he needs it.

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

Definition at line 320 of file eoMpi.h.


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