Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
template< typename SingletonClass >
virtual | abstract | interface | template |
NO | NO | NO | YES |
Methods |
|
SingletonRef( ); |
standard ctor. |
~SingletonRef( ); |
standard dtor. |
SingletonClass * operator->( ) const; |
Allows rSingle->someBodyOp(). |
SingletonClass & operator*( ) const; |
Allows (*rSingle).someBodyOp(). |
Structs |
|
SingletonLockInit | creates an own mutex for guarding static contents. |
Methods |
|
::osl::Mutex & ownStaticLock( ) const; |
Static Data |
|
SingletonClass * m_pInstance; | pointer to the internal wrapped singleton. |
sal_Int32 m_nRef; | ref count, which regulate creation and removing of m_pInstance. |
Copyright © 2010 Sun Microsystems, Inc.