静的公開メンバ | |
| type_InstanceClass & | GetRef () |
| 唯一のインスタンスへの参照を返します。. より詳しく... | |
非公開型 | |
| typedef CSingleton< type_InstanceClass, type_InstanceCreaterFunctionObject > | type_this |
| 自クラスの型。. より詳しく... | |
非公開メンバ | |
| CSingleton () | |
| CSingleton (const type_this &) | |
| void | operator= (const type_this &) |
| void | operator delete (void *) |
静的非公開メンバ | |
| type_InstanceClass * | Init () |
| Singleton インスタンスを作成します。. より詳しく... | |
他のクラスに Singleton 機能を提供します。
特に、初期化時にパラメーターを渡すことができるのがポイントです。
| type_InstanceClass | Singleton するクラス。 |
| type_InstanceCreaterFunctionObject | type_InstanceClass を生成するクラス。 |
|
|||||
|
自クラスの型。.
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
Singleton インスタンスを作成します。.
type_InstanceCreaterFunctionObject::operator()() を用いてインスタンスを作成します。
|
|
|||||||||
|
唯一のインスタンスへの参照を返します。. 唯一のインスタンスへの参照を返すと同時に、唯一のインスタンスを保持します。
|
1.2.15