OMNeT++ Parallel Simulation Support
5.4.1
Main Page
Related Pages
Modules
Classes
Files
File List
cplaceholdermod.h
1
//==========================================================================
2
// CPLACEHOLDERMOD.H - header for
3
//
4
// OMNeT++/OMNEST
5
// Discrete System Simulation in C++
6
//
7
// Author: Andras Varga, 2003
8
// Dept. of Electrical and Computer Systems Engineering,
9
// Monash University, Melbourne, Australia
10
//
11
//==========================================================================
12
13
/*--------------------------------------------------------------*
14
Copyright (C) 1992-2017 Andras Varga
15
Copyright (C) 2006-2017 OpenSim Ltd.
16
17
This file is distributed WITHOUT ANY WARRANTY. See the file
18
`license' for details on this and other legal matters.
19
*--------------------------------------------------------------*/
20
21
#ifndef __OMNETPP_CPLACEHOLDERMOD_H
22
#define __OMNETPP_CPLACEHOLDERMOD_H
23
24
#include "omnetpp/cmodule.h"
25
#include "omnetpp/csimulation.h"
26
27
namespace
omnetpp
{
28
37
class
SIM_API
cPlaceholderModule
:
public
cModule
// so, noncopyable
38
{
39
protected
:
40
// internal: "virtual ctor" for cGate: creates cProxyGate
41
virtual
cGate
*createGateObject(
cGate::Type
type)
override
;
42
43
// placeholder modules have no submodules
44
virtual
void
doBuildInside()
override
{}
45
46
public
:
53
cPlaceholderModule
();
54
58
virtual
~
cPlaceholderModule
();
60
67
virtual
std::string str()
const override
;
69
75
virtual
bool
isPlaceholder
()
const override
{
return
true
;}
76
80
virtual
void
arrived(
cMessage
*msg,
cGate
*ongate,
simtime_t
t)
override
;
81
85
virtual
void
scheduleStart(
simtime_t
t)
override
;
87
};
88
89
90
}
// namespace omnetpp
91
92
93
#endif
94
simtime_t
SimTime simtime_t
omnetpp::cMessage
omnetpp::cGate
omnetpp::cPlaceholderModule
In distributed parallel simulation, modules of the network are distributed across partitions...
Definition:
cplaceholdermod.h:37
omnetpp::cModule
omnetpp
Definition:
cadvlinkdelaylookahead.h:26
omnetpp::cPlaceholderModule::isPlaceholder
virtual bool isPlaceholder() const override
Definition:
cplaceholdermod.h:75
omnetpp::cGate::Type
Type
src
sim
parsim
cplaceholdermod.h
Generated on Fri Jun 29 2018 09:26:20 for OMNeT++ Parallel Simulation Support by
1.8.11