LibreOffice Module svx (master) 1
|
#include <shapecollection.hxx>
Public Member Functions | |
SvxShapeCollection () noexcept | |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual void SAL_CALL | add (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | remove (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
void | getAllShapes (std::vector< css::uno::Reference< css::drawing::XShape > > &rShapes) const |
Public Member Functions inherited from cppu::WeakAggImplHelper3< css::drawing::XShapes, css::lang::XServiceInfo, css::lang::XComponent > | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakAggObject | |
OWeakAggObject () | |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Private Attributes | |
std::mutex | m_aMutex |
std::vector< css::uno::Reference< css::drawing::XShape > > | maShapeContainer |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
bool | bDisposed = false |
bool | bInDispose = false |
Additional Inherited Members | |
Protected Member Functions inherited from cppu::OWeakAggObject | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Attributes inherited from cppu::OWeakAggObject | |
css::uno::WeakReferenceHelper | xDelegator |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 30 of file shapecollection.hxx.
|
noexcept |
Definition at line 31 of file unoshcol.cxx.
|
overridevirtual |
Definition at line 143 of file unoshcol.cxx.
References m_aMutex, and maShapeContainer.
|
overridevirtual |
Definition at line 128 of file unoshcol.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), m_aMutex, and maEventListeners.
|
overridevirtual |
Definition at line 69 of file unoshcol.cxx.
References bDisposed, bInDispose, comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), m_aMutex, maEventListeners, maShapeContainer, and SAL_INFO.
Referenced by release().
void SvxShapeCollection::getAllShapes | ( | std::vector< css::uno::Reference< css::drawing::XShape > > & | rShapes | ) | const |
Definition at line 201 of file unoshcol.cxx.
References maShapeContainer.
|
overridevirtual |
Definition at line 164 of file unoshcol.cxx.
References getCount(), m_aMutex, and maShapeContainer.
|
overridevirtual |
Definition at line 157 of file unoshcol.cxx.
References m_aMutex, and maShapeContainer.
Referenced by getByIndex(), and hasElements().
|
overridevirtual |
Definition at line 175 of file unoshcol.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 186 of file unoshcol.cxx.
|
overridevirtual |
Definition at line 196 of file unoshcol.cxx.
|
overridevirtual |
Definition at line 180 of file unoshcol.cxx.
References getCount().
|
overridevirtualnoexcept |
Reimplemented from cppu::WeakAggImplHelper3< css::drawing::XShapes, css::lang::XServiceInfo, css::lang::XComponent >.
Definition at line 36 of file unoshcol.cxx.
References bDisposed, dispose(), cppu::OWeakObject::m_refCount, x, and cppu::OWeakAggObject::xDelegator.
|
overridevirtual |
Definition at line 150 of file unoshcol.cxx.
References m_aMutex, and maShapeContainer.
|
overridevirtual |
Definition at line 135 of file unoshcol.cxx.
References m_aMutex, maEventListeners, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 191 of file unoshcol.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 38 of file shapecollection.hxx.
|
private |
Definition at line 39 of file shapecollection.hxx.
Referenced by dispose().
|
private |
Definition at line 35 of file shapecollection.hxx.
Referenced by add(), addEventListener(), dispose(), getByIndex(), getCount(), remove(), and removeEventListener().
|
private |
Definition at line 37 of file shapecollection.hxx.
Referenced by addEventListener(), dispose(), and removeEventListener().
|
private |
Definition at line 36 of file shapecollection.hxx.
Referenced by add(), dispose(), getAllShapes(), getByIndex(), getCount(), and remove().