OMNeT++ Simulation Library  5.6.1
cPostGateDisconnectNotification Class Reference

#include <cmodelchange.h>

Description

Model change notification fired after a gate is disconnected.

This notification is fired at the end of cGate::disconnect(), to announce that the connection between the given gates has been 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 POST_MODEL_CHANGE signal.

See also
cPostPathCutNotification
Inheritance diagram for cPostGateDisconnectNotification:
cModelChangeNotification cObject noncopyable

Public Attributes

cGategate
 The gate that has been disconnected. More...
 
cGatetargetGate
 The gate to which it was connected. More...
 
cChannelchannel
 The channel object associated with the link; it points to valid object that will be deleted once the notification has finished. 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 cObjectgetThisPtr () const
 
virtual std::string str () const
 
virtual _OPPDEPRECATED std::string info () const
 
virtual _OPPDEPRECATED std::string detailedInfo () const
 
virtual cObjectdup () const
 
virtual void parsimPack (cCommBuffer *buffer) const
 
virtual void parsimUnpack (cCommBuffer *buffer)
 
virtual cObjectgetOwner () const
 
virtual bool isOwnedObject () const
 
virtual void forEachChild (cVisitor *v)
 
cObjectfindObject (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)
 

Member Data Documentation

◆ gate

cGate* gate

The gate that has been disconnected.

◆ targetGate

cGate* targetGate

The gate to which it was connected.

◆ channel

cChannel* channel

The channel object associated with the link; it points to valid object that will be deleted once the notification has finished.


The documentation for this class was generated from the following file: