Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4752 in orxonox.OLD for orxonox/trunk/src/lib/lang/class_list.h


Ignore:
Timestamp:
Jul 1, 2005, 7:07:43 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: heavy business. The Objects are now aligned along a List for the BaseObjects, this will be taken out in the next commit, because it is f much debug

File:
1 edited

Legend:

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

    r4748 r4752  
    3030    static void removeFromClassList(BaseObject* objectPointer);
    3131
    32     static void debug();
     32    static void debug(unsigned int debugLevel = 0);
    3333
    3434  private:
    35     //! a Struct for Lists of Objects
    36     struct ObjectList
    37     {
    38       BaseObject*            pointerToObject;        //! Pointer to the Object
    39       ObjectList*            next;                   //!< pointer to the next Object in the List
    40     };
     35    tList<BaseObject>*       objectList;             //!< A list of Objects belonging to this Class
    4136
    4237    long                     classID;                //!< ClassID stored in this ClassList \see ClassID
     
    4540    ClassList*               next;                   //!< Pointer to the next class in the List
    4641
    47     unsigned int             objectCount;            //!< how many Objects of this particular Object have been loaded??
    48 
    49 
     42    // STATIC MEMBERS
    5043    static ClassList*        first;                  //!< The first Class in the List (should be BaseObject)
    5144    static unsigned int      classCount;             //!< The Count of classes that have been registered (should match the lower description)
    52 
    5345};
    5446
Note: See TracChangeset for help on using the changeset viewer.