|
ROOT_Application
2.0
C++ Core modules and GUIStock
|
Garbage collector for ROOT TObjects. More...
#include <Garbage.h>


Public Member Functions | |
| void | Add (TObject *) |
| Add a TOBject to be deleted. More... | |
| virtual Bool_t | HandleTimer (TTimer *) |
| called by a TTImer and delete all objects in the list More... | |
Static Public Member Functions | |
| static Garbage & | getInstance () |
Private Types | |
| typedef std::list< TObject * > ::iterator | it_l |
Private Member Functions | |
| Garbage () | |
| ~Garbage () | |
| Garbage (const Garbage &) | |
| const Garbage & | operator= (const Garbage &) |
Private Attributes | |
| std::list< TObject * > | list_object |
Garbage collector for ROOT TObjects.
Some graphical objects cannot be deleted in using signal Can use a shot timer Or use a garbage collector
Singleton class, use a non thread-safe lazy implementation
|
private |
|
private |
|
private |
Definition at line 33 of file Garbage.cxx.
|
private |
| void Garbage::Add | ( | TObject * | obj | ) |
Add a TOBject to be deleted.
Definition at line 39 of file Garbage.cxx.
References list_object.
Referenced by IndicatorFrame::DeleteLines().

|
static |
Definition at line 19 of file Garbage.cxx.
Referenced by ClassImp(), and IndicatorFrame::DeleteLines().

|
virtual |
called by a TTImer and delete all objects in the list
Definition at line 47 of file Garbage.cxx.
References list_object.
|
private |
Definition at line 45 of file Garbage.h.
Referenced by Add(), and HandleTimer().
1.8.6