The GENERIC_DESTRUCTOR abstract class describes the comportement of any destruction object. More...
#include <BasicsGenericDestructor.hxx>
Public Member Functions | |
virtual | ~GENERIC_DESTRUCTOR () |
virtual void | operator() (void)=0 |
Static Public Member Functions | |
static const int | Add (GENERIC_DESTRUCTOR &anObject) |
Adds a destruction object to the list of actions to be performed at the end of the process. More... | |
Static Public Attributes | |
static std::list < GENERIC_DESTRUCTOR * > * | Destructors = 0 |
The GENERIC_DESTRUCTOR abstract class describes the comportement of any destruction object.
This type is used to create a list of miscellaneous destruction objects.
The only way to use the GENERIC_DESTRUCTOR class is inheritance: class SPECIFIC_DESTRUCTOR : public GENERIC_DESTRUCTOR
A generic destructor provides two methods:
|
virtual |
|
static |
Adds a destruction object to the list of actions to be performed at the end of the process.
References atExitSingletonDone, Destructors, and DEVTRACE.
Referenced by DESTRUCTOR_OF< TYPE >::DESTRUCTOR_OF().
|
pure virtual |
Implemented in DESTRUCTOR_OF< TYPE >.
|
static |
Referenced by Add(), and HouseKeeping().