ldas-tools-al  2.6.4
Classes | Namespaces | Macros | Functions
Singleton.hh File Reference
#include <cassert>
#include <map>
#include <typeinfo>
#include "ldastoolsal/mutexlock.hh"
#include "ldastoolsal/SingletonMacro.hh"
Include dependency graph for Singleton.hh:
This graph shows which files directly or indirectly include this file:

Classes

struct  LDASTools::AL::CreateUsingNew< T >
 
struct  LDASTools::AL::DefaultLifetime< T >
 
class  LDASTools::AL::SingletonHolder< T, CreationPolicy, LifetimePolicy >
 
class  LDASTools::AL::Singleton< T >
 

Namespaces

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

Macros

#define SINGLETON_INSTANCE_DEFINITION(SHOLDER)
 

Functions

void LDASTools::AL::at_exit (SingletonExitFunction Function, const std::string &Name, int Ring)
 

Macro Definition Documentation

◆ SINGLETON_INSTANCE_DEFINITION

#define SINGLETON_INSTANCE_DEFINITION (   SHOLDER)
Value:
namespace LDASTools \
{ \
namespace AL \
{ \
template <> \
SHOLDER::ObjectType& \
Singleton< SHOLDER::ObjectType >::Instance( ) \
{ \
return SHOLDER::Instance( ); \
} \
} \
}
Objects of general use and interst.
Definition: AtExit.hh:37