OMNeT++ Simulation Library
6.0.3
|
#include <cmodelchange.h>
Model change notification fired after a module has been deleted.
This notification is fired at the end of cModule::deleteModule(). The module object no longer exists at this point, and its submodules have also been deleted. Fields include properties of the deleted module. It also includes the module pointer (in case it serves as a key in some user data structure), but it must NOT be dereferenced because it points to a deleted object.
This object accompanies the POST_MODEL_CHANGE signal.
Public Attributes | |
cModule * | module |
Pointer of the deleted module. The module object has already been deleted at this point, and the pointer invalid – you SHOULD NOT DEREFERENCE it in any way. More... | |
int | moduleId |
The ID of the deleted module. More... | |
cModuleType * | moduleType |
Type of the deleted module. More... | |
const char * | moduleName |
Name of the deleted module. More... | |
cModule * | parentModule |
Parent module of the deleted module. More... | |
int | vectorSize |
Size of the module vector that contained the deleted module; -1 if not a vector. More... | |
int | index |
Index of the deleted in its vector; -1 if not part of a module 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 cObject * | getThisPtr () const |
virtual std::string | str () const |
virtual std::ostream & | printOn (std::ostream &os) const |
virtual cObject * | dup () const |
virtual void | parsimPack (cCommBuffer *buffer) const |
virtual void | parsimUnpack (cCommBuffer *buffer) |
virtual cObject * | getOwner () const |
virtual bool | isOwnedObject () const |
virtual bool | isSoftOwner () const |
virtual void | forEachChild (cVisitor *v) |
cObject * | findObject (const char *name, bool deep=true) |
virtual cClassDescriptor * | getDescriptor () const |
void | copyNotSupported () const |
Protected Member Functions inherited from cObject | |
virtual void | take (cOwnedObject *obj) |
virtual void | drop (cOwnedObject *obj) |
void | dropAndDelete (cOwnedObject *obj) |
cModule* module |
Pointer of the deleted module. The module object has already been deleted at this point, and the pointer invalid – you SHOULD NOT DEREFERENCE it in any way.
int moduleId |
The ID of the deleted module.
cModuleType* moduleType |
Type of the deleted module.
const char* moduleName |
Name of the deleted module.
cModule* parentModule |
Parent module of the deleted module.
int vectorSize |
Size of the module vector that contained the deleted module; -1 if not a vector.
int index |
Index of the deleted in its vector; -1 if not part of a module vector.