Last change
on this file since 248 was
246,
checked in by landauf, 17 years ago
|
added "MetaObjectList", containing the list-element of the ObjectList of all classes an object is registered in. this allowes much faster deleting of objects.
|
File size:
895 bytes
|
Line | |
---|
1 | #ifndef _OrxonoxClass_H__ |
---|
2 | #define _OrxonoxClass_H__ |
---|
3 | |
---|
4 | #include "Identifier.h" |
---|
5 | #include "IdentifierList.h" |
---|
6 | #include "ObjectList.h" |
---|
7 | #include "MetaObjectList.h" |
---|
8 | |
---|
9 | namespace orxonox |
---|
10 | { |
---|
11 | class OrxonoxClass |
---|
12 | { |
---|
13 | public: |
---|
14 | OrxonoxClass(); |
---|
15 | virtual ~OrxonoxClass(); |
---|
16 | inline Identifier* getIdentifier() const { return this->identifier_; } |
---|
17 | inline void setIdentifier(Identifier* identifier) { this->identifier_ = identifier; } |
---|
18 | inline IdentifierList* getParents() const { return this->parents_; } |
---|
19 | inline void setParents(IdentifierList* parents) { this->parents_ = parents; } |
---|
20 | inline MetaObjectList* getMetaList() { return this->metaList_; } |
---|
21 | |
---|
22 | private: |
---|
23 | Identifier* identifier_; |
---|
24 | IdentifierList* parents_; |
---|
25 | MetaObjectList* metaList_; |
---|
26 | }; |
---|
27 | } |
---|
28 | |
---|
29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.