Changeset 871 for code/trunk/src/orxonox/core/ClassFactory.h
- Timestamp:
- Mar 9, 2008, 4:44:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/core/ClassFactory.h
r790 r871 26 26 */ 27 27 28 /* !28 /** 29 29 @file ClassFactory.h 30 30 @brief Definition and implementation of the ClassFactory class … … 72 72 bool ClassFactory<T>::create(const std::string& name) 73 73 { 74 COUT(4) << "*** C reate entry for " << name << " in Factory." << std::endl;75 Class Identifier<T>::getIdentifier()->addFactory(new ClassFactory<T>);76 Factory::add(name, Class Identifier<T>::getIdentifier());74 COUT(4) << "*** ClassFactory: Create entry for " << name << " in Factory." << std::endl; 75 ClassManager<T>::getIdentifier()->addFactory(new ClassFactory<T>); 76 Factory::add(name, ClassManager<T>::getIdentifier()); 77 77 78 78 return true;
Note: See TracChangeset
for help on using the changeset viewer.