Changeset 1574 for code/branches/core3/src/core/Identifier.cc
- Timestamp:
- Jun 9, 2008, 4:35:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/core/Identifier.cc
r1543 r1574 39 39 #include "ConsoleCommand.h" 40 40 #include "CommandExecutor.h" 41 #include "MetaObjectList.h" 42 #include "ObjectList.h" 43 #include "OrxonoxClass.h" 41 44 42 45 namespace orxonox … … 52 55 Identifier::Identifier() 53 56 { 57 this->objects_ = new ObjectListBase(this); 58 54 59 this->bCreatedOneObject_ = false; 55 60 this->factory_ = 0; … … 174 179 175 180 /** 181 @brief Adds an object of the given type to the ObjectList. 182 @param object The object to add 183 */ 184 void Identifier::addObject(OrxonoxClass* object) 185 { 186 COUT(5) << "*** ClassIdentifier: Added object to " << this->getName() << "-list." << std::endl; 187 object->getMetaList().add(this->objects_, this->objects_->add(object)); 188 } 189 190 /** 176 191 @brief Returns true, if the Identifier is at least of the given type. 177 192 @param identifier The identifier to compare with
Note: See TracChangeset
for help on using the changeset viewer.