Version: 9.12.0
BasicsGenericDestructor.cxx File Reference
#include <iostream>
#include <list>
#include <cstdlib>
#include "BasicsGenericDestructor.hxx"
Include dependency graph for BasicsGenericDestructor.cxx:

Data Structures

class  atExitSingleton
 To execute only once GENERIC_DESTRUCTOR::HouseKeeping et the end of process, a dedicated object is created, as a singleton: atExitSingleton. More...
 

Functions

void HouseKeeping (void)
 Executes all objects of type DESTRUCTOR_OF in the Destructors list. More...
 

Variables

static bool atExitSingletonDone = false
 
static atExitSingleton HouseKeeper = atExitSingleton(false)
 static singleton for atExitSingleton class More...
 

Function Documentation

◆ HouseKeeping()

void HouseKeeping ( void  )

Executes all objects of type DESTRUCTOR_OF in the Destructors list.

Deletes all objects of type DESTRUCTOR_OF in the Destructors list. Deletes the list.

References atExitSingletonDone, GENERIC_DESTRUCTOR::Destructors, DEVTRACE, and pythfilter::name.

Referenced by atExitSingleton::atExitSingleton().

Variable Documentation

◆ atExitSingletonDone

bool atExitSingletonDone = false
static

◆ HouseKeeper

atExitSingleton HouseKeeper = atExitSingleton(false)
static

static singleton for atExitSingleton class

Referenced by GENERIC_DESTRUCTOR::Add().