16 #ifndef __OMNETPP_COBJECT_H 17 #define __OMNETPP_COBJECT_H 20 #include "simkerneldefs.h" 26 #include "regmacros.h" 31 class cClassDescriptor;
67 #ifdef SIMFRONTEND_SUPPORT 69 virtual bool hasChangedSince(int64_t refreshSerial);
70 static int64_t getChangeCounter() {
return changeCounter;}
74 #ifdef SIMFRONTEND_SUPPORT 76 static int64_t changeCounter;
112 virtual const char *getClassName()
const;
120 virtual const char *
getName()
const {
return "";}
144 virtual std::string getFullPath()
const;
155 virtual std::string str()
const;
160 _OPPDEPRECATED
virtual std::string
info()
const {
return str();}
230 virtual void parsimPack(
cCommBuffer *buffer)
const;
264 virtual void forEachChild(
cVisitor *v);
278 cObject *findObject(
const char *name,
bool deep=
true);
289 void copyNotSupported()
const;
Internal class, used as a base class for modules and channels. It is not intended for subclassing out...
Definition: cdefaultlist.h:33
Root of the OMNeT++ class hierarchy. cObject is a lightweight class without any data members...
Definition: cobject.h:58
virtual const char * getName() const
Definition: cobject.h:120
virtual _OPPDEPRECATED std::string detailedInfo() const
Definition: cobject.h:165
virtual _OPPDEPRECATED std::string info() const
Definition: cobject.h:160
const cObject * getThisPtr() const
Definition: cobject.h:149
virtual const char * getFullName() const
Definition: cobject.h:135
virtual cObject * getOwner() const
Definition: cobject.h:245
bool isName(const char *s) const
Definition: cobject.h:125
cObject()
Definition: cobject.h:90
cObject(const cObject &other)
Definition: cobject.h:98
Buffer for the communications layer of parallel simulation.
Definition: ccommbuffer.h:41
A cObject that keeps track of its owner. It serves as base class for many classes in the OMNeT++ libr...
Definition: cownedobject.h:104
Enables traversing the tree of (cObject-rooted) simulation objects.
Definition: cvisitor.h:56
Utility class, to make it impossible to call the operator= and copy constructor of any class derived ...
Definition: cobject.h:311
virtual bool isOwnedObject() const
Definition: cobject.h:254
Definition: cabstracthistogram.h:21
Abstract base class for structure description classes, used mainly with message subclassing.
Definition: cclassdescriptor.h:44
int opp_strcmp(const char *, const char *)
Same as the standard strcmp() function, except that nullptr is treated exactly as an empty string (""...
Definition: simutil.h:307