Last change
on this file since 782 was
774,
checked in by rgrieder, 17 years ago
|
- changed executable from main to orxonox
- added src/orxonox to the include directories
|
File size:
1023 bytes
|
Rev | Line | |
---|
[197] | 1 | #ifndef _Test2_H__ |
---|
| 2 | #define _Test2_H__ |
---|
| 3 | |
---|
[774] | 4 | #include "core/BaseObject.h" |
---|
[768] | 5 | #include "../tools/Timer.h" |
---|
[197] | 6 | |
---|
| 7 | namespace orxonox |
---|
| 8 | { |
---|
| 9 | class Test3; |
---|
| 10 | |
---|
| 11 | class Test2 : public BaseObject |
---|
| 12 | { |
---|
| 13 | public: |
---|
| 14 | Test2(); |
---|
| 15 | virtual ~Test2(); |
---|
| 16 | |
---|
| 17 | bool usefullClass1isA(Identifier* identifier); |
---|
| 18 | bool usefullClass2isA(Identifier* identifier); |
---|
| 19 | bool usefullClass3isA(Identifier* identifier); |
---|
| 20 | void setUsefullClass1(Identifier* identifier); |
---|
| 21 | void setUsefullClass2(Identifier* identifier); |
---|
| 22 | void setUsefullClassOfTypeTest3(Identifier* identifier); |
---|
| 23 | |
---|
[384] | 24 | void timerFunction1(); |
---|
| 25 | void timerFunction2(); |
---|
| 26 | void timerFunction3(); |
---|
| 27 | |
---|
[197] | 28 | private: |
---|
| 29 | Identifier* usefullClass1_; |
---|
| 30 | Identifier* usefullClass2_; |
---|
[242] | 31 | SubclassIdentifier<Test3> usefullClass3_; |
---|
[197] | 32 | |
---|
[384] | 33 | Timer<Test2> timer1; |
---|
| 34 | Timer<Test2> timer2; |
---|
| 35 | Timer<Test2> timer3; |
---|
[197] | 36 | }; |
---|
| 37 | } |
---|
| 38 | |
---|
| 39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.