Changeset 9757 in orxonox.OLD for branches/new_class_id/src/lib/util
- Timestamp:
- Sep 18, 2006, 10:06:19 PM (18 years ago)
- Location:
- branches/new_class_id/src/lib/util/loading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/factory.h
r9715 r9757 34 34 */ 35 35 #define CREATE_FACTORY(CLASS_NAME) \ 36 tFactory<CLASS_NAME>* global_##CLASS_NAME##_Factory = new tFactory<CLASS_NAME>(CLASS_NAME:: classID())36 tFactory<CLASS_NAME>* global_##CLASS_NAME##_Factory = new tFactory<CLASS_NAME>(CLASS_NAME::staticClassID()) 37 37 38 38 //! The Factory is a loadable object handler -
branches/new_class_id/src/lib/util/loading/fast_factory.h
r9716 r9757 39 39 */ 40 40 #define CREATE_FAST_FACTORY_STATIC(CLASS_NAME) \ 41 FastFactory* CLASS_NAME::fastFactory = tFastFactory<CLASS_NAME>::getFastFactory(CLASS_NAME:: classID(), #CLASS_NAME)41 FastFactory* CLASS_NAME::fastFactory = tFastFactory<CLASS_NAME>::getFastFactory(CLASS_NAME::staticClassID(), #CLASS_NAME) 42 42 43 43 //! A struct, that holds Lists of Objects of a certain type.
Note: See TracChangeset
for help on using the changeset viewer.