Changeset 941 for code/branches
- Timestamp:
- Mar 27, 2008, 8:23:10 PM (17 years ago)
- Location:
- code/branches/core2/src/orxonox/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/core/Identifier.h
r876 r941 273 273 ClassIdentifier<T>* ClassIdentifier<T>::registerClass(std::set<const Identifier*>* parents, const std::string& name, bool bRootClass) 274 274 { 275 COUT(5) << "*** ClassIdentifier: Register Class in " << name << "-Singleton." << std::endl;275 this->setName(name); 276 276 277 277 // Check if at least one object of the given type was created 278 if (!this->bCreatedOneObject_ )278 if (!this->bCreatedOneObject_ && Identifier::isCreatingHierarchy()) 279 279 { 280 280 // If no: We have to store the informations and initialize the Identifier 281 this->setName(name);282 283 281 COUT(4) << "*** ClassIdentifier: Register Class in " << name << "-Singleton -> Initialize Singleton." << std::endl; 284 282 if (bRootClass) -
code/branches/core2/src/orxonox/core/MetaObjectList.h
r871 r941 99 99 100 100 101 COUT(5) << "*** MetaObjectList: Removing Object from " << this->element_->object_->getIdentifier()->getName() << "-list." << std::endl;101 COUT(5) << "*** MetaObjectList: Removing Object from " << ClassManager<T>::getIdentifier()->getName() << "-list." << std::endl; 102 102 delete this->element_; 103 103 }
Note: See TracChangeset
for help on using the changeset viewer.