UniDx
読み取り中…
検索中…
一致する文字列を見つけられません
UniDx::Singleton< T > クラステンプレート

シングルトンテンプレート。 明示的な create と destroy が必要 [詳解]

#include <Singleton.h>

静的公開メンバ関数

static T * getInstance ()
static void create ()
static void destroy ()

限定公開メンバ関数

 Singleton ()
virtual ~Singleton ()

静的限定公開変数類

static unique_ptr< T > instance_

詳解

template<class T>
class UniDx::Singleton< T >

シングルトンテンプレート。 明示的な create と destroy が必要

構築子と解体子

◆ Singleton()

template<class T>
UniDx::Singleton< T >::Singleton ( )
inlineprotected

◆ ~Singleton()

template<class T>
virtual UniDx::Singleton< T >::~Singleton ( )
inlineprotectedvirtual

関数詳解

◆ create()

template<class T>
void UniDx::Singleton< T >::create ( )
inlinestatic

◆ destroy()

template<class T>
void UniDx::Singleton< T >::destroy ( )
inlinestatic

◆ getInstance()

template<class T>
T * UniDx::Singleton< T >::getInstance ( )
inlinestatic

メンバ詳解

◆ instance_

template<class T>
unique_ptr<T> UniDx::Singleton< T >::instance_
staticprotected

このクラス詳解は次のファイルから抽出されました: