Last change
on this file since 4261 was
4261,
checked in by bensch, 19 years ago
|
orxonox/trunk: merged the levelLoader-branche back into the trunk, because it seems to be stable.
merged with command:
svn merge -r 4230:HEAD levelLoader ../trunk
no conflicts of any interesst
|
File size:
563 bytes
|
Rev | Line | |
---|
[3302] | 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 | |
---|
[3609] | 10 | #include "stdincl.h" |
---|
[3302] | 11 | |
---|
| 12 | |
---|
| 13 | class BaseObject { |
---|
| 14 | |
---|
| 15 | public: |
---|
| 16 | BaseObject (); |
---|
[3531] | 17 | virtual ~BaseObject (); |
---|
[3302] | 18 | |
---|
[4261] | 19 | void setClassName (const char* className); |
---|
| 20 | inline const char* getClassName(void) const { return this->className;}; |
---|
[3302] | 21 | bool isA (char* className); |
---|
| 22 | |
---|
[3651] | 23 | inline bool isFinalized() { return this->finalized; } |
---|
[3646] | 24 | void finalize(); |
---|
| 25 | |
---|
[3302] | 26 | private: |
---|
[4261] | 27 | const char* className; |
---|
[3646] | 28 | bool finalized; |
---|
[3302] | 29 | }; |
---|
| 30 | |
---|
| 31 | #endif /* _BASE_OBJECT_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.