LibreOffice Module chart2 (master) 1
|
This helper class serves as forwarder of modify events. More...
#include <ModifyListenerHelper.hxx>
Public Member Functions | |
ModifyEventForwarder () | |
virtual void SAL_CALL | addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override |
virtual void SAL_CALL | removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override |
virtual void SAL_CALL | modified (const css::lang::EventObject &aEvent) override |
Public Member Functions inherited from comphelper::WeakComponentImplHelper< css::util::XModifyBroadcaster, css::util::XModifyListener > | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
virtual | ~WeakComponentImplHelperBase () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual void | disposing (std::unique_lock< std::mutex > &) |
Public Member Functions inherited from comphelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Private Member Functions | |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void | disposing (std::unique_lock< std::mutex > &) override |
Private Attributes | |
comphelper::OInterfaceContainerHelper4< css::util::XModifyListener > | m_aModifyListeners |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Attributes inherited from comphelper::WeakComponentImplHelperBase | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
Protected Attributes inherited from comphelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed |
This helper class serves as forwarder of modify events.
It can be used whenever an object has to send modify events after it gets a modify event of one of its children.
Definition at line 38 of file ModifyListenerHelper.hxx.
chart::ModifyEventForwarder::ModifyEventForwarder | ( | ) |
Definition at line 29 of file ModifyListenerHelper.cxx.
|
overridevirtual |
Definition at line 34 of file ModifyListenerHelper.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), m_aModifyListeners, and comphelper::UnoImplBase::m_aMutex.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from comphelper::WeakComponentImplHelperBase.
Definition at line 66 of file ModifyListenerHelper.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), and m_aModifyListeners.
|
overridevirtual |
|
overridevirtual |
Definition at line 41 of file ModifyListenerHelper.cxx.
References m_aModifyListeners, comphelper::UnoImplBase::m_aMutex, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
private |
Definition at line 64 of file ModifyListenerHelper.hxx.
Referenced by addModifyListener(), disposing(), modified(), and removeModifyListener().