Last change
on this file since 3746 was
3746,
checked in by chris, 19 years ago
|
orxonox/branches/levelloader: Merged trunk into branch… still not working though…
|
File size:
511 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 | |
---|
| 10 | #include "stdincl.h" |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | class BaseObject { |
---|
| 14 | |
---|
| 15 | public: |
---|
| 16 | BaseObject (); |
---|
[3605] | 17 | virtual ~BaseObject (); |
---|
[3302] | 18 | |
---|
| 19 | void setClassName (char* className); |
---|
[3442] | 20 | char* getClassName(void) const; |
---|
[3302] | 21 | bool isA (char* className); |
---|
| 22 | |
---|
[3746] | 23 | inline bool isFinalized() { return this->finalized; } |
---|
| 24 | void finalize(); |
---|
| 25 | |
---|
[3302] | 26 | private: |
---|
| 27 | char* className; |
---|
[3746] | 28 | bool finalized; |
---|
[3302] | 29 | }; |
---|
| 30 | |
---|
| 31 | #endif /* _BASE_OBJECT_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.