Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

synchronizeable: added macros to help write/read data

Location:
branches/network/src/lib/lang
Files:
2 edited

Legend:

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

    r6257 r6275  
    7575  this->classID |= (long)classID;
    7676  this->className = className;
    77   this->realClassID = classID;
    7877
    7978  ClassList::addToClassList(this, classID, className);
  • 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.