Last change
on this file since 3586 was
3544,
checked in by bensch, 20 years ago
|
orxonox/trunk: now the delete-process is as inteded by c++
virtual ~ClassName extends deletion and deletes also the MasterClass
|
File size:
418 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \file proto_class.h |
---|
3 | \brief Definition of the proto class template, used quickly start work |
---|
4 | */ |
---|
5 | |
---|
6 | |
---|
7 | #ifndef _BASE_OBJECT_H |
---|
8 | #define _BASE_OBJECT_H |
---|
9 | |
---|
10 | #include "stdincl.h" |
---|
11 | |
---|
12 | |
---|
13 | class BaseObject { |
---|
14 | |
---|
15 | public: |
---|
16 | BaseObject (); |
---|
17 | virtual ~BaseObject (); |
---|
18 | |
---|
19 | void setClassName (char* className); |
---|
20 | char* getClassName(void) const; |
---|
21 | bool isA (char* className); |
---|
22 | |
---|
23 | private: |
---|
24 | char* className; |
---|
25 | |
---|
26 | }; |
---|
27 | |
---|
28 | #endif /* _BASE_OBJECT_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.