LibreOffice Module chart2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::ModifyEventForwarder Class Referencefinal

This helper class serves as forwarder of modify events. More...

#include <ModifyListenerHelper.hxx>

Inheritance diagram for chart::ModifyEventForwarder:
[legend]
Collaboration diagram for chart::ModifyEventForwarder:
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ModifyEventForwarder()

chart::ModifyEventForwarder::ModifyEventForwarder ( )

Definition at line 29 of file ModifyListenerHelper.cxx.

Member Function Documentation

◆ addModifyListener()

void SAL_CALL chart::ModifyEventForwarder::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

◆ disposing() [1/2]

virtual void SAL_CALL chart::ModifyEventForwarder::disposing ( const css::lang::EventObject &  Source)
overrideprivatevirtual

◆ disposing() [2/2]

void chart::ModifyEventForwarder::disposing ( std::unique_lock< std::mutex > &  rGuard)
overrideprivatevirtual

◆ modified()

void SAL_CALL chart::ModifyEventForwarder::modified ( const css::lang::EventObject &  aEvent)
overridevirtual

◆ removeModifyListener()

void SAL_CALL chart::ModifyEventForwarder::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

Member Data Documentation

◆ m_aModifyListeners

comphelper::OInterfaceContainerHelper4<css::util::XModifyListener> chart::ModifyEventForwarder::m_aModifyListeners
private

The documentation for this class was generated from the following files: