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 T, typename Unique >
virtual | abstract | interface | template |
NO | NO | NO | YES |
struct MyStatic : public rtl::Static{}; ... MyType & rStatic = MyStatic::get(); ...
T | variable's type |
Unique | Implementation trick to make the inner static holder unique, using the outer class (the one that derives from this base class) |
Static Methods |
|
static T & get( ); |
Gets the static. Mutual exclusion is performed using the osl global mutex. |
Structs |
|
StaticInstance |
Copyright © 2003 Sun Microsystems, Inc.