OMNeT++ Simulation Library  5.6.1
cPreModuleAddNotification Class Reference

#include <cmodelchange.h>

Description

Model change notification fired just before a module is created.

This notification is fired at the top of cModuleType::create(). Fields contain the cModuleType object, and the arguments of the create() method call.

This object accompanies the PRE_MODEL_CHANGE signal.

Inheritance diagram for cPreModuleAddNotification:
cModelChangeNotification cObject noncopyable

Public Attributes

cModuleTypemoduleType
 Type of the new module. More...
 
const char * moduleName
 Name of the new module. More...
 
cModuleparentModule
 Parent module. More...
 
int vectorSize
 Size of the module vector that will contain the new module; -1 if not a vector. More...
 
int index
 Index of the new module in its vector; 0 if not part of a module vector. 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

◆ moduleType

cModuleType* moduleType

Type of the new module.

◆ moduleName

const char* moduleName

Name of the new module.

◆ parentModule

cModule* parentModule

Parent module.

◆ vectorSize

int vectorSize

Size of the module vector that will contain the new module; -1 if not a vector.

◆ index

int index

Index of the new module in its vector; 0 if not part of a module vector.


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