Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6275 in orxonox.OLD for branches/network/src/lib/lang/base_object.h


Ignore:
Timestamp:
Dec 24, 2005, 2:15:49 PM (18 years ago)
Author:
rennerc
Message:

synchronizeable: added macros to help write/read data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/lang/base_object.h

    r6257 r6275  
    3434  /** @returns the classID of the corresponding Object */
    3535  inline int getClassID() const { return this->classID; };
    36   inline int getRealClassID() const { return this->realClassID; };
     36  inline ClassID getLeafID() { return (ClassID)(this->classID & CL_MASK_LOWLEVEL_CLASS); }
    3737
    3838  bool isA (ClassID classID) const;
     
    5050    const char*        className;        //!< the name of the class
    5151    long               classID;          //!< this is the id from the class_id.h enumeration
    52     long               realClassID;      //!< classID which can be used with factory
    5352    char*              objectName;       //!< The name of this object
    5453};
Note: See TracChangeset for help on using the changeset viewer.