Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 1, 2005, 11:40:19 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: objectName is now a property of BaseObject, because pNode has nothing to do with a name

File:
1 edited

Legend:

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

    r4382 r4435  
    3131  void finalize();
    3232
     33  void setName (const char* newName);
     34  const char* getName (void)const { return this->objectName; };
     35
    3336 private:
    34   const char*    className;                       //!< the name of the class
    35   int            id;                              //!< this is the id from the class_list.h enumeration
    36   bool           finalized;                       //!< is true if the object is ready to be garbage collected
     37  const char*    className;        //!< the name of the class
     38  int            id;               //!< this is the id from the class_list.h enumeration
     39  bool           finalized;        //!< is true if the object is ready to be garbage collected
     40
     41  char*    objectName;                   //!< The name of this object               
    3742};
    3843
Note: See TracChangeset for help on using the changeset viewer.