LibreOffice
LibreOffice 5.4 SDK C/C++ API Reference
|
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which supports weak mechanism to be held weakly (supporting css::uno::XWeak through cppu::OWeakObject). More...
#include <implbase1.hxx>
Public Member Functions | |
virtual css::uno::Any | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface. More... | |
virtual void | acquire () SAL_OVERRIDE throw () |
increasing m_refCount More... | |
virtual void | release () SAL_OVERRIDE throw () |
decreasing m_refCount More... | |
virtual css::uno::Sequence< css::uno::Type > | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > | getImplementationId () SAL_OVERRIDE |
![]() | |
OWeakObject () | |
Default Constructor. More... | |
OWeakObject (const OWeakObject &rObj) | |
Dummy copy constructor. More... | |
OWeakObject & | operator= (const OWeakObject &) |
Dummy assignment operator. More... | |
virtual css::uno::Reference< css::uno::XAdapter > | queryAdapter () SAL_OVERRIDE |
XWeak::queryAdapter() implementation. More... | |
operator css::uno::Reference< css::uno::XInterface > () | |
Cast operator to XInterface reference. More... | |
Additional Inherited Members | |
![]() | |
virtual | ~OWeakObject () |
Virtual dtor. More... | |
void | disposeWeakConnectionPoint () |
disposes and resets m_pWeakConnectionPoint More... | |
![]() | |
oslInterlockedCount | m_refCount |
reference count. More... | |
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which supports weak mechanism to be held weakly (supporting css::uno::XWeak through cppu::OWeakObject).
Inherit from this class giving your interface(s) to be implemented as template argument(s). Your sub class defines method implementations for these interface(s).
These classes are used when you implement your UNO component. WeakImplHelper1 till WeakImplHelper12 can be used when you want to implement 1 till 12 interfaces in your component.
|
inlinevirtual |
increasing m_refCount
Reimplemented from cppu::OWeakObject.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface.
rType | demanded type |
Reimplemented from cppu::OWeakObject.
|
inlinevirtual |
decreasing m_refCount
Reimplemented from cppu::OWeakObject.