Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 2, 2005, 1:55:19 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: baseobject documented

File:
1 edited

Legend:

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

    r4436 r4470  
    11/*!
    22    \file base_object.h
    3     \brief Definition of the base object class. that is a global handler for all classes.
     3    \brief Definition of the base object class.
     4
     5    This is a global handler for all classes.
     6
     7    \todo isA()
    48*/
    59
     
    1014#include "class_list.h"
    1115#ifndef NULL
    12 #define NULL 0x0
     16#define NULL 0x0        //!< NULL
    1317#endif
    1418
     
    3236  /** \returns the classID of the corresponding Object */
    3337  inline int getClassID(void) const { return this->id; }
    34   bool isA (char* className);
     38
     39  //  bool isA (char* className);
    3540
    3641  /** \returns if the object is finalized */
    3742  inline bool isFinalized() { return this->finalized; }
    38   void finalize();
     43  /** \brief this finalizes an object and makes it ready to be garbage collected */
     44  void finalize(void) { this->finalized = true; };
    3945
    4046  void setName (const char* newName);
     47  /** \brief returns the Name of this Object */
    4148  const char* getName (void)const { return this->objectName; };
    4249
     
    4653  bool           finalized;        //!< is true if the object is ready to be garbage collected
    4754
    48   char*    objectName;                   //!< The name of this object               
     55  char*          objectName;       //!< The name of this object               
    4956};
    5057
Note: See TracChangeset for help on using the changeset viewer.