Changeset 729 for code/branches/FICN/src/orxonox/core
- Timestamp:
- Dec 30, 2007, 9:48:52 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox/core
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/CoreIncludes.h
r708 r729 88 88 89 89 /** 90 @brief Exports the necessary templates in order to make them available to all libraries. 91 @param ClassName The name of the Class 92 @param LibraryName The name of the Library 93 */ 94 #define ExportClass(ClassName, LibraryName) \ 95 template class _##LibraryName##Export orxonox::ClassIdentifier<ClassName>; \ 96 template class _##LibraryName##Export orxonox::ObjectList<ClassName>; \ 97 template class _##LibraryName##Export orxonox::ClassFactory<ClassName> 98 99 /** 100 @brief Exports the necessary templates in order to make them available to all libraries. 101 @param ClassName The name of the Class 102 @param LibraryName The name of the Library 103 */ 104 #define ExportAbstractClass(ClassName, LibraryName) \ 105 template class _##LibraryName##Export orxonox::ClassIdentifier<ClassName>; \ 106 template class _##LibraryName##Export orxonox::ObjectList<ClassName> 107 108 /** 90 109 @brief Returns the Identifier of the given class. 91 110 @param ClassName The name of the class -
code/branches/FICN/src/orxonox/core/DebugLevel.cc
r728 r729 31 31 */ 32 32 33 #include "CoreIncludes.h"34 33 #include "DebugLevel.h" 35 34 -
code/branches/FICN/src/orxonox/core/DebugLevel.h
r708 r729 41 41 #include "OrxonoxClass.h" 42 42 #include "OutputHandler.h" 43 #include "CoreIncludes.h" 43 44 44 45 namespace orxonox … … 62 63 ConfigValueContainer* softDebugLevelContainer_; //!< The config value container for the debug level 63 64 }; 65 ExportAbstractClass(DebugLevel, Core); 64 66 } 65 67 -
code/branches/FICN/src/orxonox/core/Identifier.h
r723 r729 54 54 #include <map> 55 55 #include <string> 56 #include <utility> 56 57 57 58 #include "CorePrereqs.h" -
code/branches/FICN/src/orxonox/core/Language.cc
r728 r729 245 245 if (lineString.compare("") != 0) 246 246 { 247 unsigned int pos = lineString.find('=');247 unsigned int pos = (unsigned int)lineString.find('='); 248 248 249 249 // Check if the length is at least 3 and if there's an entry before and behind the = … … 288 288 if (lineString.compare("") != 0) 289 289 { 290 unsigned int pos = lineString.find('=');290 unsigned int pos = (unsigned int)lineString.find('='); 291 291 292 292 // Check if the length is at least 3 and if there's an entry before and behind the = -
code/branches/FICN/src/orxonox/core/Language.h
r728 r729 82 82 bool bTranslationSet_; //!< True if the translation was set 83 83 }; 84 template class _CoreExport orxonox::ClassIdentifier<LanguageEntry>; 85 template class _CoreExport orxonox::ObjectList<LanguageEntry>; 84 86 85 87 //! The Language class manges the language files and entries and stores the LanguageEntry objects in a map. … … 108 110 std::map<std::string, LanguageEntry*> languageEntries_; //!< A map to store all LanguageEntry objects and their name 109 111 }; 112 template class _CoreExport orxonox::ClassIdentifier<Language>; 113 template class _CoreExport orxonox::ObjectList<Language>; 110 114 } 111 115 -
code/branches/FICN/src/orxonox/core/ObjectList.h
r698 r729 39 39 40 40 #include "CorePrereqs.h" 41 #include "Iterator.h" 41 42 42 43 namespace orxonox -
code/branches/FICN/src/orxonox/core/OrxonoxClass.h
r715 r729 41 41 #include "CorePrereqs.h" 42 42 #include "MetaObjectList.h" 43 #include "I dentifier.h"43 #include "Iterator.h" 44 44 45 45 namespace orxonox … … 158 158 bool bVisible_; //!< True = the object is visible 159 159 }; 160 template class _CoreExport orxonox::ClassIdentifier<OrxonoxClass>; 161 template class _CoreExport orxonox::ObjectList<OrxonoxClass>; 160 162 } 161 163
Note: See TracChangeset
for help on using the changeset viewer.