OMNeT++ API 6.1
Discrete Event Simulation Library
cmodelchange.h
1 //==========================================================================
2 // CMODELCHANGE.H - part of
3 // OMNeT++/OMNEST
4 // Discrete System Simulation in C++
5 //
6 //==========================================================================
7 
8 /*--------------------------------------------------------------*
9  Copyright (C) 1992-2017 Andras Varga
10  Copyright (C) 2006-2017 OpenSim Ltd.
11 
12  This file is distributed WITHOUT ANY WARRANTY. See the file
13  `license' for details on this and other legal matters.
14 *--------------------------------------------------------------*/
15 
16 #ifndef __OMNETPP_CMODELCHANGE_H
17 #define __OMNETPP_CMODELCHANGE_H
18 
19 #include "cobject.h"
20 
21 namespace omnetpp {
22 
56 SIM_API extern simsignal_t PRE_MODEL_CHANGE;
57 
92 SIM_API extern simsignal_t POST_MODEL_CHANGE;
93 
101 {
102 };
103 
116 {
117  public:
120 };
121 
136 {
137  public:
139 };
140 
154 {
155  public:
157 };
158 
171 {
172  public:
174 };
175 
190 {
191  public:
193 };
194 
210 {
211  public:
213  int moduleId;
215  const char *moduleName;
218  int index;
219 };
220 
232 {
233  public:
236 };
237 
248 {
249  public:
252 };
253 
273 {
274  public:
276  const char *gateName;
278  bool isVector;
279  int size;
280 };
281 
301 {
302  public:
304  const char *gateName;
305 };
306 
323 {
324  public:
326  const char *gateName;
327 };
328 
347 {
348  public:
350  const char *gateName;
352  bool isVector;
354 };
355 
369 {
370  public:
372  const char *gateName;
373  int newSize;
374 };
375 
389 {
390  public:
392  const char *gateName;
393  int oldSize;
394 };
395 
410 {
411  public:
415 };
416 
434 {
435  public:
437 };
438 
456 {
457  public:
459 };
460 
476 {
477  public:
481 };
482 
503 {
504  public:
508 };
509 
523 
537 
551 
565 
577 {
578  public:
580 };
581 
593 {
594  public:
596 };
597 
608 {
609  public:
611 };
612 
623 {
624  public:
626 };
627 
628 } // namespace omnetpp
629 
630 #endif
631 
omnetpp::cModule
This class represents modules in the simulation.
Definition: cmodule.h:48
omnetpp::cPostGateDisconnectNotification::targetGate
cGate * targetGate
The gate to which it was connected.
Definition: cmodelchange.h:479
omnetpp::cPostParameterChangeNotification
Model change notification fired after a parameter change.
Definition: cmodelchange.h:592
omnetpp::cPostModuleDeleteNotification::moduleId
int moduleId
The ID of the deleted module.
Definition: cmodelchange.h:213
omnetpp::simsignal_t
int simsignal_t
Signal handle.
Definition: clistener.h:27
omnetpp::cPostGateConnectNotification::gate
cGate * gate
The gate that has been connected.
Definition: cmodelchange.h:436
omnetpp::cPreModuleReparentNotification::newParentModule
cModule * newParentModule
The new parent for the module.
Definition: cmodelchange.h:235
omnetpp::cPreGateConnectNotification
Model change notification fired just before a gate is connected.
Definition: cmodelchange.h:409
omnetpp::cObject
cObject is a lightweight class which serves as the root of the OMNeT++ class hierarchy....
Definition: cobject.h:92
omnetpp::cPostModuleAddNotification
Model change notification fired just after a module is inserted into the network.
Definition: cmodelchange.h:135
omnetpp::cPathChangeNotification::pathEndGate
cGate * pathEndGate
The end gate of the path.
Definition: cmodelchange.h:506
omnetpp::cPreGateDeleteNotification::gateName
const char * gateName
Name of the gate or gate vector.
Definition: cmodelchange.h:326
omnetpp::cPostModuleDeleteNotification
Model change notification fired after a module has been deleted.
Definition: cmodelchange.h:209
omnetpp::cPostModuleReparentNotification::oldParentModule
cModule * oldParentModule
The old parent for the module.
Definition: cmodelchange.h:251
omnetpp::cPreModuleDeleteNotification
Model change notification fired just before a module is deleted.
Definition: cmodelchange.h:189
omnetpp::cPostGateDeleteNotification
Model change notification fired after a gate has been deleted.
Definition: cmodelchange.h:346
omnetpp::cPreGateConnectNotification::channel
cChannel * channel
The channel object to be associated with the connection.
Definition: cmodelchange.h:414
omnetpp::noncopyable
Utility class, to make it impossible to call the operator= and copy constructor of any class derived ...
Definition: cobject.h:415
omnetpp::cPreModuleReparentNotification
Model change notification fired just before a module is reparented.
Definition: cmodelchange.h:231
omnetpp::cPreModuleDeleteNotification::module
cModule * module
The module that is about to be deleted.
Definition: cmodelchange.h:192
omnetpp::cPostModuleDeleteNotification::moduleName
const char * moduleName
Name of the deleted module.
Definition: cmodelchange.h:215
omnetpp::cPostGateDeleteNotification::isVector
bool isVector
Name of the gate vector that was deleted.
Definition: cmodelchange.h:352
omnetpp::cPostModuleDeleteNotification::parentModule
cModule * parentModule
Parent module of the deleted module.
Definition: cmodelchange.h:216
omnetpp::cPostGateAddNotification::module
cModule * module
The module to which the new gate or gate vector was added.
Definition: cmodelchange.h:303
omnetpp::cPostGateConnectNotification
Model change notification fired after a gate has been connected.
Definition: cmodelchange.h:433
omnetpp::cPathChangeNotification
Base class for path change notifications.
Definition: cmodelchange.h:502
omnetpp::cGate::Type
Type
Definition: cgate.h:72
omnetpp::cPostModuleDeleteNotification::module
cModule * module
Pointer of the deleted module. The module object has already been deleted at this point,...
Definition: cmodelchange.h:212
omnetpp::cChannel
Base class for channels.
Definition: cchannel.h:46
omnetpp::cPostModuleAddNotification::module
cModule * module
The new module.
Definition: cmodelchange.h:138
omnetpp::cModuleType
Abstract class for creating a module of a specific type.
Definition: ccomponenttype.h:206
omnetpp::cPostModuleBuildNotification
Model change notification fired after a module is built.
Definition: cmodelchange.h:153
omnetpp::cPostGateDisconnectNotification::gate
cGate * gate
The gate that has been disconnected.
Definition: cmodelchange.h:478
omnetpp::cPreModuleAddNotification::parentModule
cModule * parentModule
Parent module it is being inserted into.
Definition: cmodelchange.h:119
omnetpp::cPostPathCreateNotification
Model change notification fired after a connection path has been created.
Definition: cmodelchange.h:536
omnetpp::cPostGateDeleteNotification::gateName
const char * gateName
Name of the gate or gate vector.
Definition: cmodelchange.h:350
omnetpp::cPreGateAddNotification
Model change notification fired just before a gate or gate vector is added to the module.
Definition: cmodelchange.h:272
omnetpp::cPostDisplayStringChangeNotification::displayString
cDisplayString * displayString
The display string that was updated.
Definition: cmodelchange.h:625
omnetpp::cPostModuleReparentNotification::module
cModule * module
The reparented module.
Definition: cmodelchange.h:250
omnetpp::cPostDisplayStringChangeNotification
Model change notification fired after a dispay string change.
Definition: cmodelchange.h:622
omnetpp::cPostModuleBuildNotification::module
cModule * module
The module.
Definition: cmodelchange.h:156
omnetpp::cPostGateVectorResizeNotification::oldSize
int oldSize
The old size of the gate vector.
Definition: cmodelchange.h:393
omnetpp::cPreGateAddNotification::isVector
bool isVector
Whether a new gate or a gate vector will be added.
Definition: cmodelchange.h:278
omnetpp::cPreGateVectorResizeNotification::module
cModule * module
The module of the gate vector.
Definition: cmodelchange.h:371
omnetpp::cPostGateVectorResizeNotification::gateName
const char * gateName
The name of the gate vector.
Definition: cmodelchange.h:392
omnetpp::cGate
Represents a module gate.
Definition: cgate.h:62
omnetpp::cPreGateAddNotification::gateName
const char * gateName
Name of the new gate or gate vector.
Definition: cmodelchange.h:276
omnetpp::cPostGateVectorResizeNotification::module
cModule * module
The module of the gate vector.
Definition: cmodelchange.h:391
omnetpp::cPreGateVectorResizeNotification::gateName
const char * gateName
The name of the gate vector.
Definition: cmodelchange.h:372
omnetpp::cPreGateDisconnectNotification
Model change notification fired just before a gate has been disconnected.
Definition: cmodelchange.h:455
omnetpp::cPar
Represents a module or channel parameter.
Definition: cpar.h:70
omnetpp::cPathChangeNotification::changedGate
cGate * changedGate
The gate whose connection has changed.
Definition: cmodelchange.h:507
omnetpp::cPathChangeNotification::pathStartGate
cGate * pathStartGate
The start gate of the path.
Definition: cmodelchange.h:505
omnetpp::cPostModuleReparentNotification
Model change notification fired after a module has been reparented.
Definition: cmodelchange.h:247
omnetpp::cPreGateDeleteNotification
Model change notification fired just before a gate is deleted.
Definition: cmodelchange.h:322
omnetpp::cPreParameterChangeNotification::par
cPar * par
The module parameter that is about to be changed.
Definition: cmodelchange.h:579
omnetpp::cPreGateVectorResizeNotification::newSize
int newSize
The new size of the gate vector.
Definition: cmodelchange.h:373
omnetpp::cPreGateConnectNotification::gate
cGate * gate
The gate that is about to be connected.
Definition: cmodelchange.h:412
omnetpp::cPostGateAddNotification
Model change notification fired after a gate or gate vector has been added to the module.
Definition: cmodelchange.h:300
omnetpp::cPostGateAddNotification::gateName
const char * gateName
Name of the new gate or gate vector.
Definition: cmodelchange.h:304
omnetpp::cPostGateDeleteNotification::vectorSize
int vectorSize
If a gate vector was deleted: size of the vector.
Definition: cmodelchange.h:353
omnetpp::cPreModuleAddNotification::module
cModule * module
The new module.
Definition: cmodelchange.h:118
omnetpp::cPostGateDeleteNotification::module
cModule * module
Parent of the gate or gate vector.
Definition: cmodelchange.h:349
omnetpp::cPreGateDisconnectNotification::gate
cGate * gate
The gate that is about to be disconnected.
Definition: cmodelchange.h:458
omnetpp::cPostGateDisconnectNotification
Model change notification fired after a gate is disconnected.
Definition: cmodelchange.h:475
omnetpp::cPreModuleReparentNotification::module
cModule * module
The module which is about to be reparented.
Definition: cmodelchange.h:234
omnetpp::cPostGateDisconnectNotification::channel
cChannel * channel
The channel object associated with the link; it points to valid object that will be deleted once the ...
Definition: cmodelchange.h:480
omnetpp::cComponent
Common base for module and channel classes.
Definition: ccomponent.h:49
omnetpp::cPreGateConnectNotification::targetGate
cGate * targetGate
The gate it will be connected to.
Definition: cmodelchange.h:413
omnetpp::cPreGateAddNotification::gateType
cGate::Type gateType
Type of the new gate or gate vector (INPUT, OUTPUT or INOUT)
Definition: cmodelchange.h:277
omnetpp::cPreGateDeleteNotification::module
cModule * module
Parent of the gate or gate vector.
Definition: cmodelchange.h:325
omnetpp::cPreGateAddNotification::module
cModule * module
The module to which the new gate or gate vector will be added.
Definition: cmodelchange.h:275
omnetpp::cPrePathCutNotification
Model change notification fired just before a connection path is cut.
Definition: cmodelchange.h:550
omnetpp::cPostGateDeleteNotification::gateType
cGate::Type gateType
Type of the gate or gate vector.
Definition: cmodelchange.h:351
omnetpp::PRE_MODEL_CHANGE
SIM_API simsignal_t PRE_MODEL_CHANGE
A signal which is fired before simulation model changes such as module creation or connection creatio...
omnetpp::cPostComponentInitializeNotification::component
cComponent * component
The component which was initialized.
Definition: cmodelchange.h:173
omnetpp::cPostModuleDeleteNotification::vectorSize
int vectorSize
Size of the module vector that contained the deleted module; -1 if not a vector.
Definition: cmodelchange.h:217
omnetpp::cPostParameterChangeNotification::par
cPar * par
The module parameter that has changed.
Definition: cmodelchange.h:595
omnetpp::cPreGateAddNotification::size
int size
If isVector=true: The gate vector size.
Definition: cmodelchange.h:279
omnetpp::cPostModuleDeleteNotification::moduleType
cModuleType * moduleType
Type of the deleted module.
Definition: cmodelchange.h:214
omnetpp::cPreParameterChangeNotification
Model change notification fired just before a parameter change.
Definition: cmodelchange.h:576
omnetpp::cPostPathCutNotification
Model change notification fired after a connection path has been cut.
Definition: cmodelchange.h:564
omnetpp::cPostModuleDeleteNotification::index
int index
Index of the deleted in its vector; -1 if not part of a module vector.
Definition: cmodelchange.h:218
omnetpp::cPreGateVectorResizeNotification
Model change notification fired just before a gate vector is resized.
Definition: cmodelchange.h:368
omnetpp::cPreDisplayStringChangeNotification::displayString
cDisplayString * displayString
The display string that is about to be updated.
Definition: cmodelchange.h:610
omnetpp::cDisplayString
Represents a display string.
Definition: cdisplaystring.h:67
omnetpp::POST_MODEL_CHANGE
SIM_API simsignal_t POST_MODEL_CHANGE
A signal which is fired after simulation model changes such as module creation or connection creation...
omnetpp::cPreModuleAddNotification
Model change notification fired just before a module is inserted into the network.
Definition: cmodelchange.h:115
omnetpp::cPostComponentInitializeNotification
Model change notification fired after a component is initialized.
Definition: cmodelchange.h:170
omnetpp::cPreDisplayStringChangeNotification
Model change notification fired just before a display string change.
Definition: cmodelchange.h:607
omnetpp::cPostGateVectorResizeNotification
Model change notification fired after a gate vector has been resized.
Definition: cmodelchange.h:388
omnetpp::cModelChangeNotification
Common base class for data objects that accompany PRE_MODEL_CHANGE and POST_MODEL_CHANGE signals.
Definition: cmodelchange.h:100
omnetpp::cPrePathCreateNotification
Model change notification fired just before a connection path is created.
Definition: cmodelchange.h:522