CARMA C++
carma::util::CreateWithNewPolicy< TYPE > Class Template Reference

Singleton creation policy which causes instances to be allocated with new (on the heap). More...

#include <carma/util/Singleton.h>

Static Public Member Functions

static TYPE * createInstance ()
 
static void deleteInstance (TYPE *ptr)
 

Detailed Description

template<class TYPE>
class carma::util::CreateWithNewPolicy< TYPE >

Singleton creation policy which causes instances to be allocated with new (on the heap).

Initialization is done upon first call to Singleton::instance (lazy initialization).

See Also
carma::util::Singleton For use case.

Definition at line 136 of file Singleton.h.


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