Changeset 1940 for code/branches/objecthierarchy/src/core/CoreIncludes.h
- Timestamp:
- Oct 18, 2008, 10:58:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/CoreIncludes.h
r1856 r1940 98 98 */ 99 99 #define CreateFactory(ClassName) \ 100 bool bCreated##ClassName##Factory = orxonox::ClassFactory<ClassName>::create(#ClassName) 100 bool bCreated##ClassName##Factory = orxonox::ClassFactory<ClassName>::create(#ClassName, true) 101 102 /** 103 @brief Creates the entry in the Factory for classes which should not be loaded through XML. 104 @param ClassName The name of the class 105 */ 106 #define CreateUnloadableFactory(ClassName) \ 107 bool bCreated##ClassName##Factory = orxonox::ClassFactory<ClassName>::create(#ClassName, false) 101 108 102 109 /** … … 111 118 @param String The name of the class 112 119 */ 113 #define ClassBy Name(String) \120 #define ClassByString(String) \ 114 121 orxonox::Factory::getIdentifier(String) 115 122
Note: See TracChangeset
for help on using the changeset viewer.