Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 25, 2005, 2:46:33 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: ClassList now supports getLeafID() to retriefe the ID on hot to generate an object of the same type

File:
1 edited

Legend:

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

    r6077 r6280  
    1717
    1818class TiXmlElement;
     19class ClassList;
    1920
    2021//! A class all other classes are derived from
     
    3435  /** @returns the classID of the corresponding Object */
    3536  inline int getClassID() const { return this->classID; };
     37  ClassID    getLeafClassID() const;
    3638
    3739  bool isA (ClassID classID) const;
     
    5052    long               classID;          //!< this is the id from the class_id.h enumeration
    5153    char*              objectName;       //!< The name of this object
     54
     55    ClassList*         classList;        //!< Pointer to the ClassList this Object is inside of
    5256};
    5357
Note: See TracChangeset for help on using the changeset viewer.