Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


Methods of Class SingletonRef


SingletonRef
SingletonRef();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
standard ctor.
Description
The internal wrapped object is created only, if its ref count was 0. Otherwhise this method does nothing ... except increasing of the internal ref count!

~SingletonRef
~SingletonRef();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
standard dtor.
Description
The internal wrapped object is removed only, if its ref count wil be 0. Otherwhise this method does nothing ... except decreasing of the internal ref count!

operator->
SingletonClass * operator->();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Allows rSingle->someBodyOp().

operator*
SingletonClass & operator*();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Allows (*rSingle).someBodyOp().

ownStaticLock
::osl::Mutex & ownStaticLock();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.