Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 30, 2005, 4:38:33 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: BaseObject now only knows setClassID → standartisation

File:
1 edited

Legend:

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

    r4595 r4742  
    44
    55    This is a global handler for all classes.
    6 
    7     \todo isA()
    86*/
    97
     
    1210#define _BASE_OBJECT_H
    1311
    14 #include "class_list.h"
     12#include "class_id.h"
    1513#ifndef NULL
    1614#define NULL 0x0        //!< NULL
     
    4543
    4644 protected:
    47   void setClassID(long classID);
    48   void setClassName(const char* className);
    4945  void setClassID(long classID, const char* className);
    5046
     
    5248  void finalize(void) { this->finalized = true; };
    5349
    54  private:
    55   const char*    className;        //!< the name of the class
    56   long           classID;          //!< this is the id from the class_list.h enumeration
    57   char*          objectName;       //!< The name of this object
     50  private:
     51    static void addToClassList(BaseObject* object, ClassID id, const char* className);
    5852
    59   bool           finalized;        //!< is true if the object is ready to be garbage collected
     53  private:
     54    const char*        className;        //!< the name of the class
     55    long               classID;          //!< this is the id from the class_list.h enumeration
     56    char*              objectName;       //!< The name of this object
     57
     58    bool               finalized;        //!< is true if the object is ready to be garbage collected
     59
     60//    static ClassList*  classList;
    6061};
    6162
Note: See TracChangeset for help on using the changeset viewer.