ldas-tools-al 2.6.4
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
AtExit.hh File Reference
#include <list>
#include "ldastoolsal/Deprecated.hh"
#include "ldastoolsal/mutexlock.hh"
#include "ldastoolsal/Singleton.hh"
Include dependency graph for AtExit.hh:

Classes

class  LDASTools::AL::AtExit
 Cleanup upon exit. More...
 

Namespaces

namespace  LDASTools
 Objects of general use and interst.
 
namespace  LDASTools::AL
 The Abstraction Layer.
 

Typedefs

typedef void(* ExitFunction) ()
 Type specifier for exit functions.
 

Functions

class LDASTools::AL::AtExit LDASTools::AL::LDASTOOLS_DEPRECATED ("use method LDASTools::AL::MemChecker instead")
 
static void Append (ExitFunction Function, const std::string &Name, int Ring)
 Add a cleanup function to call when program is exiting.
 
static void Cleanup ()
 Release all resources entrusted.
 
static bool IsExiting ()
 Query the exiting state of the system.
 

Typedef Documentation

◆ ExitFunction

typedef void(* ExitFunction) ()

Type specifier for exit functions.

Function Documentation

◆ 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]FunctionThe function to be called when exiting
[in]NameA descriptive name of the action being taken
[in]RingThe 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