00001 /* 00002 * This file is part of openMask © INRIA, CNRS, Universite de Rennes 1 1993-2002, thereinafter the Software 00003 * 00004 * The Software has been developped within the Siames Project. 00005 * INRIA, the University of Rennes 1 and CNRS jointly hold intellectual property rights 00006 * 00007 * The Software has been registered with the Agence pour la Protection des 00008 * Programmes (APP) under registration number IDDN.FR.001.510008.00.S.P.2001.000.41200 00009 * 00010 * This file may be distributed under the terms of the Q Public License 00011 * version 1.0 as defined by Trolltech AS of Norway and appearing in the file 00012 * LICENSE.QPL included in the packaging of this file. 00013 * 00014 * Licensees holding valid specific licenses issued by INRIA, CNRS or Université de Rennes 1 00015 * for the software may use this file in accordance with that specific license 00016 * 00017 */ 00018 #ifndef PsnPvmSvmLinkHEADER 00019 #define PsnPvmSvmLinkHEADER 00020 00021 #include <Psn.h> 00022 #include <PsnSvmLink.h> 00023 #include "PsnPvmUnicastMessage.h" 00024 00029 class PsnPvmSvmLink : public PsnSvmLink 00030 { 00031 public: 00033 PsnPvmSvmLink(int td); 00034 00035 00037 virtual ~PsnPvmSvmLink (); 00038 00039 00044 virtual void send(PsnPvmOutgoingMessage & m, PsnPvmMessage::MessageTag tag); 00045 00046 00050 PsnPvmIncomingMessage & waitForMessage(PsnPvmMessage::MessageTag tag); 00051 00052 00057 PsnPvmIncomingMessage * testForMessage(PsnPvmMessage::MessageTag tag); 00058 00059 00064 virtual PsnPvmMessage::MessageTag testForAnyMessage (PsnPvmIncomingMessage & receiveBuffer ) ; 00065 00066 00068 virtual void unpack (PsIncomingSynchronisationMessage &) ; 00069 00070 00072 virtual void pack (PsOutgoingSynchronisationMessage &) const ; 00073 00074 00076 virtual PsnPvmOutgoingMessage & getOutgoingBuffer() ; 00077 00078 00082 void sendOutgoingBuffer( PsnPvmMessage::MessageTag tag ); 00083 00084 00086 int getTID(); 00087 00088 void printDebuggingInformation(); 00089 00090 protected: 00091 00093 PsnPvmUnicastMessage _outgoingBuffer ; 00094 00096 PsnPvmIncomingMessage _incomingBuffer ; 00097 00099 int _distantSiteId ; 00100 00101 }; // PsnPvmSvmLink 00102 00103 #endif
| Documentation generated on Mon Nov 25 15:25:01 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |