Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 17, 2008, 3:40:02 PM (16 years ago)
Author:
landauf
Message:

added a Level-class and a first implementation of the Loader, using ClassTreeMask and TinyXML++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core/src/orxonox/core/Identifier.h

    r817 r820  
    266266    ClassIdentifier<T>* ClassIdentifier<T>::registerClass(std::list<const Identifier*>* parents, const std::string& name, bool bRootClass)
    267267    {
    268         COUT(4) << "*** ClassIdentifier: Register Class in " << name << "-Singleton." << std::endl;
     268        COUT(5) << "*** ClassIdentifier: Register Class in " << name << "-Singleton." << std::endl;
    269269
    270270        // Check if at least one object of the given type was created
     
    305305    void ClassIdentifier<T>::addObject(T* object)
    306306    {
    307         COUT(4) << "*** ClassIdentifier: Added object to " << this->getName() << "-list." << std::endl;
     307        COUT(5) << "*** ClassIdentifier: Added object to " << this->getName() << "-list." << std::endl;
    308308        object->getMetaList().add(this->objects_, this->objects_->add(object));
    309309    }
     
    359359                if (!identifier->isA(ClassManager<T>::getIdentifier()))
    360360                {
    361                     COUT(1) << "An error occurred in SubclassIdentifier:" << std::endl;
     361                    COUT(1) << "An error occurred in SubclassIdentifier (Identifier.h):" << std::endl;
    362362                    COUT(1) << "Error: Class " << identifier->getName() << " is not a " << ClassManager<T>::getIdentifier()->getName() << "!" << std::endl;
    363363                    COUT(1) << "Error: SubclassIdentifier<" << ClassManager<T>::getIdentifier()->getName() << "> = Class(" << identifier->getName() << ") is forbidden." << std::endl;
     
    406406                    if (this->identifier_)
    407407                    {
    408                         COUT(1) << "An error occurred in SubclassIdentifier:" << std::endl;
     408                        COUT(1) << "An error occurred in SubclassIdentifier (Identifier.h):" << std::endl;
    409409                        COUT(1) << "Error: Class " << this->identifier_->getName() << " is not a " << ClassManager<T>::getIdentifier()->getName() << "!" << std::endl;
    410410                        COUT(1) << "Error: Couldn't fabricate a new Object." << std::endl;
     
    413413                    else
    414414                    {
    415                         COUT(1) << "An error occurred in SubclassIdentifier:" << std::endl;
     415                        COUT(1) << "An error occurred in SubclassIdentifier (Identifier.h):" << std::endl;
    416416                        COUT(1) << "Error: Couldn't fabricate a new Object - Identifier is undefined." << std::endl;
    417417                        COUT(1) << "Aborting..." << std::endl;
Note: See TracChangeset for help on using the changeset viewer.