23#ifndef INCLUDED_CPPUHELPER_WEAKAGG_HXX
24#define INCLUDED_CPPUHELPER_WEAKAGG_HXX
28#include "com/sun/star/uno/XAggregation.hpp"
47 ,
public css::uno::XAggregation
#define SAL_NOEXCEPT
Macro for C++11 "noexcept" vs.
Definition types.h:434
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition types.h:396
#define SAL_OVERRIDE
C++11 "override" feature.
Definition types.h:409
#define CPPUHELPER_DLLPUBLIC
Definition cppuhelperdllapi.h:32
Definition Enterable.hxx:31
Base class to implement a UNO object supporting weak references, i.e.
Definition weak.hxx:48
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual css::uno::Any queryAggregation(const css::uno::Type &rType) SAL_OVERRIDE
Called by the delegator or queryInterface.
css::uno::WeakReferenceHelper xDelegator
weak reference to delegator.
Definition weakagg.hxx:96
OWeakAggObject()
Constructor.
Definition weakagg.hxx:52
virtual void setDelegator(const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
Set the delegator.
virtual css::uno::Any queryInterface(const css::uno::Type &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.