Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4539 in orxonox.OLD for orxonox/trunk/src/lib/lang/base_object.h


Ignore:
Timestamp:
Jun 7, 2005, 11:41:06 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: added some missing files to the Makefile.am's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/lang/base_object.h

    r4470 r4539  
    2828  void loadParams(const TiXmlElement* root);
    2929
    30   void setClassID(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; };
    3333
    3434  /** \returns the className of the corresponding Object */
     
    4141  /** \returns if the object is finalized */
    4242  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
    4350  /** \brief this finalizes an object and makes it ready to be garbage collected */
    4451  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; };
    4952
    5053 private:
Note: See TracChangeset for help on using the changeset viewer.