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 static
void * SAL_CALL operator new(
size_t nSize )
63 static void SAL_CALL
operator delete(
void * pMem )
65 static void * SAL_CALL
operator new( size_t,
void * pMem )
67 static void SAL_CALL
operator delete(
void *,
void * )
72 virtual void SAL_CALL acquire()
73 throw () SAL_OVERRIDE;
74 virtual
void SAL_CALL release()
75 throw () SAL_OVERRIDE;
76 virtual
void SAL_CALL dispose() SAL_OVERRIDE;
77 virtual
void SAL_CALL addEventListener(
78 css::uno::Reference<
css::lang::XEventListener > const & xListener ) SAL_OVERRIDE;
79 virtual
void SAL_CALL removeEventListener(
80 css::uno::Reference<
css::lang::XEventListener > const & xListener ) SAL_OVERRIDE;
87 : public ::
cppu::OWeakAggObject
88 , public
css::lang::XComponent
95 virtual void SAL_CALL disposing();
97 WeakAggComponentImplHelperBase( ::
osl::Mutex & rMutex );
99 virtual ~WeakAggComponentImplHelperBase() SAL_OVERRIDE;
102 static
void * SAL_CALL operator new(
size_t nSize )
104 static void SAL_CALL
operator delete(
void * pMem )
106 static void * SAL_CALL
operator new( size_t,
void * pMem )
108 static void SAL_CALL
operator delete(
void *,
void * )
113 virtual css::uno::Any SAL_CALL queryAggregation(
115 virtual void SAL_CALL acquire()
116 throw () SAL_OVERRIDE;
117 virtual
void SAL_CALL release()
118 throw () SAL_OVERRIDE;
119 virtual
void SAL_CALL dispose() SAL_OVERRIDE;
120 virtual
void SAL_CALL addEventListener(
121 css::uno::Reference<
css::lang::XEventListener > const & xListener ) SAL_OVERRIDE;
122 virtual
void SAL_CALL removeEventListener(
123 css::uno::Reference<
css::lang::XEventListener > const & xListener ) SAL_OVERRIDE;
129 css::uno::Type const & rType,
132 ::
cppu::WeakComponentImplHelperBase * pBase );
141 css::uno::Type const & rType,
144 ::
cppu::WeakAggComponentImplHelperBase * pBase );
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:405
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:317
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:28
SAL_DLLPUBLIC void * rtl_allocateMemory(sal_Size Bytes) SAL_THROW_EXTERN_C()
Allocate memory.
A mutual exclusion synchronization object.
Definition: mutex.hxx:30
Definition: Enterable.hxx:26
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
Definition: conditn.hxx:37
SAL_DLLPUBLIC void rtl_freeMemory(void *Ptr) SAL_THROW_EXTERN_C()
Free memory.
This struct contains the standard variables of a broadcaster.
Definition: interfacecontainer.h:435