OMNeT++ Simulation Library
5.6.1
|
#include <cmodelchange.h>
Model change notification fired just before a gate is connected.
This notification is fired at the top of cGate::connectTo(), on the module that contains the connection's source gate. If you wish to listen on the target gate of the connection being connected, you should add the listener to the parent module (as notifications propagate up).
This object accompanies the PRE_MODEL_CHANGE signal.
Public Attributes | |
cGate * | gate |
The gate that is about to be connected. More... | |
cGate * | targetGate |
The gate it will be connected to. More... | |
cChannel * | channel |
The channel object to be associated with the connection. 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) |
cGate* gate |
The gate that is about to be connected.
cGate* targetGate |
The gate it will be connected to.
cChannel* channel |
The channel object to be associated with the connection.