Changeset 5779 for code/branches/core5/src/libraries/core/CoreIncludes.h
- Timestamp:
- Sep 24, 2009, 2:55:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/CoreIncludes.h
r5778 r5779 80 80 */ 81 81 #define CreateFactory(ClassName) \ 82 BaseFactory*ClassName##Factory = new orxonox::ClassFactory<ClassName>(#ClassName, true)82 Factory* _##ClassName##Factory = new orxonox::ClassFactory<ClassName>(#ClassName, true) 83 83 84 84 /** … … 87 87 */ 88 88 #define CreateUnloadableFactory(ClassName) \ 89 BaseFactory*ClassName##Factory = new orxonox::ClassFactory<ClassName>(#ClassName, false)89 Factory* _##ClassName##Factory = new orxonox::ClassFactory<ClassName>(#ClassName, false) 90 90 91 91 /** … … 100 100 { 101 101 /** 102 @brief Returns the Identifier with a given name through the factory.102 @brief Returns the Identifier with a given name. 103 103 @param String The name of the class 104 104 */ … … 109 109 110 110 /** 111 @brief Returns the Identifier with a given network ID through the factory. 111 @brief Returns the Identifier with a given lowercase name. 112 @param String The lowercase name of the class 113 */ 114 inline Identifier* ClassByLowercaseString(const std::string& name) 115 { 116 return Identifier::getIdentifierByLowercaseString(name); 117 } 118 119 /** 120 @brief Returns the Identifier with a given network ID. 112 121 @param networkID The network ID of the class 113 122 */
Note: See TracChangeset
for help on using the changeset viewer.