Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchie/src/test2.h @ 225

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
RevLine 
[197]1#ifndef _Test2_H__
2#define _Test2_H__
3
4#include "BaseObject.h"
5
6namespace orxonox
7{
8    class Test3;
9
10    class Test2 : public BaseObject
11    {
12        public:
13            Test2();
14            virtual ~Test2();
15
16            bool usefullClass1isA(Identifier* identifier);
17            bool usefullClass2isA(Identifier* identifier);
18            bool usefullClass3isA(Identifier* identifier);
19            void setUsefullClass1(Identifier* identifier);
20            void setUsefullClass2(Identifier* identifier);
21            void setUsefullClassOfTypeTest3(Identifier* identifier);
22
23        private:
24            Identifier* usefullClass1_;
25            Identifier* usefullClass2_;
26            BaseIdentifier<Test3> usefullClass3_;
27
28    };
29}
30
31#endif
Note: See TracBrowser for help on using the repository browser.