Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2007, 8:34:48 PM (17 years ago)
Author:
landauf
Message:

changed the class-hierarchy creation: call Factory::createClassHierarchy() to create the hierarchy.
until now it was automatically created at the program-start, but that could have been a problem in the future when classes depend on ogre, because ogre isn't already initialized at that program-start, so i've changed it.

File:
1 edited

Legend:

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

    r453 r457  
    6464        friend class SubclassIdentifier; // Forward declaration
    6565
    66         template <class T>
    67         friend class ClassFactory; // Forward declaration
     66        friend class Factory; // Forward declaration
    6867
    6968        public:
     
    216215            COUT(4) << "*** Register Class in " << name << "-Singleton -> Initialize Singleton.\n";
    217216            pointer_s->name_ = name;
    218             Factory::add(name, pointer_s); // Add the Identifier to the Factory
     217//            Factory::add(name, pointer_s); // Add the Identifier to the Factory
    219218
    220219            if (bRootClass)
Note: See TracChangeset for help on using the changeset viewer.