OMNeT++ Simulation Library  6.0.3
cPostGateDeleteNotification Class Reference

#include <cmodelchange.h>

Description

Model change notification fired after a gate has been deleted.

This notification is fired at the end of cModule::deleteGate(). The gate or gate vector no longer exists at this point.

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 include properties of the deleted gate or gate vector.

This object accompanies the POST_MODEL_CHANGE signal.

Inheritance diagram for cPostGateDeleteNotification:
cModelChangeNotification cObject noncopyable

Public Attributes

cModulemodule
 Parent of the gate or gate vector. More...
 
const char * gateName
 Name of the gate or gate vector. More...
 
cGate::Type gateType
 Type of the gate or gate vector. More...
 
bool isVector
 Name of the gate vector that was deleted. More...
 
int vectorSize
 If a gate vector was deleted: size of the vector. More...
 

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)
 

Member Data Documentation

◆ module

cModule* module

Parent of the gate or gate vector.

◆ gateName

const char* gateName

Name of the gate or gate vector.

◆ gateType

cGate::Type gateType

Type of the gate or gate vector.

◆ isVector

bool isVector

Name of the gate vector that was deleted.

◆ vectorSize

int vectorSize

If a gate vector was deleted: size of the vector.


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