#include <PsnPvmSvm.h>
Inheritance diagram for PsnPvmSvm:


Public Methods | |
| PsnPvmSvm (PsNameToPointerMap< PsnProcess > *tab, const PsDate &latence, int argc, char *argv[]) | |
| constructor | |
| virtual | ~PsnPvmSvm () |
| destructor | |
Static Public Attributes | |
| int | pvmDataEncoding |
| define the encoding used when sending and receiveing messages | |
| int | pvmSpawnFlags |
| define the flags used when spawning a new task using PVM | |
Protected Methods | |
| virtual void | joinSvmGroup (string &groupName) |
| joinSvmGroup. | |
| virtual void | groupBarrier (string groupName, int numberToJoin) |
| block the calling process until numberToJoin processes of group groupName have called syncDistributedSites | |
| virtual void | broadcastToGroup (string groupName, PsnPvmMessage::MessageTag tag) |
| broadcast an empty tagged message to all members of a broadcast group | |
| virtual int | nonblockingReceive (PsnPvmMessage::MessageTag tag) |
| try and receive message in a non-blocking fashion the received messages are lost | |
| virtual void | initBeforeMessagePacking () |
| do any usefull initialisations before messages are packed | |
| virtual pair< PsnPvmMessage::MessageTag, int > | waitForAnyRequests (PsnPvmIncomingMessage &receiveBuffer) |
| wait for any message sent to this site. | |
| virtual int | getSiteId () |
| get the id in the svm of this site | |
| virtual int | getParentSiteId () |
| get the site id having spanned this process. | |
| virtual void | addNewWorkstation (const PsName &m) |
| add a new machine to the virtual machine | |
| virtual void | removeWorkstation (const PsName &m) |
| remove a work station from the virtual machine | |
| virtual int | spawnProcess (PsnProcess *p) |
| spawn a copy of this proc'ess on another site | |
| virtual PsnSvmLink * | createSvmLink (const int &d) |
| create a link to a distant site | |
Protected Attributes | |
| int | _argc |
| remember the arguments to use when spawning: their number | |
| char ** | _argv |
| remember the arguments to use when spawning: their contents | |
Definition at line 31 of file PsnPvmSvm.h.
|
||||||||||||||||||||
|
constructor
|
|
|
destructor
|
|
|
add a new machine to the virtual machine
Implements PsnSvm. |
|
||||||||||||
|
broadcast an empty tagged message to all members of a broadcast group
Implements PsnSvm. |
|
|
create a link to a distant site
Implements PsnSvm. |
|
|
get the site id having spanned this process.
Implements PsnSvm. |
|
|
get the id in the svm of this site
Implements PsnSvm. |
|
||||||||||||
|
block the calling process until numberToJoin processes of group groupName have called syncDistributedSites
Implements PsnSvm. |
|
|
do any usefull initialisations before messages are packed
Implements PsnSvm. |
|
|
joinSvmGroup. join a group of processes in the siames virtual machine
Implements PsnSvm. |
|
|
try and receive message in a non-blocking fashion the received messages are lost
Implements PsnSvm. |
|
|
remove a work station from the virtual machine
Implements PsnSvm. |
|
|
spawn a copy of this proc'ess on another site
Implements PsnSvm. |
|
|
wait for any message sent to this site. This call is blocking
Implements PsnSvm. |
|
|
remember the arguments to use when spawning: their number
Definition at line 122 of file PsnPvmSvm.h. |
|
|
remember the arguments to use when spawning: their contents
Definition at line 126 of file PsnPvmSvm.h. |
|
|
define the encoding used when sending and receiveing messages
Definition at line 113 of file PsnPvmSvm.h. Referenced by PsnPvmOutgoingMessage::PsnPvmOutgoingMessage(), PsnPvmOutgoingMessage::reinitAndRevertPvmContext(), and PsnSvm::serveNameRequestsUntilEnd(). |
|
|
define the flags used when spawning a new task using PVM
Definition at line 117 of file PsnPvmSvm.h. |
| Documentation generated on Mon Nov 25 15:26:22 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |