Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchie/src/Test.h @ 162

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

it starts to work, but there is still much to do.

@bensch: thanks for you mail, but i can't tell you much at the moment - i'm still changing lots of things and i have no idea if everything will work as intendet, so i'll write you as soon as i have reliable informations :)
</abuse log for pms>

File size: 2.5 KB
Line 
1#ifndef _Test_H__
2#define _Test_H__
3
4
5#include "BaseObject.h"
6#include "ClassHierarchy.h"
7#include "OrxonoxClass.h"
8
9namespace orxonox
10{
11    class Interface1 : virtual public OrxonoxClass
12    {
13        public:
14            Interface1() { registerRootObject(Interface1); }
15    };
16
17    class Interface2 : virtual public OrxonoxClass
18    {
19        public:
20            Interface2() { registerRootObject(Interface2); }
21    };
22
23    class A1 : public BaseObject
24    {
25        public:
26            A1() { registerObject(A1); }
27    };
28
29    class A2 : public BaseObject
30    {
31        public:
32            A2() { registerObject(A2); }
33    };
34
35    class A3: public BaseObject, public Interface1
36    {
37        public:
38            A3() { registerObject(A3); }
39    };
40
41    class A1B1 : public A1
42    {
43        public:
44            A1B1() { registerObject(A1B1); }
45    };
46
47    class A1B2 : public A1
48    {
49        public:
50            A1B2() { registerObject(A1B2); }
51    };
52
53    class A2B1 : public A2
54    {
55        public:
56            A2B1() { registerObject(A2B1); }
57    };
58
59    class A2B2 : public A2, Interface1
60    {
61        public:
62            A2B2() { registerObject(A2B2); }
63    };
64
65    class A3B1 : public A3
66    {
67        public:
68            A3B1() { registerObject(A3B1); }
69    };
70
71    class A3B2 : public A3, Interface2
72    {
73        public:
74            A3B2() { registerObject(A3B2); }
75    };
76
77    class A1B1C1 : public A1B1
78    {
79        public:
80            A1B1C1() { registerObject(A1B1C1); }
81    };
82
83    class A1B1C2 : public A1B1
84    {
85        public:
86            A1B1C2() { registerObject(A1B1C2); }
87    };
88
89    class A1B2C1 : public A1B2
90    {
91        public:
92            A1B2C1() { registerObject(A1B2C1); }
93    };
94
95    class A2B1C1 : public A2B1, Interface2
96    {
97        public:
98            A2B1C1() { registerObject(A2B1C1); }
99    };
100
101    class A2B2C1 : public A2B2
102    {
103        public:
104            A2B2C1() { registerObject(A2B2C1); }
105    };
106
107    class A3B1C1 : public A3B1
108    {
109        public:
110            A3B1C1() { registerObject(A3B1C1); }
111    };
112
113    class A3B1C2 : public A3B1, Interface2
114    {
115        public:
116            A3B1C2() { registerObject(A3B1C2); }
117    };
118
119    class A3B2C1 : public A3B2
120    {
121        public:
122            A3B2C1() { registerObject(A3B2C1); }
123    };
124
125    class A3B2C2 : public A3B2
126    {
127        public:
128            A3B2C2() { registerObject(A3B2C2); }
129    };
130}
131
132#endif
Note: See TracBrowser for help on using the repository browser.