ccompoundmodule.h

00001 //==========================================================================
00002 //   CCOMPOUNDMODULE.H  -  header for
00003 //                     OMNeT++/OMNEST
00004 //            Discrete System Simulation in C++
00005 //
00006 //==========================================================================
00007 
00008 /*--------------------------------------------------------------*
00009   Copyright (C) 1992-2008 Andras Varga
00010   Copyright (C) 2006-2008 OpenSim Ltd.
00011 
00012   This file is distributed WITHOUT ANY WARRANTY. See the file
00013   `license' for details on this and other legal matters.
00014 *--------------------------------------------------------------*/
00015 
00016 #ifndef __CCOMPOUNDMODULE_H
00017 #define __CCOMPOUNDMODULE_H
00018 
00019 #include "cmodule.h"
00020 
00021 NAMESPACE_BEGIN
00022 
00023 
00029 class SIM_API cCompoundModule : public cModule //implies noncopyable
00030 {
00031     friend class TCompoundModInspector;
00032 
00033   protected:
00034     // overridden to delegate job to cModuleType
00035     virtual void doBuildInside();
00036 
00037     // internal use
00038     virtual void arrived(cMessage *msg, cGate *ongate, simtime_t t);
00039 
00040   public:
00047     cCompoundModule();
00048 
00052     virtual ~cCompoundModule();
00054 
00061     virtual std::string info() const;
00063 
00066 
00071     virtual void scheduleStart(simtime_t t);
00073 };
00074 
00075 NAMESPACE_END
00076 
00077 
00078 #endif
00079 

Generated on Wed Apr 3 14:40:27 2013 for OMNeT++ Simulation Library by  doxygen 1.5.5