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 © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.