19 #ifndef INCLUDED_CPPUHELPER_COMPBASE_EX_HXX
20 #define INCLUDED_CPPUHELPER_COMPBASE_EX_HXX
24 #include <com/sun/star/lang/XComponent.hpp>
29 namespace osl {
class Mutex; }
39 ,
public css::lang::XComponent
48 virtual void SAL_CALL disposing();
54 WeakComponentImplHelperBase( ::
osl::Mutex & rMutex );
61 inline static
void * SAL_CALL operator new(
size_t nSize )
63 inline static void SAL_CALL
operator delete(
void * pMem )
65 inline static void * SAL_CALL
operator new( size_t,
void * pMem )
67 inline static void SAL_CALL
operator delete(
void *,
void * )
71 css::uno::Type
const & rType )
72 throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
73 virtual void SAL_CALL acquire()
75 virtual
void SAL_CALL release()
76 throw () SAL_OVERRIDE;
77 virtual
void SAL_CALL dispose()
78 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
79 virtual
void SAL_CALL addEventListener(
80 css::uno::Reference< css::lang::XEventListener > const & xListener )
81 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
82 virtual
void SAL_CALL removeEventListener(
83 css::uno::Reference< css::lang::XEventListener > const & xListener )
84 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
91 : public ::cppu::OWeakAggObject
92 , public css::lang::XComponent
99 virtual void SAL_CALL disposing();
101 WeakAggComponentImplHelperBase( ::
osl::Mutex & rMutex );
103 virtual ~WeakAggComponentImplHelperBase() SAL_OVERRIDE;
106 inline static
void * SAL_CALL operator new(
size_t nSize )
108 inline static void SAL_CALL
operator delete(
void * pMem )
110 inline static void * SAL_CALL
operator new( size_t,
void * pMem )
112 inline static void SAL_CALL
operator delete(
void *,
void * )
116 css::uno::Type
const & rType )
117 throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
118 virtual css::uno::Any SAL_CALL queryAggregation(
119 css::uno::Type
const & rType )
120 throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
121 virtual void SAL_CALL acquire()
122 throw () SAL_OVERRIDE;
123 virtual
void SAL_CALL release()
124 throw () SAL_OVERRIDE;
125 virtual
void SAL_CALL dispose()
126 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
127 virtual
void SAL_CALL addEventListener(
128 css::uno::Reference< css::lang::XEventListener > const & xListener )
129 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
130 virtual
void SAL_CALL removeEventListener(
131 css::uno::Reference< css::lang::XEventListener > const & xListener )
132 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
138 css::uno::Type const & rType,
141 ::cppu::WeakComponentImplHelperBase * pBase );
144 CPPUHELPER_DLLPUBLIC css::uno::Sequence< css::uno::Type > SAL_CALL WeakComponentImplHelper_getTypes(
150 css::uno::Type const & rType,
153 ::cppu::WeakAggComponentImplHelperBase * pBase );
156 CPPUHELPER_DLLPUBLIC css::uno::Sequence< css::uno::Type > SAL_CALL WeakAggComponentImplHelper_getTypes(
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
A mutual exclusion synchronization object.
Definition: mutex.hxx:30
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
SAL_DLLPUBLIC void rtl_freeMemory(void *Ptr) SAL_THROW_EXTERN_C()
Free memory.
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:423
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:335
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:28
This struct contains the standard variables of a broadcaster.
Definition: interfacecontainer.h:435
SAL_DLLPUBLIC void * rtl_allocateMemory(sal_Size Bytes) SAL_THROW_EXTERN_C()
Allocate memory.