Changeset 4252 in orxonox.OLD for orxonox/branches/levelLoader/src/util/loading/factory.h
- Timestamp:
- May 21, 2005, 11:39:23 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelLoader/src/util/loading/factory.h
r4250 r4252 33 33 this should be used at the beginning of all the Classes that should be loadable (in the cc-file) 34 34 */ 35 #define CREATE_FACTORY(x) tFactory<x>* global_ ## x ## Factory = new tFactory<x>(#x) 35 #define CREATE_FACTORY(CLASS_NAME) tFactory<CLASS_NAME>* global_##CLASS_NAME##Factory = new tFactory<CLASS_NAME>(#CLASS_NAME); \ 36 CREATE_LOAD_DOC(CLASS_NAME) 36 37 37 38
Note: See TracChangeset
for help on using the changeset viewer.