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 ::com::sun::star::lang::XComponent
48 virtual void SAL_CALL disposing();
54 WeakComponentImplHelperBase( ::
osl::Mutex & rMutex );
58 virtual ~WeakComponentImplHelperBase();
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 * )
72 throw (::com::sun::star::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 (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
79 virtual
void SAL_CALL addEventListener(
80 ::
com::sun::star::uno::Reference< ::
com::sun::star::lang::XEventListener > const & xListener )
81 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
82 virtual
void SAL_CALL removeEventListener(
83 ::
com::sun::star::uno::Reference< ::
com::sun::star::lang::XEventListener > const & xListener )
84 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
91 : public ::
cppu::OWeakAggObject
92 , public ::
com::sun::star::lang::XComponent
99 virtual void SAL_CALL disposing();
101 WeakAggComponentImplHelperBase( ::
osl::Mutex & rMutex );
103 virtual ~WeakAggComponentImplHelperBase();
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 * )
117 throw (::com::sun::star::uno::RuntimeException, std::exception)
SAL_OVERRIDE;
118 virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(
120 throw (::com::sun::star::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 (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
127 virtual
void SAL_CALL addEventListener(
128 ::
com::sun::star::uno::Reference< ::
com::sun::star::lang::XEventListener > const & xListener )
129 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
130 virtual
void SAL_CALL removeEventListener(
131 ::
com::sun::star::uno::Reference< ::
com::sun::star::lang::XEventListener > const & xListener )
132 throw (::
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
138 ::
com::sun::star::uno::Type const & rType,
141 ::
cppu::WeakComponentImplHelperBase * pBase );
144 CPPUHELPER_DLLPUBLIC ::
com::sun::star::uno::Sequence< ::
com::sun::star::uno::Type > SAL_CALL WeakComponentImplHelper_getTypes(
150 ::
com::sun::star::uno::Type const & rType,
153 ::
cppu::WeakAggComponentImplHelperBase * pBase );
156 CPPUHELPER_DLLPUBLIC ::
com::sun::star::uno::Sequence< ::
com::sun::star::uno::Type > SAL_CALL WeakAggComponentImplHelper_getTypes(
SAL_DLLPUBLIC void rtl_freeMemory(void *Ptr) SAL_THROW_EXTERN_C()
Free memory.
Definition: conditn.hxx:28
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:42
C++ class representing an IDL meta type.
Definition: Type.h:54
SAL_DLLPUBLIC void * rtl_allocateMemory(sal_Size Bytes) SAL_THROW_EXTERN_C()
Allocate memory.
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:417
A mutual exclusion synchronization object.
Definition: mutex.hxx:30
This struct contains the standard variables of a broadcaster.
Definition: interfacecontainer.h:435
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:329
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:28
inline::com::sun::star::uno::Any queryInterface(const ::com::sun::star::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
Definition: Enterable.hxx:26