Changeset 5858 for code/branches/core5/src/libraries
- Timestamp:
- Oct 2, 2009, 11:41:00 AM (15 years ago)
- Location:
- code/branches/core5/src/libraries
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/BaseObject.cc
r5839 r5858 46 46 #include "XMLNameListener.h" 47 47 #include "XMLPort.h" 48 #include "network/NetworkPrereqs.h"49 48 50 49 namespace orxonox -
code/branches/core5/src/libraries/core/CorePrereqs.h
r5855 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the core library 32 33 */ 33 34 … … 40 41 // Shared library settings 41 42 //----------------------------------------------------------------------- 43 42 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( CORE_STATIC_BUILD ) 43 45 # ifdef CORE_SHARED_BUILD … … 56 58 #endif 57 59 58 59 //----------------------------------------------------------------------- 60 // Forward declarations 61 //----------------------------------------------------------------------- 60 //----------------------------------------------------------------------- 61 // Constants 62 //----------------------------------------------------------------------- 63 64 namespace orxonox 65 { 66 static const uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1); 67 } 68 69 //----------------------------------------------------------------------- 70 // Enums 71 //----------------------------------------------------------------------- 72 62 73 namespace orxonox 63 74 { … … 82 93 }; 83 94 }; 84 95 } 96 97 //----------------------------------------------------------------------- 98 // Forward declarations 99 //----------------------------------------------------------------------- 100 101 namespace orxonox 102 { 85 103 typedef std::string LanguageEntryLabel; 86 104 87 105 class ArgumentCompleter; 88 106 class ArgumentCompletionListElement; 89 class BaseMetaObjectListElement;90 107 class BaseObject; 91 108 template <class T> … … 98 115 class ClassTreeMaskObjectIterator; 99 116 class CommandEvaluation; 100 class CommandExecutor;101 117 class CommandLine; 102 118 class CommandLineArgument; … … 107 123 class ConfigFileManager; 108 124 class ConfigFileSection; 125 struct ConfigFileType; 109 126 class ConfigValueContainer; 110 127 class ConsoleCommand; … … 123 140 class FunctorMember; 124 141 class FunctorStatic; 142 class Game; 143 class GameState; 144 struct GameStateInfo; 145 struct GameStateTreeNode; 125 146 class GraphicsManager; 126 147 class GUIManager; … … 129 150 template <class T> 130 151 class Iterator; 131 class IteratorBase;132 152 class Language; 133 class LanguageEntry;134 class Loader;135 153 class LuaState; 136 154 class MemoryArchive; … … 164 182 class TclThreadManager; 165 183 class Template; 184 class Thread; 185 class ThreadPool; 166 186 template <class T> 167 187 class WeakPtr; … … 176 196 class XMLPortParamContainer; 177 197 178 // game states 179 class Game; 180 class GameState; 181 struct GameStateInfo; 182 struct GameStateTreeNode; 183 184 // input 198 // Input 185 199 class BaseCommand; 186 200 class BufferedParamCommand; 187 201 class Button; 188 class CalibratorCallback;189 202 class HalfAxis; 190 203 class InputBuffer; … … 195 208 class InputManager; 196 209 class InputState; 210 struct InputStatePriority; 211 class JoyStickQuantityListener; 197 212 class JoyStick; 213 class KeyBinder; 214 class Keyboard; 215 class KeyDetector; 216 class KeyEvent; 198 217 class Mouse; 199 class Keyboard;200 class KeyBinder;201 class KeyDetector;202 218 class ParamCommand; 203 219 class SimpleCommand; 204 205 206 // multithreading207 class Thread;208 class ThreadPool;209 220 } 210 221 … … 285 296 namespace orxonox 286 297 { 287 using ticpp::Document;288 298 using ticpp::Element; 289 using ticpp::Declaration; 290 using ticpp::StylesheetReference; 291 using ticpp::Text; 292 using ticpp::Comment; 293 using ticpp::Attribute; 294 } 295 299 } 296 300 297 301 #endif /* _CorePrereqs_H__ */ -
code/branches/core5/src/libraries/core/XMLPort.h
r5778 r5858 376 376 this->owner_->xmlAttributes_.clear(); 377 377 // Iterate through the attributes manually in order to make them case insensitive 378 Attribute* attribute = xmlelement.FirstAttribute(false);378 ticpp::Attribute* attribute = xmlelement.FirstAttribute(false); 379 379 while (attribute != 0) 380 380 { -
code/branches/core5/src/libraries/network/NetworkPrereqs.h
r5738 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the network library 32 33 */ 33 34 … … 40 41 // Shared library settings 41 42 //----------------------------------------------------------------------- 43 42 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( NETWORK_STATIC_BUILD ) 43 45 # ifdef NETWORK_SHARED_BUILD … … 57 59 58 60 //----------------------------------------------------------------------- 59 // Library global contants61 // Constants 60 62 //----------------------------------------------------------------------- 63 61 64 namespace orxonox 62 65 { 63 66 static const unsigned int GAMESTATEID_INITIAL = static_cast<unsigned int>(-1); 64 67 static const unsigned int CLIENTID_UNKNOWN = static_cast<unsigned int>(-2); 65 static const uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1); 68 } 69 70 //----------------------------------------------------------------------- 71 // Enums 72 //----------------------------------------------------------------------- 73 74 namespace orxonox 75 { 76 namespace packet 77 { 78 namespace PacketFlag 79 { 80 enum Value 81 { 82 Reliable = 1, 83 Unsequence = 2, 84 NoAllocate = 4 85 }; 86 } 87 } 66 88 } 67 89 … … 84 106 namespace orxonox 85 107 { 108 class ChatListener; 86 109 class Client; 87 110 class ClientConnection; 88 111 class ClientConnectionListener; 89 class ClientFrameListener;90 112 class ClientInformation; 91 113 class Connection; 92 114 class FunctionCallManager; 93 115 class GamestateClient; 116 class GamestateHandler; 94 117 class GamestateManager; 95 class GamestateHandler; 96 class NetworkCallbackBase; 97 template <class T> class NetworkCallback; 98 class NetworkCallbackManager; 118 class Host; 99 119 class NetworkFunctionBase; 120 struct NetworkFunctionPointer; 100 121 class NetworkFunctionStatic; 122 template <class T> 123 class NetworkMemberFunction; 101 124 class NetworkMemberFunctionBase; 102 template <class T> class NetworkMemeberFunction;103 struct NetworkFunctionPointer;104 125 class Server; 105 126 class ServerConnection; 106 class ServerFrameListener;107 class Synchronisable;108 class SynchronisableVariableBase;109 template <class T> class SynchronisableVariable;110 template <class T> class SynchronisableVariableBidirectional;111 struct ClientList;112 struct PacketEnvelope;113 struct QueueItem;114 struct syncData;115 127 class TrafficControl; 116 class obj;117 class objInfo;118 128 129 // packet 119 130 namespace packet 120 131 { … … 122 133 class Chat; 123 134 class ClassID; 135 class DeleteObjects; 124 136 class FunctionCalls; 125 137 class FunctionIDs; 126 138 class Gamestate; 127 class NetworkIDs;128 139 class Packet; 129 140 class Welcome; 141 } 130 142 131 namespace PacketFlag 132 { 133 enum Value 134 { 135 Reliable = 1, 136 Unsequence = 2, 137 NoAllocate = 4 138 }; 139 } 140 } 143 // synchronisable 144 template <class T> 145 class NetworkCallback; 146 class NetworkCallbackBase; 147 class NetworkCallbackManager; 148 class Synchronisable; 149 class SynchronisableHeader; 150 template <class T> 151 class SynchronisableVariable; 152 class SynchronisableVariableBase; 153 template <class T> 154 class SynchronisableVariableBidirectional; 141 155 } 142 156 -
code/branches/core5/src/libraries/tools/ToolsPrereqs.h
r5831 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the tools module 32 33 */ 33 34 … … 40 41 // Shared library settings 41 42 //----------------------------------------------------------------------- 43 42 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 43 45 # ifdef TOOLS_SHARED_BUILD … … 57 59 58 60 //----------------------------------------------------------------------- 59 // Forward declarations61 // Enums 60 62 //----------------------------------------------------------------------- 61 63 … … 72 74 }; 73 75 } 76 } 74 77 78 //----------------------------------------------------------------------- 79 // Forward declarations 80 //----------------------------------------------------------------------- 81 82 namespace orxonox 83 { 75 84 class BillboardSet; 76 85 class Mesh; 77 86 class ParticleInterface; 87 class ResourceCollection; 88 class ResourceLocation; 78 89 class Shader; 90 class Tickable; 91 class TimeFactorListener; 79 92 class Timer; 80 93 } -
code/branches/core5/src/libraries/util/Scope.h
r5850 r5858 39 39 namespace orxonox 40 40 { 41 namespace ScopeID42 {43 /**44 @brief A list of available scopes for the Scope template.45 */46 enum Value47 {48 Root,49 Graphics50 };51 }52 53 // Forward declarations54 class ScopeListener;55 class Clock;56 57 41 /** 58 42 @brief The ScopeManager stores the variables of the scope templates in a statically linked context. -
code/branches/core5/src/libraries/util/UtilPrereqs.h
r5855 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the util library 32 33 */ 33 34 … … 40 41 // Shared library settings 41 42 //----------------------------------------------------------------------- 43 42 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( UTIL_STATIC_BUILD ) 43 45 # ifdef UTIL_SHARED_BUILD … … 56 58 #endif 57 59 60 //----------------------------------------------------------------------- 61 // Enums 62 //----------------------------------------------------------------------- 63 64 namespace orxonox 65 { 66 namespace ScopeID 67 { 68 //!A list of available scopes for the Scope template. 69 enum Value 70 { 71 Root, 72 Graphics 73 }; 74 } 75 } 58 76 59 77 //----------------------------------------------------------------------- … … 72 90 class OutputBufferListener; 73 91 class OutputHandler; 92 template <ScopeID::Value> 93 class Scope; 94 template <class, ScopeID::Value> 95 class ScopedSingleton; 96 class ScopeListener; 74 97 class SignalHandler; 98 template <class T> 99 class Singleton; 75 100 class SubString; 76 101 }
Note: See TracChangeset
for help on using the changeset viewer.