Classes | Namespaces | Typedefs
SingletonLifetimePolicies.h File Reference

Contains lifetime policies for icl_core::Singleton. More...

#include <stdlib.h>
#include <stdexcept>
Include dependency graph for SingletonLifetimePolicies.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  icl_core::SLPDefaultLifetime< T >
 
class  icl_core::SLPNoDestroy< T >
 

Namespaces

 icl_core
 

Typedefs

typedef void(* icl_core::DestructionFuncPtr) ()
 Helper definition for destruction functions. More...
 

Detailed Description

Contains lifetime policies for icl_core::Singleton.

Author
Jan Oberländer oberl.nosp@m.aen@.nosp@m.fzi.d.nosp@m.e
Date
2009-06-16

icl_core::SLPDefaultLifetime schedules the singleton destruction using atexit(). icl_core::SLPNoDestroy never destroys the singleton. Unless a static creation policy is used, this means the object is leaked at program termination.

Definition in file SingletonLifetimePolicies.h.



fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59