peoAsyncIslandMig< TYPESELECT, TYPEREPLACE > Class Template Reference

Specific class for a asynchronous migration. More...

#include <peoAsyncIslandMig.h>

Inheritance diagram for peoAsyncIslandMig< TYPESELECT, TYPEREPLACE >:

Cooperative eoUpdater Communicable eoF< void > eoFunctorBase List of all members.

Public Member Functions

 peoAsyncIslandMig (continuator &__cont, selector< TYPESELECT > &__select, replacement< TYPEREPLACE > &__replace, Topology &__topology)
 Constructor.
void operator() ()
 operator
void pack ()
 Function realizing packages.
void unpack ()
 Function reconstituting packages.
void packSynchronizeReq ()
 Function packSynchronizeReq.

Private Member Functions

void emigrate ()
 Function which sends some emigrants.
void immigrate ()
 Function which receives some immigrants.

Private Attributes

continuator & cont
selector< TYPESELECT > & select
replacement< TYPEREPLACE > & replace
Topology & topology
std::queue< TYPEREPLACE > imm
std::queue< TYPESELECT > em
std::queue< Cooperative * > coop_em

Detailed Description

template<class TYPESELECT, class TYPEREPLACE>
class peoAsyncIslandMig< TYPESELECT, TYPEREPLACE >

Specific class for a asynchronous migration.

See also:
Cooperative eoUpdater
Version:
2.0
Date:
january 2008

Definition at line 64 of file peoAsyncIslandMig.h.


Constructor & Destructor Documentation

template<class TYPESELECT, class TYPEREPLACE>
peoAsyncIslandMig< TYPESELECT, TYPEREPLACE >::peoAsyncIslandMig ( continuator &  __cont,
selector< TYPESELECT > &  __select,
replacement< TYPEREPLACE > &  __replace,
Topology &  __topology 
)

Constructor.

Parameters:
continuator & __cont
selector <TYPE> & __select
replacement <TYPE> & __replace
Topology& __topology

Definition at line 114 of file peoAsyncIslandMig.h.

References Topology::add().


Member Data Documentation

template<class TYPESELECT, class TYPEREPLACE>
continuator& peoAsyncIslandMig< TYPESELECT, TYPEREPLACE >::cont [private]

Parameters:
continuator & cont
selector <TYPESELECT> & select
replacement <TYPEREPLACE> & replace
Topology& topology
std :: queue< TYPEREPLACE > imm
std :: queue< TYPESELECT > em
std :: queue< Cooperative* > coop_em

Definition at line 104 of file peoAsyncIslandMig.h.

Referenced by peoAsyncIslandMig< TYPESELECT, TYPEREPLACE >::operator()().


The documentation for this class was generated from the following file:
Generated on Thu Mar 13 15:55:05 2008 for ParadisEO-PEO-ParallelanddistributedEvolvingObjects by  doxygen 1.4.7