Changeset 4742 in orxonox.OLD for orxonox/trunk/src/lib/lang/base_object.h
- Timestamp:
- Jun 30, 2005, 4:38:33 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/lang/base_object.h
r4595 r4742 4 4 5 5 This is a global handler for all classes. 6 7 \todo isA()8 6 */ 9 7 … … 12 10 #define _BASE_OBJECT_H 13 11 14 #include "class_ list.h"12 #include "class_id.h" 15 13 #ifndef NULL 16 14 #define NULL 0x0 //!< NULL … … 45 43 46 44 protected: 47 void setClassID(long classID);48 void setClassName(const char* className);49 45 void setClassID(long classID, const char* className); 50 46 … … 52 48 void finalize(void) { this->finalized = true; }; 53 49 54 private: 55 const char* className; //!< the name of the class 56 long classID; //!< this is the id from the class_list.h enumeration 57 char* objectName; //!< The name of this object 50 private: 51 static void addToClassList(BaseObject* object, ClassID id, const char* className); 58 52 59 bool finalized; //!< is true if the object is ready to be garbage collected 53 private: 54 const char* className; //!< the name of the class 55 long classID; //!< this is the id from the class_list.h enumeration 56 char* objectName; //!< The name of this object 57 58 bool finalized; //!< is true if the object is ready to be garbage collected 59 60 // static ClassList* classList; 60 61 }; 61 62
Note: See TracChangeset
for help on using the changeset viewer.