Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4744 in orxonox.OLD for orxonox/trunk/src/lib/lang


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

orxonox/trunk: classList.h some definitions

Location:
orxonox/trunk/src/lib/lang
Files:
4 edited

Legend:

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

    r4742 r4744  
    6363/**
    6464   \brief sets the class identifiers
    65    \param id a number for the class from class_list.h enumeration
     65   \param id a number for the class from class_id.h enumeration
    6666   \param className the class name
    6767*/
  • orxonox/trunk/src/lib/lang/base_object.h

    r4742 r4744  
    4949
    5050  private:
    51     static void addToClassList(BaseObject* object, ClassID id, const char* className);
    52 
    53   private:
    5451    const char*        className;        //!< the name of the class
    55     long               classID;          //!< this is the id from the class_list.h enumeration
     52    long               classID;          //!< this is the id from the class_id.h enumeration
    5653    char*              objectName;       //!< The name of this object
    5754
    5855    bool               finalized;        //!< is true if the object is ready to be garbage collected
    59 
    60 //    static ClassList*  classList;
    6156};
    6257
  • orxonox/trunk/src/lib/lang/class_list.cc

    r4743 r4744  
    3030      don't forget to:
    3131       1. Add the new file new_class.cc to the ./src/Makefile.am
    32        2. Add the class identifier to ./src/class_list.h eg. CL_NEW_CLASS
     32       2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS
    3333
    3434      Advanced Topics:
  • orxonox/trunk/src/lib/lang/class_list.h

    r4743 r4744  
    88#define _CLASS_LIST_H
    99
     10#include "class_id.h"
     11
    1012// FORWARD DEFINITION
    11 
     13class BaseObject;
     14template<class T> class tList;
    1215
    1316
     
    2023
    2124
     25  void addToClassList(BaseObject* objectPointer, ClassID classID, const char* className);
    2226 private:
     27   static ClassList* first;
     28   static ClassList* last;
     29
     30   int classCount;
     31
    2332
    2433};
Note: See TracChangeset for help on using the changeset viewer.