Public Member Functions | Private Member Functions | Private Attributes
karto::Singleton< T > Class Template Reference

#include <Karto.h>

List of all members.

Public Member Functions

T * Get ()
 Singleton ()
virtual ~Singleton ()

Private Member Functions

const Singletonoperator= (const Singleton &)
 Singleton (const Singleton &)

Private Attributes

T * m_pPointer

Detailed Description

template<class T>
class karto::Singleton< T >

Singleton class ensures only one instance of T is created

Definition at line 189 of file Karto.h.


Constructor & Destructor Documentation

template<class T>
karto::Singleton< T >::Singleton ( ) [inline]

Constructor

Definition at line 195 of file Karto.h.

template<class T>
virtual karto::Singleton< T >::~Singleton ( ) [inline, virtual]

Destructor

Definition at line 203 of file Karto.h.

template<class T>
karto::Singleton< T >::Singleton ( const Singleton< T > &  ) [private]

Member Function Documentation

template<class T>
T* karto::Singleton< T >::Get ( ) [inline]

Gets the singleton

Returns:
singleton

Definition at line 212 of file Karto.h.

template<class T>
const Singleton& karto::Singleton< T >::operator= ( const Singleton< T > &  ) [private]

Member Data Documentation

template<class T>
T* karto::Singleton< T >::m_pPointer [private]

Definition at line 226 of file Karto.h.


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


open_karto
Author(s):
autogenerated on Thu Aug 27 2015 14:14:06