Static Public Member Functions | List of all members
icl_core::SLPDefaultLifetime< T > Class Template Reference

#include <SingletonLifetimePolicies.h>

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 ( )
inlinestatic

Definition at line 57 of file SingletonLifetimePolicies.h.

template<class T >
static void icl_core::SLPDefaultLifetime< T >::scheduleDestruction ( DestructionFuncPtr  f)
inlinestatic

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 Mon Jun 10 2019 13:17:59