Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN_test/src/orxonox/objects/Test.h @ 754

Last change on this file since 754 was 734, checked in by rgrieder, 17 years ago
  • blubfixb
File size: 3.7 KB
Line 
1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
3 *
4 *
5 *   License notice:
6 *
7 *   This program is free software; you can redistribute it and/or
8 *   modify it under the terms of the GNU General Public License
9 *   as published by the Free Software Foundation; either version 2
10 *   of the License, or (at your option) any later version.
11 *
12 *   This program is distributed in the hope that it will be useful,
13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *   GNU General Public License for more details.
16 *
17 *   You should have received a copy of the GNU General Public License
18 *   along with this program; if not, write to the Free Software
19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 *
21 *   Author:
22 *      Fabian 'x3n' Landau
23 *   Co-authors:
24 *      ...
25 *
26 */
27
28#ifndef _Test_H__
29#define _Test_H__
30
31#include "orxonox/core/BaseObject.h"
32#include "../core/CoreIncludes.h"
33
34namespace orxonox
35{
36    class Interface1 : virtual public OrxonoxClass
37    {
38        protected:
39            Interface1() { RegisterRootObject(Interface1); }
40    };
41
42    class Interface2 : virtual public OrxonoxClass
43    {
44        protected:
45            Interface2() { RegisterRootObject(Interface2); }
46    };
47
48    class A1 : public BaseObject
49    {
50        public:
51            A1() { RegisterObject(A1); }
52    };
53
54    class A2 : public BaseObject
55    {
56        public:
57            A2() { RegisterObject(A2); }
58    };
59
60    class A3: public BaseObject, public Interface1
61    {
62        public:
63            A3() { RegisterObject(A3); }
64    };
65
66    class A1B1 : public A1
67    {
68        public:
69            A1B1() { RegisterObject(A1B1); }
70    };
71
72    class A1B2 : public A1
73    {
74        public:
75            A1B2() { RegisterObject(A1B2); }
76    };
77
78    class A2B1 : public A2
79    {
80        public:
81            A2B1() { RegisterObject(A2B1); }
82    };
83
84    class A2B2 : public A2, Interface1
85    {
86        public:
87            A2B2() { RegisterObject(A2B2); }
88    };
89
90    class A3B1 : public A3
91    {
92        public:
93            A3B1() { RegisterObject(A3B1); }
94    };
95
96    class A3B2 : public A3, Interface2
97    {
98        public:
99            A3B2() { RegisterObject(A3B2); }
100    };
101
102    class A1B1C1 : public A1B1
103    {
104        public:
105            A1B1C1() { RegisterObject(A1B1C1); }
106    };
107
108    class A1B1C2 : public A1B1
109    {
110        public:
111            A1B1C2() { RegisterObject(A1B1C2); }
112    };
113
114    class A1B2C1 : public A1B2
115    {
116        public:
117            A1B2C1() { RegisterObject(A1B2C1); }
118    };
119
120    class A2B1C1 : public A2B1, Interface2
121    {
122        public:
123            A2B1C1() { RegisterObject(A2B1C1); }
124    };
125
126    class A2B2C1 : public A2B2
127    {
128        public:
129            A2B2C1() { RegisterObject(A2B2C1); }
130    };
131
132    class A3B1C1 : public A3B1
133    {
134        public:
135            A3B1C1() { RegisterObject(A3B1C1); }
136    };
137
138    class A3B1C2 : public A3B1, Interface2
139    {
140        public:
141            A3B1C2() { RegisterObject(A3B1C2); }
142    };
143
144    class A3B2C1 : public A3B2
145    {
146        public:
147            A3B2C1() { RegisterObject(A3B2C1); }
148    };
149
150    class A3B2C2 : public A3B2
151    {
152        public:
153            A3B2C2() { RegisterObject(A3B2C2); }
154    };
155
156    CreateFactory(A1);
157    CreateFactory(A2);
158    CreateFactory(A3);
159    CreateFactory(A1B1);
160    CreateFactory(A1B2);
161    CreateFactory(A2B1);
162    CreateFactory(A2B2);
163    CreateFactory(A3B1);
164    CreateFactory(A3B2);
165    CreateFactory(A1B1C1);
166    CreateFactory(A1B1C2);
167    CreateFactory(A1B2C1);
168    CreateFactory(A2B1C1);
169    CreateFactory(A2B2C1);
170    CreateFactory(A3B1C1);
171    CreateFactory(A3B1C2);
172    CreateFactory(A3B2C1);
173    CreateFactory(A3B2C2);
174}
175
176#endif
Note: See TracBrowser for help on using the repository browser.