EvolvingObjects
|
Functor (master side) used to indicate what to do when receiving a response. More...
#include <eoMpi.h>
Public Member Functions | |
HandleResponseFunction (HandleResponseFunction< JobData > *w=0) |
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.