# cplaceholdermod.h

    00001 //==========================================================================
    00002 //   CPLACEHOLDERMOD.H  -  header for
    00003 //                     OMNeT++/OMNEST
    00004 //            Discrete System Simulation in C++
    00005 //
    00006 //==========================================================================
    00007
    00008 /*--------------------------------------------------------------*
    00009   Copyright (C) 1992-2005 Andras Varga
    00010
    00011   This file is distributed WITHOUT ANY WARRANTY. See the file
    00012   `license' for details on this and other legal matters.
    00013 *--------------------------------------------------------------*/
    00014
    00015 #ifndef __CPLACEHOLDERMOD_H
    00016 #define __CPLACEHOLDERMOD_H
    00017
    00018 #include "cmodule.h"
    00019 #include "csimul.h"
    00020
    00029 class SIM_API cPlaceHolderModule : public cModule
    00030 {
    00031   protected:
    00032     // internal: "virtual ctor" for cGate: creates cProxyGate
    00033     virtual cGate *createGateObject(const char *gname, char tp);
    00034
    00035   public:
    00038
    00042     cPlaceHolderModule(const cPlaceHolderModule& mod);
    00043
    00048     cPlaceHolderModule();
    00049
    00053     virtual ~cPlaceHolderModule();
    00054
    00058     cPlaceHolderModule& operator=(const cPlaceHolderModule& mod);
    00060
    00063
    00068     virtual cPolymorphic *dup() const   {return new cPlaceHolderModule(*this);}
    00070
    00073
    00077     virtual void arrived(cMessage *msg,int n,simtime_t t);
    00078
    00082     virtual bool callInitialize(int stage);
    00083
    00087     virtual void callFinish();
    00088
    00092     virtual void scheduleStart(simtime_t t);
    00094 };
    00095
    00096
    00097 #endif
    00098