Memory garbage collector. More...
#include <MemChecker.hh>
Classes | |
class | Trigger |
Public Types | |
typedef void(* | CleanupFunction) () |
Type specifier for exit functions. | |
typedef void(* | CleanupFunction) () |
Type specifier for exit functions. | |
Static Public Member Functions | |
static void | Append (CleanupFunction Function, const std::string &Name, int Ring, bool Always=false) |
Add a cleanup function to call. | |
static void | Append (CleanupFunction Function, const std::string &Name, int Ring, bool Always=false) |
Add a cleanup function to call. | |
static bool | IsExiting () |
Query the exiting state of the system. | |
static bool | IsExiting () |
Query the exiting state of the system. | |
static void | Info () |
Debugger routine. | |
static void | Info () |
Debugger routine. | |
Static Private Member Functions | |
static void | cleanup () |
Release all resources entrusted. | |
static void | cleanup () |
Release all resources entrusted. | |
static void | is_exiting (bool Value) |
Set the exit status for other to query. | |
static void | is_exiting (bool Value) |
Set the exit status for other to query. | |
Friends | |
class | Trigger |
Memory garbage collector.
This class keeps track of user defined cleanup routines to be called.
This class keeps track of user defined cleanup routines to be called.
typedef void(* LDASTools::AL::MemChecker::CleanupFunction) () |
Type specifier for exit functions.
typedef void(* LDASTools::AL::MemChecker::CleanupFunction) () |
Type specifier for exit functions.
|
static |
Add a cleanup function to call.
[in] | Function | The function to be called |
[in] | Name | A descriptive name of the action being taken |
[in] | Ring | The level at which to call. The ring structure is inverted in that rings of higher value are called prior to rings of lesser values. |
|
static |
Add a cleanup function to call.
[in] | Function | The function to be called |
[in] | Name | A descriptive name of the action being taken |
[in] | Ring | The level at which to call. The ring structure is inverted in that rings of higher value are called prior to rings of lesser values. |
|
staticprivate |
Release all resources entrusted.
|
staticprivate |
Release all resources entrusted.
|
static |
Debugger routine.
|
static |
Debugger routine.
|
staticprivate |
Set the exit status for other to query.
[in] | Value | New value for exiting status. |
|
staticprivate |
Set the exit status for other to query.
[in] | Value | New value for exiting status. |
|
static |
Query the exiting state of the system.
|
static |
Query the exiting state of the system.
|
friend |