Changeset 8148 in orxonox.OLD for trunk/src/lib/util/loading
- Timestamp:
- Jun 5, 2006, 12:46:02 PM (19 years ago)
- Location:
- trunk/src/lib/util/loading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/loading/factory.cc
r7676 r8148 29 29 */ 30 30 Factory::Factory (const std::string& factoryName, ClassID classID) 31 : class Name(factoryName), classID(classID)31 : classID(classID), className(factoryName) 32 32 { 33 33 this->setClassID(CL_FACTORY, "Factory"); -
trunk/src/lib/util/loading/factory.h
r7221 r8148 36 36 #define CREATE_FACTORY(CLASS_NAME, CLASS_ID) \ 37 37 tFactory<CLASS_NAME>* global_##CLASS_NAME##_Factory = new tFactory<CLASS_NAME>(#CLASS_NAME, CLASS_ID) 38 39 // #define CREATE_DYNAMIC_FACTORY(CLASS_NAME, CLASS_ID) \40 // tFactory<CLASS_NAME>* global_##CLASS_NAME##_Dynamic_Factory = new DynamicLoader<CLASS_NAME>(#CLASS_NAME, CLASS_ID)41 38 42 39 //! The Factory is a loadable object handler
Note: See TracChangeset
for help on using the changeset viewer.