Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1895 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
Line 
1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
3 *                    > www.orxonox.net <
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/**
30  @file
31  @brief Contains all the necessary forward declarations for all classes and structs.
32*/
33
34#ifndef _CorePrereqs_H__
35#define _CorePrereqs_H__
36
37#include "util/OrxonoxPlatform.h"
38
39#include <string>
40
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
59
60
61//-----------------------------------------------------------------------
62// Forward declarations
63//-----------------------------------------------------------------------
64namespace orxonox
65{
66  namespace XMLPort
67  {
68    enum Mode
69    {
70      LoadObject,
71      SaveObject
72    };
73  }
74
75  namespace KeybindMode
76  {
77    enum Enum
78    {
79      OnPress,
80      OnHold,
81      OnRelease,
82      None
83    };
84  };
85
86  typedef std::string LanguageEntryLabel;
87
88  class ArgumentCompleter;
89  class ArgumentCompletionListElement;
90  class BaseFactory;
91  class BaseMetaObjectListElement;
92  class BaseObject;
93  template <class T>
94  class ClassFactory;
95  template <class T>
96  class ClassIdentifier;
97  class ClassTreeMask;
98  class ClassTreeMaskIterator;
99  class ClassTreeMaskNode;
100  class ClassTreeMaskObjectIterator;
101  class Clock;
102  class CommandEvaluation;
103  class CommandExecutor;
104  class CommandLine;
105  class BaseCommandLineArgument;
106  template <class T>
107  class CommandLineArgument;
108  class ConfigFile;
109  class ConfigFileEntry;
110  class ConfigFileEntryComment;
111  class ConfigFileEntryValue;
112  class ConfigFileManager;
113  class ConfigFileSection;
114  class ConfigValueContainer;
115  class ConsoleCommand;
116  class Core;
117  class Executor;
118  template <class T>
119  class ExecutorMember;
120  class ExecutorStatic;
121  class Factory;
122  class Functor;
123  template <class T>
124  class FunctorMember;
125  class FunctorStatic;
126  class Identifier;
127  class IRC;
128  template <class T>
129  class Iterator;
130  class IteratorBase;
131  class Language;
132  class LanguageEntry;
133  class Level;
134  class Loader;
135  class MetaObjectList;
136  class MetaObjectListElement;
137  class Namespace;
138  class NamespaceNode;
139  template <class T>
140  class ObjectList;
141  class ObjectListBase;
142  class ObjectListBaseElement;
143  template <class T>
144  class ObjectListElement;
145  template <class T>
146  class ObjectListIterator;
147  class OrxonoxClass;
148  class Shell;
149  class ShellListener;
150  template <class T>
151  class SubclassIdentifier;
152  class TclBind;
153  struct TclInterpreterBundle;
154  class TclThreadManager;
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;
162
163  // game states
164  class GameStateBase;
165  template <class ParentType>
166  class GameState;
167  class RootGameState;
168
169  // input
170  class BaseCommand;
171  class BufferedParamCommand;
172  class Button;
173  class CalibratorCallback;
174  class ExtendedInputState;
175  class HalfAxis;
176  class InputBuffer;
177  class InputManager;
178  class InputState;
179  class JoyStickHandler;
180  class MouseHandler;
181  class KeyBinder;
182  class KeyDetector;
183  class KeyHandler;
184  class ParamCommand;
185  class SimpleCommand;
186  class SimpleInputState;
187}
188
189#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.