Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2007, 7:19:54 PM (16 years ago)
Author:
landauf
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchie/src/OrxonoxClass.h

    r240 r246  
    44#include "Identifier.h"
    55#include "IdentifierList.h"
     6#include "ObjectList.h"
     7#include "MetaObjectList.h"
    68
    79namespace orxonox
     
    1214            OrxonoxClass();
    1315            virtual ~OrxonoxClass();
    14             Identifier* getIdentifier() const { return this->identifier_; }
    15             void setIdentifier(Identifier* identifier) { this->identifier_ = identifier; }
    16             IdentifierList* getParents() const { return this->parents_; }
    17             void setParents(IdentifierList* parents) { this->parents_ = parents; }
     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_; }
    1821
    1922        private:
    2023            Identifier* identifier_;
    2124            IdentifierList* parents_;
     25            MetaObjectList* metaList_;
    2226    };
    2327}
Note: See TracChangeset for help on using the changeset viewer.