Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3646 in orxonox.OLD for orxonox/trunk/src/lib/lang/base_object.cc


Ignore:
Timestamp:
Mar 23, 2005, 5:43:07 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: implemented garbage collector, is not yet collecting, i have to update the list.h first.

File:
1 edited

Legend:

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

    r3607 r3646  
    3030{
    3131  this->className = NULL;
     32  this->finalized = false;
    3233}
    3334
     
    5859  return true;
    5960}
     61
     62
     63bool BaseObject::isFinalized()
     64{
     65  return this->finalized;
     66}
     67
     68
     69void BaseObject::finalize()
     70{
     71  this->finalized = true;
     72}
Note: See TracChangeset for help on using the changeset viewer.