Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/core/CorePrereqs.h @ 1810

Last change on this file since 1810 was 1757, checked in by landauf, 16 years ago

added ClassTreeMaskObjectIterator
this iterator iterates through all objects of all classes, included by a given ClassTreeMask.

Note: The ClassTreeMaskObjectIterator is fast if you only include classes. If you exclude a subclass of an included class, the performance is not that good.
If we'll use this more often, we have to think about a new implementation, using a second ObjectList with all objects of exactly one class.

Additionally, there is a small change in MultiType.h

  • Property svn:eol-style set to native
File size: 4.4 KB
RevLine 
[682]1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
[1502]3 *                    > www.orxonox.net <
[682]4 *
5 *
6 *   License notice:
7 *
8 *   This program is free software; you can redistribute it and/or
9 *   modify it under the terms of the GNU General Public License
10 *   as published by the Free Software Foundation; either version 2
11 *   of the License, or (at your option) any later version.
12 *
13 *   This program is distributed in the hope that it will be useful,
14 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 *   GNU General Public License for more details.
17 *
18 *   You should have received a copy of the GNU General Public License
19 *   along with this program; if not, write to the Free Software
20 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 *
22 *   Author:
23 *      Reto Grieder
24 *   Co-authors:
25 *      ...
26 *
27 */
28
29/**
[1024]30  @file
31  @brief Contains all the necessary forward declarations for all classes and structs.
[871]32*/
[682]33
34#ifndef _CorePrereqs_H__
35#define _CorePrereqs_H__
36
[1502]37#include "util/OrxonoxPlatform.h"
[1062]38
[1024]39#include <string>
[682]40
[728]41//-----------------------------------------------------------------------
42// Shared library settings
43//-----------------------------------------------------------------------
44#if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( CORE_STATIC_BUILD )
45#  ifdef CORE_SHARED_BUILD
46#    define _CoreExport __declspec(dllexport)
47#  else
48#    if defined( __MINGW32__ )
49#      define _CoreExport
50#    else
51#      define _CoreExport __declspec(dllimport)
52#    endif
53#  endif
54#elif defined ( ORXONOX_GCC_VISIBILITY )
55#  define _CoreExport  __attribute__ ((visibility("default")))
56#else
57#  define _CoreExport
58#endif
[682]59
[728]60
[682]61//-----------------------------------------------------------------------
[728]62// Forward declarations
63//-----------------------------------------------------------------------
64namespace orxonox
[684]65{
[1052]66  namespace XMLPort
67  {
68    enum Mode
69    {
70      LoadObject,
71      SaveObject
72    };
73  }
74
[1502]75  namespace KeybindMode
76  {
77    enum Enum
78    {
79      OnPress,
80      OnHold,
81      OnRelease,
82      None
83    };
84  };
[1349]85
[1024]86  typedef std::string LanguageEntryLabel;
87
[1502]88  class ArgumentCompleter;
89  class ArgumentCompletionListElement;
[682]90  class BaseFactory;
91  class BaseMetaObjectListElement;
[1024]92  class BaseObject;
[682]93  template <class T>
94  class ClassFactory;
95  template <class T>
[1024]96  class ClassIdentifier;
[871]97  class ClassTreeMask;
[1024]98  class ClassTreeMaskIterator;
99  class ClassTreeMaskNode;
[1757]100  class ClassTreeMaskObjectIterator;
[1755]101  class Clock;
[1052]102  class CommandEvaluation;
103  class CommandExecutor;
[1755]104  class CommandLine;
105  class BaseCommandLineArgument;
106  template <class T>
107  class CommandLineArgument;
[1052]108  class ConfigFile;
109  class ConfigFileEntry;
110  class ConfigFileEntryComment;
111  class ConfigFileEntryValue;
112  class ConfigFileManager;
113  class ConfigFileSection;
[682]114  class ConfigValueContainer;
[1502]115  class ConsoleCommand;
[1535]116  class Core;
[1024]117  class Executor;
[1052]118  template <class T>
119  class ExecutorMember;
120  class ExecutorStatic;
[1024]121  class Factory;
[1052]122  class Functor;
123  template <class T>
124  class FunctorMember;
125  class FunctorStatic;
[1024]126  class Identifier;
[1502]127  class IRC;
[682]128  template <class T>
[728]129  class Iterator;
[1747]130  class IteratorBase;
[728]131  class Language;
[1024]132  class LanguageEntry;
133  class Level;
134  class Loader;
[682]135  class MetaObjectList;
136  class MetaObjectListElement;
[1052]137  class Namespace;
138  class NamespaceNode;
[682]139  template <class T>
140  class ObjectList;
[1747]141  class ObjectListBase;
142  class ObjectListBaseElement;
[682]143  template <class T>
144  class ObjectListElement;
[1747]145  template <class T>
146  class ObjectListIterator;
[728]147  class OrxonoxClass;
[1052]148  class Shell;
[1502]149  class ShellListener;
[682]150  template <class T>
[1502]151  class SubclassIdentifier;
[1214]152  class TclBind;
[1502]153  struct TclInterpreterBundle;
154  class TclThreadManager;
[1024]155  class Tickable;
156  template <class T, class O>
157  class XMLPortClassObjectContainer;
158  template <class T>
159  class XMLPortClassParamContainer;
160  class XMLPortObjectContainer;
161  class XMLPortParamContainer;
[1219]162
[1755]163  // game states
164  class GameStateBase;
165  template <class ParentType>
166  class GameState;
167  class RootGameState;
168
[1219]169  // input
[1535]170  class BaseCommand;
171  class BufferedParamCommand;
172  class Button;
[1502]173  class CalibratorCallback;
[1755]174  class ExtendedInputState;
[1535]175  class HalfAxis;
[1219]176  class InputBuffer;
177  class InputManager;
[1755]178  class InputState;
[1293]179  class JoyStickHandler;
[1535]180  class MouseHandler;
[1219]181  class KeyBinder;
[1502]182  class KeyDetector;
[1535]183  class KeyHandler;
184  class ParamCommand;
185  class SimpleCommand;
[1755]186  class SimpleInputState;
[682]187}
188
189#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.