|
ldas-tools-al 2.6.7
|
Memory garbage collector. More...
#include <MemChecker.hh>
Classes | |
| class | Trigger |
| Trigger garbage collection upon deletion. More... | |
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. | |
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.
|
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. |