OMKPvmMirrorObjectHandle.h

Go to the documentation of this file.
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 OMKPvmMirrorObjectHandleHEADER
00019 #define OMKPvmMirrorObjectHandleHEADER
00020 
00021 //-----------------------------------------------------------------------------
00022 
00023 #include <OMKMirrorObjectHandle.h>
00024 #include "OMKPvm.h"
00025 namespace OMK
00026 {
00027 //-----------------------------------------------------------------------------
00039 class OMKPVM_API PvmMirrorObjectHandle : public MirrorObjectHandle 
00040 {
00041 public :
00043    PvmMirrorObjectHandle (SimulatedObject & objetSimul) ;
00044 
00045 
00047    virtual ~PvmMirrorObjectHandle() ;
00048 
00050    virtual void linkToNewReferential (Name newProcessName) ;
00051    virtual void setMorphosisPhaseTrue () ;
00055    virtual void registerToReferenceObject (bool needValues) ;
00056  
00057 
00059    virtual void cancelRegistrationToReferenceObject () ;
00060 
00061 
00063    virtual void insertInStream (std::ostream & = std::cout) const ;
00064 
00066    virtual void extract (std::istream & = std::cin) ;
00067 
00068 
00070    virtual void unpack (IncomingSynchronisationMessage & in) ;
00071    
00072 
00074    virtual void receiveEvent (const Event & event) ;
00075 
00076 
00078    virtual void receiveEvent (Event * event) ;
00079 
00080 
00085    virtual void sendEventsForSignal( Event & event , const EventIdentifier & sigId ) ;
00086 
00087 
00092    virtual bool receiveRegistrationForSignal( const EventIdentifier & sigId, 
00093                                               const Name & registrant, 
00094                                               const EventIdentifier & eventId ) ;
00095 
00096 
00100    virtual bool cancelRegistrationForSignal( const EventIdentifier & sigId , 
00101                                              const Name & registrant ) ;
00102    
00103 protected :
00105    virtual void attributeRead () ;
00106 
00108    virtual void sendRequestToReferenceObject (RequestType typeMess);
00109 }; 
00110 
00111 }// namespace OMK
00112 #endif
00113 

logo OpenMask

Documentation generated on Mon Jun 9 11:45:57 2008

Generated with doxygen by Dimitri van Heesch ,   1997-2007