Last change
on this file since 248 was
242,
checked in by landauf, 17 years ago
|
renamed "BaseIdentifier" to "SubclassIdentifier" to avoid misunderstandings
|
File size:
777 bytes
|
Line | |
---|
1 | #ifndef _Test1_H__ |
---|
2 | #define _Test1_H__ |
---|
3 | |
---|
4 | #include "BaseObject.h" |
---|
5 | #include "test3.h" |
---|
6 | |
---|
7 | namespace orxonox |
---|
8 | { |
---|
9 | class Test1 : public BaseObject |
---|
10 | { |
---|
11 | public: |
---|
12 | Test1(); |
---|
13 | virtual ~Test1(); |
---|
14 | |
---|
15 | bool usefullClass1isA(Identifier* identifier); |
---|
16 | bool usefullClass2isA(Identifier* identifier); |
---|
17 | bool usefullClass3isA(Identifier* identifier); |
---|
18 | void setUsefullClass1(Identifier* identifier); |
---|
19 | void setUsefullClass2(Identifier* identifier); |
---|
20 | void setUsefullClassOfTypeTest3(Identifier* identifier); |
---|
21 | |
---|
22 | private: |
---|
23 | Identifier* usefullClass1_; |
---|
24 | Identifier* usefullClass2_; |
---|
25 | SubclassIdentifier<Test3> usefullClass3_; |
---|
26 | |
---|
27 | }; |
---|
28 | } |
---|
29 | |
---|
30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.