Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2008, 6:39:53 PM (16 years ago)
Author:
landauf
Message:
  • Changed the ClassManager/IdentifierDistributor: ClassIdentifiers are now saved with the name returned by typeid(class).name() because this is a simple way getting the name without creating an object (which might be impossible because of non-public constructors or abstract functions).
  • Changed some debug outputs
File:
1 edited

Legend:

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

    r806 r811  
    7070    void Identifier::initialize(const IdentifierList* parents)
    7171    {
    72         COUT(4) << "*** Initialize " << this->name_ << "-Singleton." << std::endl;
     72        COUT(4) << "*** Identifier: Initialize " << this->name_ << "-Singleton." << std::endl;
    7373        this->bCreatedOneObject_ = true;
    7474
     
    9999        {
    100100            // Abstract classes don't have a factory and therefore can't create new objects
     101            COUT(1) << "An error occurred in Identifier:" << std::endl;
    101102            COUT(1) << "Error: Cannot create an object of type '" << this->name_ << "'. Class is abstract." << std::endl;
    102103            COUT(1) << "Aborting..." << std::endl;
Note: See TracChangeset for help on using the changeset viewer.