Static Public Member Functions
icl_core::SLPDefaultLifetime< T > Class Template Reference

#include <SingletonLifetimePolicies.h>

List of all members.

Static Public Member Functions

static void onDeadReference ()
static void scheduleDestruction (DestructionFuncPtr f)

Detailed Description

template<class T>
class icl_core::SLPDefaultLifetime< T >

Default lifetime policy for singletons. The destruction of the singleton instance is scheduled using atexit(). In case an instance is accessed after its destruction, std::logic_error is thrown.

Definition at line 49 of file SingletonLifetimePolicies.h.


Member Function Documentation

template<class T >
static void icl_core::SLPDefaultLifetime< T >::onDeadReference ( ) [inline, static]

Definition at line 57 of file SingletonLifetimePolicies.h.

template<class T >
static void icl_core::SLPDefaultLifetime< T >::scheduleDestruction ( DestructionFuncPtr  f) [inline, static]

Definition at line 52 of file SingletonLifetimePolicies.h.


The documentation for this class was generated from the following file:


fzi_icl_core
Author(s):
autogenerated on Thu Jun 6 2019 20:22:26