14 #ifdef DEBUG_CONT_FRAME
15 std::cout <<
"Constructor Garbage" << std::endl;
21 #ifdef DEBUG_CONT_FRAME
22 std::cout <<
"Garbage::getInstance()" << std::endl;
34 #ifdef DEBUG_CONT_FRAME
35 std::cout <<
"Destructor Garbage" << std::endl;
40 #ifdef DEBUG_CONT_FRAME
41 std::cout <<
"Garbage::Add " << obj->GetName() << std::endl;
54 #ifdef DEBUG_CONT_FRAME
55 std::cout <<
"Garbage:: delete object: " << (*it_list)->GetName() << std::endl;
void Add(TObject *)
Add a TOBject to be deleted.
virtual Bool_t HandleTimer(TTimer *)
called by a TTImer and delete all objects in the list
Garbage collector for ROOT TObjects.
static Garbage & getInstance()
std::list< TObject * >::iterator it_l
std::list< TObject * > list_object
ClassImp(Garbage) Garbage
Garbage.cxx.