LibreOffice
LibreOffice 6.4 SDK C/C++ API Reference
|
Go to the documentation of this file.
19 #ifndef INCLUDED_CPPUHELPER_WEAK_HXX
20 #define INCLUDED_CPPUHELPER_WEAK_HXX
26 #include "com/sun/star/uno/XWeak.hpp"
33 class OWeakConnectionPoint;
45 friend class OWeakConnectionPoint;
60 void disposeWeakConnectionPoint();
73 OWeakConnectionPoint * m_pWeakConnectionPoint;
84 static
void * SAL_CALL operator new(
size_t nSize )
86 static void SAL_CALL
operator delete(
void * pMem )
88 static void * SAL_CALL
operator new( size_t,
void * pMem )
90 static void SAL_CALL
operator delete(
void *,
void * )
104 , m_pWeakConnectionPoint( NULL )
113 , m_pWeakConnectionPoint( NULL )
137 virtual
void SAL_CALL release()
150 SAL_CALL operator
css::uno::Reference<
css::uno::XInterface > ()
166 static inline css::uno::XInterface * acquire(OWeakObject * instance)
168 assert(instance != NULL);
Definition: Enterable.hxx:27
virtual ~OWeakObject() COVERITY_NOEXCEPT_FALSE
Virtual dtor.
Base class to implement a UNO object supporting weak references, i.e.
Definition: weak.hxx:44
virtual css::uno::Any queryInterface(const css::uno::Type &rType) SAL_OVERRIDE
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::...
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
SAL_DLLPUBLIC void rtl_freeMemory(void *Ptr) SAL_THROW_EXTERN_C()
Free memory.
sal_Int32 oslInterlockedCount
Definition: interlck.h:40
#define COVERITY_NOEXCEPT_FALSE
To markup destructors that coverity warns might throw exceptions which won't throw in practice,...
Definition: types.h:355
OWeakObject()
Default Constructor.
Definition: weak.hxx:102
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:28
SAL_DLLPUBLIC void * rtl_allocateMemory(sal_Size Bytes) SAL_THROW_EXTERN_C()
Allocate memory.
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:409
OWeakObject(const OWeakObject &)
Dummy copy constructor.
Definition: weak.hxx:110