| LibreOffice
    LibreOffice 24.8 SDK C/C++ API Reference | 
Deprecated. More...
#include <component.hxx>
 
  
| Public Member Functions | |
| OComponentHelper (::osl::Mutex &rMutex) | |
| Constructor. | |
| virtual | ~OComponentHelper () SAL_OVERRIDE | 
| Destructor. | |
| virtual css::uno::Any | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE | 
| If a delegator is set, then the delegator is queried for the demanded interface. | |
| virtual css::uno::Any | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE | 
| Called by the delegator or queryInterface. | |
| virtual void | acquire () SAL_NOEXCEPT SAL_OVERRIDE | 
| If a delegator is set, then the delegators gets acquired. | |
| virtual void | release () SAL_NOEXCEPT SAL_OVERRIDE | 
| If a delegator is set, then the delegators gets released. | |
| virtual css::uno::Sequence< sal_Int8 > | getImplementationId () SAL_OVERRIDE=0 | 
| virtual css::uno::Sequence< css::uno::Type > | getTypes () SAL_OVERRIDE | 
| virtual void | dispose () SAL_OVERRIDE | 
| virtual void | addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) SAL_OVERRIDE | 
| virtual void | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) SAL_OVERRIDE | 
| Public Member Functions inherited from cppu::OWeakAggObject | |
| OWeakAggObject () | |
| Constructor. | |
| virtual void | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE | 
| Set the delegator. | |
| Public Member Functions inherited from cppu::OWeakObject | |
| OWeakObject () | |
| Default Constructor. | |
| OWeakObject (const OWeakObject &) | |
| Dummy copy constructor. | |
| OWeakObject & | operator= (const OWeakObject &) | 
| Dummy assignment operator. | |
| virtual css::uno::Reference< css::uno::XAdapter > | queryAdapter () SAL_OVERRIDE | 
| XWeak::queryAdapter() implementation. | |
| operator css::uno::Reference< css::uno::XInterface > () | |
| Cast operator to XInterface reference. | |
| Protected Member Functions | |
| virtual void | disposing () | 
| Called in dispose method after the listeners were notified. | |
| Protected Member Functions inherited from cppu::OWeakAggObject | |
| virtual | ~OWeakAggObject () SAL_OVERRIDE | 
| Virtual dtor. | |
| Protected Member Functions inherited from cppu::OWeakObject | |
| virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE | 
| Virtual dtor. | |
| void | disposeWeakConnectionPoint () | 
| disposes and resets m_pWeakConnectionPoint | |
| Additional Inherited Members | |
| Protected Attributes inherited from cppu::OWeakAggObject | |
| css::uno::WeakReferenceHelper | xDelegator | 
| weak reference to delegator. | |
| Protected Attributes inherited from cppu::OWeakObject | |
| oslInterlockedCount | m_refCount | 
| reference count. | |
Deprecated.
Helper for implementing css::lang::XComponent. Upon disposing objects of this class, sub-classes receive a disposing() call. Objects of this class can be held weakly, i.e. by a css::uno::WeakReference. Object of this class can be aggregated, i.e. incoming queryInterface() calls are delegated.
| cppu::OComponentHelper::OComponentHelper | ( | ::osl::Mutex & | rMutex | ) | 
Constructor.
| rMutex | the mutex used to protect multi-threaded access; lifetime must be longer than the lifetime of this object. | 
| 
 | virtual | 
Destructor.
If this object was not disposed previously, object will be disposed manually.
| 
 | virtual | 
If a delegator is set, then the delegators gets acquired.
Otherwise call is delegated to base class cppu::OWeakObject.
Reimplemented from cppu::OWeakAggObject.
| 
 | virtual | 
| 
 | virtual | 
| 
 | protectedvirtual | 
Called in dispose method after the listeners were notified.
| 
 | pure virtual | 
| 
 | virtual | 
| 
 | virtual | 
Called by the delegator or queryInterface.
Re-implement this method instead of queryInterface.
Reimplemented from cppu::OWeakAggObject.
| 
 | virtual | 
If a delegator is set, then the delegator is queried for the demanded interface.
If the delegator cannot provide the demanded interface, it calls queryAggregation() on its aggregated objects.
| rType | demanded interface type | 
Reimplemented from cppu::OWeakAggObject.
| 
 | virtual | 
If a delegator is set, then the delegators gets released.
Otherwise call is delegated to base class cppu::OWeakObject.
Reimplemented from cppu::OWeakAggObject.
| 
 | virtual |