Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
CoreObjectSingleton< T > Class Template Reference

Thread safe singleton holding an object that is created on demand. The object is destroyed automatically at the destruction of the singleton. More...

Public Member Functions

virtual T * constructor () const
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> ()
 
const T * operator-> () const
 

Detailed Description

template<class T>
class CoreObjectSingleton< T >

Thread safe singleton holding an object that is created on demand. The object is destroyed automatically at the destruction of the singleton.