Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial/src/orxonox/objects/test2.h @ 2254

Last change on this file since 2254 was 859, checked in by landauf, 17 years ago

more or less a copy of the trunk

File size: 1023 bytes
Line 
1#ifndef _Test2_H__
2#define _Test2_H__
3
4#include "core/BaseObject.h"
5#include "../tools/Timer.h"
6
7namespace 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
24            void timerFunction1();
25            void timerFunction2();
26            void timerFunction3();
27
28        private:
29            Identifier* usefullClass1_;
30            Identifier* usefullClass2_;
31            SubclassIdentifier<Test3> usefullClass3_;
32
33            Timer<Test2> timer1;
34            Timer<Test2> timer2;
35            Timer<Test2> timer3;
36    };
37}
38
39#endif
Note: See TracBrowser for help on using the repository browser.