Changeset 4539 in orxonox.OLD for orxonox/trunk/src/lib/lang
- Timestamp:
- Jun 7, 2005, 11:41:06 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/lang/base_object.h
r4470 r4539 28 28 void loadParams(const TiXmlElement* root); 29 29 30 void set ClassID(int id);31 void setClassName(const char* className);32 void setClassID(int id, const char* className);30 void setName (const char* newName); 31 /** \brief returns the Name of this Object */ 32 const char* getName (void)const { return this->objectName; }; 33 33 34 34 /** \returns the className of the corresponding Object */ … … 41 41 /** \returns if the object is finalized */ 42 42 inline bool isFinalized() { return this->finalized; } 43 44 45 protected: 46 void setClassID(int id); 47 void setClassName(const char* className); 48 void setClassID(int id, const char* className); 49 43 50 /** \brief this finalizes an object and makes it ready to be garbage collected */ 44 51 void finalize(void) { this->finalized = true; }; 45 46 void setName (const char* newName);47 /** \brief returns the Name of this Object */48 const char* getName (void)const { return this->objectName; };49 52 50 53 private:
Note: See TracChangeset
for help on using the changeset viewer.