#include <list>
#include "ldastoolsal/Deprecated.hh"
#include "ldastoolsal/mutexlock.hh"
#include "ldastoolsal/Singleton.hh"
◆ ExitFunction
typedef void( * ExitFunction) () |
Type specifier for exit functions.
◆ Append()
static void LDASTOOLS_DEPRECATED::Append |
( |
ExitFunction |
Function, |
|
|
const std::string & |
Name, |
|
|
int |
Ring |
|
) |
| |
|
static |
Add a cleanup function to call when program is exiting.
- Parameters
-
[in] | Function | The function to be called when exiting |
[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. |
\depricated
◆ Cleanup()
static void LDASTOOLS_DEPRECATED::Cleanup |
( |
| ) |
|
|
static |
Release all resources entrusted.
\depricated
◆ IsExiting()
static bool LDASTOOLS_DEPRECATED::IsExiting |
( |
| ) |
|
|
static |
Query the exiting state of the system.
\depricated