cPreGateDisconnectNotification Class Reference

API: cPreGateDisconnectNotification Class Reference
API
cPreGateDisconnectNotification Class Reference
Inheritance diagram for cPreGateDisconnectNotification:
[legend]

Public Attributes

cGategate
 The gate that is about to be disconnected.

Additional Inherited Members

Public Member Functions inherited from cObject
 cObject ()
 cObject (const cObject &other)=default
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
virtual std::string getClassAndFullName () const
virtual std::string getClassAndFullPath () const
const cObjectgetThisPtr () const
virtual std::string str () const
virtual std::ostream & printOn (std::ostream &os) const
virtual cObjectdup () const
virtual void parsimPack (cCommBuffer *buffer) const
virtual void parsimUnpack (cCommBuffer *buffer)
virtual cObjectgetOwner () const
virtual bool isOwnedObject () const
virtual bool isSoftOwner () const
virtual void forEachChild (cVisitor *v)
cObjectfindObject (const char *name, bool deep=true)
virtual cClassDescriptorgetDescriptor () const
void copyNotSupported () const
Protected Member Functions inherited from cObject
virtual void take (cOwnedObject *obj)
virtual void drop (cOwnedObject *obj)
void dropAndDelete (cOwnedObject *obj)

Description

Model change notification fired just before a gate has been disconnected.

This notification is fired at the top of cGate::disconnect(), to announce that the connection between the given gate and its peer (gate->getNextGate()) is about to be deleted. It is fired on the module that contains the source gate of the connection. If you wish to listen on the target gate of the connection being disconnected, you should add the listener to the parent module (as notifications propagate up).

This object accompanies the PRE_MODEL_CHANGE signal.

See also
cPrePathCutNotification

Member Data Documentation

◆ gate

cGate* gate

The gate that is about to be disconnected.