Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/physics/src/lib/lang/base_object.h @ 4283

Last change on this file since 4283 was 4283, checked in by bensch, 19 years ago

orxonox/branches/physics: merged the trunk back to branches/physics
merged with command
svn merge -r 4223:HEAD ../../trunk/ .
conflicts additively included

File size: 563 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
13class BaseObject {
14
15 public:
16  BaseObject ();
17  virtual ~BaseObject ();
18
19  void setClassName (const char* className);
20  inline const char* getClassName(void) const { return this->className;};
21  bool isA (char* className);
22
23  inline bool isFinalized() { return this->finalized; }
24  void finalize();
25
26 private:
27  const char* className;
28  bool finalized;
29};
30
31#endif /* _BASE_OBJECT_H */
Note: See TracBrowser for help on using the repository browser.