peoSyncIslandMig< TYPESELECT, TYPEREPLACE > Class Template Reference

Specific class for a synchronous migration. More...

#include <peoSyncIslandMig.h>

Inheritance diagram for peoSyncIslandMig< TYPESELECT, TYPEREPLACE >:

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

Public Member Functions

 peoSyncIslandMig (unsigned __frequency, 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.
void notifySending ()
 Function notifySending.
void notifyReceiving ()
 Function notifyReceiving.
void notifySendingSyncReq ()
 notifySendingSyncReq
void notifySynchronized ()
 notifySynchronized

Private Member Functions

void emigrate ()
void immigrate ()

Private Attributes

eoSyncContinue cont
selector< TYPESELECT > & select
replacement< TYPEREPLACE > & replace
Topology & topology
std::queue< TYPEREPLACE > imm
std::queue< TYPESELECT > em
std::queue< Cooperative * > coop_em
sem_t sync
bool explicitPassive
bool standbyMigration
std::vector< Cooperative * > in
std::vector< Cooperative * > out
std::vector< Cooperative * > all
unsigned nbMigrations

Detailed Description

template<class TYPESELECT, class TYPEREPLACE>
class peoSyncIslandMig< TYPESELECT, TYPEREPLACE >

Specific class for a synchronous migration.

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

Definition at line 71 of file peoSyncIslandMig.h.


Constructor & Destructor Documentation

template<class TYPESELECT, class TYPEREPLACE>
peoSyncIslandMig< TYPESELECT, TYPEREPLACE >::peoSyncIslandMig ( unsigned  __frequency,
selector< TYPESELECT > &  __select,
replacement< TYPEREPLACE > &  __replace,
Topology &  __topology 
)

Constructor.

Parameters:
unsigned __frequency
selector <TYPESELECT> & __select
replacement <TYPEREPLACE> & __replace
Topology& __topology

Definition at line 139 of file peoSyncIslandMig.h.

References Topology::add(), and peoSyncIslandMig< TYPESELECT, TYPEREPLACE >::sync.


Member Data Documentation

template<class TYPESELECT, class TYPEREPLACE>
eoSyncContinue peoSyncIslandMig< TYPESELECT, TYPEREPLACE >::cont [private]

Parameters:
eoSyncContinue cont
selector <TYPESELECT> & select
replacement <TYPEREPLACE> & replace
Topology& topology
std :: queue< TYPEREPLACE > imm
std :: queue< TYPESELECT > em
std :: queue< Cooperative* > coop_em
sem_t sync
bool explicitPassive
bool standbyMigration
std :: vector< Cooperative* > in, out, all
unsigned nbMigrations

Definition at line 124 of file peoSyncIslandMig.h.

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


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