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

namespace  icl_core

Typedefs

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

Detailed Description

Contains lifetime policies for icl_core::Singleton.

Author:
Jan Oberländer <oberlaen@fzi.de>
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 Thu Jun 6 2019 20:22:25