OMNeT++ Simulation Library
5.6.1
|
#include <cmodelchange.h>
Model change notification fired just before a gate or gate vector is added to the module.
This notification is fired at the top of cModule::addGate().
Note: this notification is fired for the gate or gate vector as a whole, and not for individual gate objects in it. That is, a single notification is fired for an inout gate (which is a gate pair) and for gate vectors as well.
Fields in this class carry the module object on which the gate or gate vector being created, and the arguments of the addGate() method call.
This object accompanies the PRE_MODEL_CHANGE signal.
Public Attributes | |
cModule * | module |
The module to which the new gate or gate vector will be added. More... | |
const char * | gateName |
Name of the new gate or gate vector. More... | |
cGate::Type | gateType |
Type of the new gate or gate vector (INPUT, OUTPUT or INOUT) More... | |
bool | isVector |
Whether a new gate or a gate vector will be added. More... | |
Additional Inherited Members | |
Public Member Functions inherited from cObject | |
cObject () | |
cObject (const cObject &other) | |
virtual | ~cObject () |
virtual const char * | getClassName () const |
virtual const char * | getName () const |
bool | isName (const char *s) const |
virtual const char * | getFullName () const |
virtual std::string | getFullPath () const |
const cObject * | getThisPtr () const |
virtual std::string | str () const |
virtual _OPPDEPRECATED std::string | info () const |
virtual _OPPDEPRECATED std::string | detailedInfo () const |
virtual cObject * | dup () const |
virtual void | parsimPack (cCommBuffer *buffer) const |
virtual void | parsimUnpack (cCommBuffer *buffer) |
virtual cObject * | getOwner () const |
virtual bool | isOwnedObject () const |
virtual void | forEachChild (cVisitor *v) |
cObject * | findObject (const char *name, bool deep=true) |
void | copyNotSupported () const |
Protected Member Functions inherited from cObject | |
virtual void | take (cOwnedObject *obj) |
virtual void | drop (cOwnedObject *obj) |
void | dropAndDelete (cOwnedObject *obj) |
cModule* module |
The module to which the new gate or gate vector will be added.
const char* gateName |
Name of the new gate or gate vector.
cGate::Type gateType |
Type of the new gate or gate vector (INPUT, OUTPUT or INOUT)
bool isVector |
Whether a new gate or a gate vector will be added.