cmodelchange.h Source File¶
|
API
|
cmodelchange.h
Common base class for data objects that accompany PRE_MODEL_CHANGE and POST_MODEL_CHANGE signals.
Definition cmodelchange.h:101
Abstract class for creating a module of a specific type.
Definition ccomponenttype.h:212
Base class for path change notifications.
Definition cmodelchange.h:503
cGate * pathEndGate
The end gate of the path.
Definition cmodelchange.h:506
cGate * pathStartGate
The start gate of the path.
Definition cmodelchange.h:505
cGate * changedGate
The gate whose connection has changed.
Definition cmodelchange.h:507
Model change notification fired after a component is initialized.
Definition cmodelchange.h:171
cComponent * component
The component which was initialized.
Definition cmodelchange.h:173
Model change notification fired after a dispay string change.
Definition cmodelchange.h:623
cDisplayString * displayString
The display string that was updated.
Definition cmodelchange.h:625
Model change notification fired after a gate or gate vector has been added to the module.
Definition cmodelchange.h:301
cModule * module
The module to which the new gate or gate vector was added.
Definition cmodelchange.h:303
const char * gateName
Name of the new gate or gate vector.
Definition cmodelchange.h:304
Model change notification fired after a gate has been connected.
Definition cmodelchange.h:434
cGate * gate
The gate that has been connected.
Definition cmodelchange.h:436
Model change notification fired after a gate has been deleted.
Definition cmodelchange.h:347
cModule * module
Parent of the gate or gate vector.
Definition cmodelchange.h:349
cGate::Type gateType
Type of the gate or gate vector.
Definition cmodelchange.h:351
const char * gateName
Name of the gate or gate vector.
Definition cmodelchange.h:350
int vectorSize
If a gate vector was deleted: size of the vector.
Definition cmodelchange.h:353
bool isVector
Name of the gate vector that was deleted.
Definition cmodelchange.h:352
Model change notification fired after a gate is disconnected.
Definition cmodelchange.h:476
cGate * targetGate
The gate to which it was connected.
Definition cmodelchange.h:479
cGate * gate
The gate that has been disconnected.
Definition cmodelchange.h:478
cChannel * channel
The channel object associated with the link; it points to valid object that will be deleted once the ...
Definition cmodelchange.h:480
Model change notification fired after a gate vector has been resized.
Definition cmodelchange.h:389
cModule * module
The module of the gate vector.
Definition cmodelchange.h:391
int oldSize
The old size of the gate vector.
Definition cmodelchange.h:393
const char * gateName
The name of the gate vector.
Definition cmodelchange.h:392
Model change notification fired just after a module is inserted into the network.
Definition cmodelchange.h:136
cModule * module
The new module.
Definition cmodelchange.h:138
Model change notification fired after a module is built.
Definition cmodelchange.h:154
cModule * module
The module.
Definition cmodelchange.h:156
Model change notification fired after a module has been deleted.
Definition cmodelchange.h:210
cModule * module
Pointer of the deleted module. The module object has already been deleted at this point,...
Definition cmodelchange.h:212
int moduleId
The ID of the deleted module.
Definition cmodelchange.h:213
cModuleType * moduleType
Type of the deleted module.
Definition cmodelchange.h:214
const char * moduleName
Name of the deleted module.
Definition cmodelchange.h:215
int index
Index of the deleted in its vector; -1 if not part of a module vector.
Definition cmodelchange.h:218
int vectorSize
Size of the module vector that contained the deleted module; -1 if not a vector.
Definition cmodelchange.h:217
cModule * parentModule
Parent module of the deleted module.
Definition cmodelchange.h:216
Model change notification fired after a module has been reparented.
Definition cmodelchange.h:248
cModule * module
The reparented module.
Definition cmodelchange.h:250
cModule * oldParentModule
The old parent for the module.
Definition cmodelchange.h:251
Model change notification fired after a parameter change.
Definition cmodelchange.h:593
cPar * par
The module parameter that has changed.
Definition cmodelchange.h:595
Model change notification fired after a connection path has been created.
Definition cmodelchange.h:536
Model change notification fired after a connection path has been cut.
Definition cmodelchange.h:564
Model change notification fired just before a display string change.
Definition cmodelchange.h:608
cDisplayString * displayString
The display string that is about to be updated.
Definition cmodelchange.h:610
Model change notification fired just before a gate or gate vector is added to the module.
Definition cmodelchange.h:273
cModule * module
The module to which the new gate or gate vector will be added.
Definition cmodelchange.h:275
cGate::Type gateType
Type of the new gate or gate vector (INPUT, OUTPUT or INOUT)
Definition cmodelchange.h:277
const char * gateName
Name of the new gate or gate vector.
Definition cmodelchange.h:276
int size
If isVector=true: The gate vector size.
Definition cmodelchange.h:279
bool isVector
Whether a new gate or a gate vector will be added.
Definition cmodelchange.h:278
Model change notification fired just before a gate is connected.
Definition cmodelchange.h:410
cGate * targetGate
The gate it will be connected to.
Definition cmodelchange.h:413
cGate * gate
The gate that is about to be connected.
Definition cmodelchange.h:412
cChannel * channel
The channel object to be associated with the connection.
Definition cmodelchange.h:414
Model change notification fired just before a gate is deleted.
Definition cmodelchange.h:323
cModule * module
Parent of the gate or gate vector.
Definition cmodelchange.h:325
const char * gateName
Name of the gate or gate vector.
Definition cmodelchange.h:326
Model change notification fired just before a gate has been disconnected.
Definition cmodelchange.h:456
cGate * gate
The gate that is about to be disconnected.
Definition cmodelchange.h:458
Model change notification fired just before a gate vector is resized.
Definition cmodelchange.h:369
cModule * module
The module of the gate vector.
Definition cmodelchange.h:371
const char * gateName
The name of the gate vector.
Definition cmodelchange.h:372
int newSize
The new size of the gate vector.
Definition cmodelchange.h:373
Model change notification fired just before a module is inserted into the network.
Definition cmodelchange.h:116
cModule * module
The new module.
Definition cmodelchange.h:118
cModule * parentModule
Parent module it is being inserted into.
Definition cmodelchange.h:119
Model change notification fired just before a module is deleted.
Definition cmodelchange.h:190
cModule * module
The module that is about to be deleted.
Definition cmodelchange.h:192
Model change notification fired just before a module is reparented.
Definition cmodelchange.h:232
cModule * module
The module which is about to be reparented.
Definition cmodelchange.h:234
cModule * newParentModule
The new parent for the module.
Definition cmodelchange.h:235
Model change notification fired just before a parameter change.
Definition cmodelchange.h:577
cPar * par
The module parameter that is about to be changed.
Definition cmodelchange.h:579
Model change notification fired just before a connection path is created.
Definition cmodelchange.h:522
Model change notification fired just before a connection path is cut.
Definition cmodelchange.h:550
SIM_API simsignal_t PRE_MODEL_CHANGE
A signal which is fired before simulation model changes such as module creation or connection creatio...
SIM_API simsignal_t POST_MODEL_CHANGE
A signal which is fired after simulation model changes such as module creation or connection creation...
Generated on for API by