OMNeT++ API 6.1
Discrete Event Simulation Library
cPreGateVectorResizeNotification Class Reference

Description

Model change notification fired just before a gate vector is resized.

This notification is fired at the top of cModule::setGateSize(). Note that other cModule methods used for implementing the NED "gate++" syntax also expand the gate vector, and fire this notification. These methods are getOrCreateFirstUnconnectedGate() and getOrCreateFirstUnconnectedGatePair()).

This object accompanies the PRE_MODEL_CHANGE signal.

Inheritance diagram for cPreGateVectorResizeNotification:
[legend]

Public Attributes

cModulemodule
 The module of the gate vector. More...
 
const char * gateName
 The name of the gate vector. More...
 
int newSize
 The new size of the gate 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

The module of the gate vector.

◆ gateName

const char* gateName

The name of the gate vector.

◆ newSize

int newSize

The new size of the gate vector.


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