- Timestamp:
- May 27, 2005, 1:18:46 AM (20 years ago)
- Location:
- orxonox/trunk/src/lib/lang
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/lang/base_object.cc
r4320 r4321 30 30 { 31 31 this->className = NULL; 32 this->id = -1; 32 33 this->finalized = false; 33 34 } … … 42 43 } 43 44 45 46 /** 47 \brief sets the class identifiers 48 \param a number for the class from class_list.h enumeration 49 \param the class name 50 */ 44 51 void BaseObject::setClassID(int id, const char* className) 45 52 { … … 49 56 50 57 58 /** 59 \brief sets the class identifier 60 \param a number for the class from class_list.h enumeration 61 */ 51 62 void BaseObject::setClassID (int id) 52 63 { … … 54 65 } 55 66 67 68 /** 69 \brief sets the class identifiers 70 \param the class name 71 */ 56 72 void BaseObject::setClassName(const char* className) 57 73 { … … 60 76 61 77 78 /** 79 \brief sets the class identifiers 80 \param a number for the class from class_list.h enumeration 81 \param the class name 82 */ 62 83 bool BaseObject::isA (char* className) 63 84 { … … 67 88 } 68 89 90 69 91 /* 70 bool BaseObject::isFinalized() 71 { 72 73 } 92 \brief this finalizes an object and makes it ready to be garbage collected 74 93 */ 75 76 94 void BaseObject::finalize() 77 95 { -
orxonox/trunk/src/lib/lang/base_object.h
r4320 r4321 29 29 30 30 private: 31 const char* className;32 int id;33 bool finalized;31 const char* className; //!< the name of the class 32 int id; //!< this is the id from the class_list.h enumeration 33 bool finalized; //!< is true if the object is ready to be garbage collected 34 34 }; 35 35
Note: See TracChangeset
for help on using the changeset viewer.