Last change
on this file since 246 was
246,
checked in by landauf, 16 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
|
Rev | Line | |
---|
[162] | 1 | #ifndef _OrxonoxClass_H__ |
---|
| 2 | #define _OrxonoxClass_H__ |
---|
| 3 | |
---|
[219] | 4 | #include "Identifier.h" |
---|
[197] | 5 | #include "IdentifierList.h" |
---|
[246] | 6 | #include "ObjectList.h" |
---|
| 7 | #include "MetaObjectList.h" |
---|
[197] | 8 | |
---|
[162] | 9 | namespace orxonox |
---|
| 10 | { |
---|
| 11 | class OrxonoxClass |
---|
| 12 | { |
---|
| 13 | public: |
---|
| 14 | OrxonoxClass(); |
---|
[218] | 15 | virtual ~OrxonoxClass(); |
---|
[246] | 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_; } |
---|
[162] | 21 | |
---|
| 22 | private: |
---|
[240] | 23 | Identifier* identifier_; |
---|
[162] | 24 | IdentifierList* parents_; |
---|
[246] | 25 | MetaObjectList* metaList_; |
---|
[162] | 26 | }; |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.