LibreOffice
LibreOffice 4.3 SDK C/C++ API Reference
|
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
#include <implbase5.hxx>
Public Member Functions | |
virtual com::sun::star::uno::Any | queryInterface (com::sun::star::uno::Type const &rType) SAL_OVERRIDE throw (com::sun::star::uno::RuntimeException, std::exception) |
virtual void | acquire () SAL_OVERRIDE throw () |
increasing m_refCount More... | |
virtual void | release () SAL_OVERRIDE throw () |
decreasing m_refCount More... | |
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > | getTypes () SAL_OVERRIDE throw (com::sun::star::uno::RuntimeException, std::exception) |
virtual com::sun::star::uno::Sequence< sal_Int8 > | getImplementationId () SAL_OVERRIDE throw (com::sun::star::uno::RuntimeException, std::exception) |
![]() | |
OWeakObject () SAL_THROW(()) | |
Default Constructor. More... | |
OWeakObject (const OWeakObject &rObj) SAL_THROW(()) | |
Dummy copy constructor. More... | |
OWeakObject & | operator= (const OWeakObject &) |
Dummy assignment operator. More... | |
virtual ::com::sun::star::uno::Any | queryInterface (const ::com::sun::star::uno::Type &rType) SAL_OVERRIDE throw (::com::sun::star::uno::RuntimeException, std::exception) |
Basic queryInterface() implementation supporting ::com::sun::star::uno::XWeak and ::com::sun::star::uno::XInterface. More... | |
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAdapter > | queryAdapter () SAL_OVERRIDE throw (::com::sun::star::uno::RuntimeException, std::exception) |
XWeak::queryAdapter() implementation. More... | |
operator::com::sun::star::uno::Reference () SAL_THROW(()) | |
Cast operator to XInterface reference. More... | |
Additional Inherited Members | |
![]() | |
oslInterlockedCount | m_refCount |
reference count. More... | |
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru 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).
|
inlinevirtual |
increasing m_refCount
Reimplemented from cppu::OWeakObject.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
decreasing m_refCount
Reimplemented from cppu::OWeakObject.