48 static void setRootContext(
Context* context);
49 static void destroyRootContext();
50 static Context* getRootContext();
56 {
return this->parentContext_; }
68 this->getObjectList<T>()->addElement(element);
69 object->elements_.push_back(element);
70 if (this->getParentContext())
71 this->getParentContext()->addObject(
object);
74 void destroyObjectList(
const Identifier* identifier);
The ClassIdentifier is derived from Identifier and holds all class-specific functions and variables t...
Definition: Identifier.h:262
static Context * rootContext_s
Definition: Context.h:80
ObjectListBase * getObjectList()
Definition: Context.h:61
Listable stores the entries of all object lists pointing to this instance.
Definition: Listable.h:50
Shared library macros, enums, constants and forward declarations for the core library ...
The ObjectListBase contains all objects of a given class.
Definition: ObjectListBase.h:125
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
#define _CoreExport
Definition: CorePrereqs.h:61
The Identifier is used to identify the class of an object and to store information about the class...
Definition: Identifier.h:109
Definition: InputPrereqs.h:78
Declaration of Listable, the base of all classes whose instances can be stored in object lists...
static ObjectListElement< T > * createObjectListElement(T *object)
Definition: Listable.h:69
Context * parentContext_
Definition: Context.h:77
Context * getParentContext() const
Definition: Context.h:55
The list-element of the ObjectListBase.
Definition: ObjectListBase.h:52
std::vector< ObjectListBase * > objectLists_
Definition: Context.h:78
void addObject(T *object)
Definition: Context.h:65