Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4979 in orxonox.OLD for orxonox/trunk/src/util/garbage_collector.h


Ignore:
Timestamp:
Aug 10, 2005, 4:47:23 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Objects now get cleanly ereased.
This is a fix in the Weapon-class, that kills the Resurected Projectiles created for information-gathering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/garbage_collector.h

    r4941 r4979  
    11/*!
    22 * @file garbage_collector.h
    3  * Definition of the proto class template, used quickly start work
    4  * @todo Example: this shows how to use simply add a Marker that here has to be done something.
    5  *
    6  *  The Protoclass exists, to help you quikly getting the run for how to develop in orxonox.
    7  *  It is an example for the CODING-CONVENTION, and a starting-point for every class.
    83 */
    94
     
    1712//! this class maintains the garbage collection.
    1813/**
    19    the class is been ticked by the world.cc and goes through the
    20    world_entity list to clean out all unused entities.
     14 * you can pass everything to this class that you want to be collected
     15 * just use GarbageCollector->collect(POINTER); to pass a collectable to the GarbageCollector
     16 * it will then be handled acording to the class
    2117*/
    2218class GarbageCollector : public BaseObject {
Note: See TracChangeset for help on using the changeset viewer.