LLUISingleton< T, INSTANCE_ADAPTOR > Class Template Reference

#include <llui.h>

Inheritance diagram for LLUISingleton< T, INSTANCE_ADAPTOR >:

Inheritance graph
[legend]
Collaboration diagram for LLUISingleton< T, INSTANCE_ADAPTOR >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLUISingleton ()
 ~LLUISingleton ()

Static Public Member Functions

static T * findInstance (const LLSD &seed=LLSD())
static T * createInstance (const LLSD &seed=LLSD())

Static Protected Attributes

static T * sInstance = NULL

Detailed Description

template<class T, class INSTANCE_ADAPTOR = T>
class LLUISingleton< T, INSTANCE_ADAPTOR >

Definition at line 354 of file llui.h.


Constructor & Destructor Documentation

template<class T, class INSTANCE_ADAPTOR = T>
LLUISingleton< T, INSTANCE_ADAPTOR >::LLUISingleton (  )  [inline]

Definition at line 358 of file llui.h.

template<class T, class INSTANCE_ADAPTOR = T>
LLUISingleton< T, INSTANCE_ADAPTOR >::~LLUISingleton (  )  [inline]

Definition at line 359 of file llui.h.


Member Function Documentation

template<class T, class INSTANCE_ADAPTOR = T>
static T* LLUISingleton< T, INSTANCE_ADAPTOR >::createInstance ( const LLSD seed = LLSD()  )  [inline, static]

Definition at line 366 of file llui.h.

template<class T, class INSTANCE_ADAPTOR = T>
static T* LLUISingleton< T, INSTANCE_ADAPTOR >::findInstance ( const LLSD seed = LLSD()  )  [inline, static]

Definition at line 361 of file llui.h.


Member Data Documentation

template<class T, class INSTANCE_ADAPTOR = T>
T * LLUISingleton< T, U >::sInstance = NULL [static, protected]

Definition at line 376 of file llui.h.

Referenced by LLUISingleton< LLFloaterDeviceSettings >::createInstance(), LLUISingleton< LLFloaterDeviceSettings >::findInstance(), LLUISingleton< LLFloaterDeviceSettings >::LLUISingleton(), and LLUISingleton< LLFloaterDeviceSettings >::~LLUISingleton().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:55 2010 for Second Life Viewer by  doxygen 1.4.7