Changeset 820 for code/branches/core/src/orxonox/core/Identifier.h
- Timestamp:
- Feb 17, 2008, 3:40:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/orxonox/core/Identifier.h
r817 r820 266 266 ClassIdentifier<T>* ClassIdentifier<T>::registerClass(std::list<const Identifier*>* parents, const std::string& name, bool bRootClass) 267 267 { 268 COUT( 4) << "*** ClassIdentifier: Register Class in " << name << "-Singleton." << std::endl;268 COUT(5) << "*** ClassIdentifier: Register Class in " << name << "-Singleton." << std::endl; 269 269 270 270 // Check if at least one object of the given type was created … … 305 305 void ClassIdentifier<T>::addObject(T* object) 306 306 { 307 COUT( 4) << "*** ClassIdentifier: Added object to " << this->getName() << "-list." << std::endl;307 COUT(5) << "*** ClassIdentifier: Added object to " << this->getName() << "-list." << std::endl; 308 308 object->getMetaList().add(this->objects_, this->objects_->add(object)); 309 309 } … … 359 359 if (!identifier->isA(ClassManager<T>::getIdentifier())) 360 360 { 361 COUT(1) << "An error occurred in SubclassIdentifier :" << std::endl;361 COUT(1) << "An error occurred in SubclassIdentifier (Identifier.h):" << std::endl; 362 362 COUT(1) << "Error: Class " << identifier->getName() << " is not a " << ClassManager<T>::getIdentifier()->getName() << "!" << std::endl; 363 363 COUT(1) << "Error: SubclassIdentifier<" << ClassManager<T>::getIdentifier()->getName() << "> = Class(" << identifier->getName() << ") is forbidden." << std::endl; … … 406 406 if (this->identifier_) 407 407 { 408 COUT(1) << "An error occurred in SubclassIdentifier :" << std::endl;408 COUT(1) << "An error occurred in SubclassIdentifier (Identifier.h):" << std::endl; 409 409 COUT(1) << "Error: Class " << this->identifier_->getName() << " is not a " << ClassManager<T>::getIdentifier()->getName() << "!" << std::endl; 410 410 COUT(1) << "Error: Couldn't fabricate a new Object." << std::endl; … … 413 413 else 414 414 { 415 COUT(1) << "An error occurred in SubclassIdentifier :" << std::endl;415 COUT(1) << "An error occurred in SubclassIdentifier (Identifier.h):" << std::endl; 416 416 COUT(1) << "Error: Couldn't fabricate a new Object - Identifier is undefined." << std::endl; 417 417 COUT(1) << "Aborting..." << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.