Last change
on this file since 225 was
197,
checked in by landauf, 17 years ago
|
i didnt changed much:
- separated the classes into several files
- did some tests: it works with cc files (@ bensch)
- finished BaseIdentifier
|
File size:
773 bytes
|
Rev | Line | |
---|
[197] | 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 | BaseIdentifier<Test3> usefullClass3_; |
---|
| 26 | |
---|
| 27 | }; |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.