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

Public Types | |
| enum | MessageTag { ProcessTable, EndOfSimulation, EnterBarrier, SiteName, LocalInitSuccessfull, ExitBarrier, SynchronisationMessage, MirrorNeedsInitialValues, InitialValuesForMirror, NameServiceGetId, NameServiceGetString, NameServiceReturnId, NameServiceReturnString, NameServiceVerifyLocalNameServer, NameServiceVerifyResult } |
Public Methods | |
| PsnPvmMessage (int bufid) | |
| constructor | |
| virtual | ~PsnPvmMessage () |
| destructor | |
| virtual int | getSize () const |
| getSize find out the number of bytes used by the buffer | |
Protected Attributes | |
| int | _currentBuffer |
Definition at line 28 of file PsnPvmMessage.h.
|
|
|
constructor
Definition at line 38 of file PsnPvmMessage.cxx.
00038 : 00039 _currentBuffer ( bufid ) 00040 { 00041 00042 } |
|
|
destructor
Definition at line 44 of file PsnPvmMessage.cxx.
00045 {
00046
00047 }
|
|
|
getSize find out the number of bytes used by the buffer
Definition at line 49 of file PsnPvmMessage.cxx. References _currentBuffer. Referenced by PsnPvmOutgoingMessage::insertTimeStamp(), and PsnSvm::processReceivedMessages().
00050 {
00051 int info, bytes, msgtag, tid ;
00052 #ifdef _PVM
00053 info = pvm_bufinfo ( _currentBuffer, &bytes, &msgtag, &tid ) ;
00054 #ifdef _DEBUGPVMMESS
00055 cerr <<"PsnPvmMessage::getSize() of message of tag "<<msgtag<<", of sender"<<tid<<". I'm "<<pvm_mytid()<<endl;
00056 #endif
00057 assert ( info == 0 );
00058 #endif
00059 return bytes ;
00060 }
|
|
|
Definition at line 61 of file PsnPvmMessage.h. Referenced by PsnPvmIncomingMessage::get(), getSize(), PsnPvmIncomingMessage::hasMessage(), PsnPvmIncomingMessage::initialise(), PsnPvmOutgoingMessage::insertTimeStamp(), PsnPvmOutgoingMessage::pack(), PsnPvmOutgoingMessage::PsnPvmOutgoingMessage(), PsnPvmOutgoingMessage::reinitAndRevertPvmContext(), PsnPvmUnicastMessage::send(), PsnPvmMulticastMessage::send(), and PsnPvmOutgoingMessage::~PsnPvmOutgoingMessage(). |
| Documentation generated on Mon Nov 25 15:26:22 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |