LibreOffice Module comphelper (master)
1
|
multiplexer for selection changes More...
#include <SelectionMultiplex.hxx>
Public Member Functions | |
OSelectionChangeMultiplexer (OSelectionChangeListener *_pListener, const css::uno::Reference< css::view::XSelectionSupplier > &_rxSet) | |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | selectionChanged (const css::lang::EventObject &aEvent) override |
void | lock () |
incremental lock More... | |
void | unlock () |
incremental unlock More... | |
sal_Int32 | locked () const |
get the lock count More... | |
Protected Member Functions | |
virtual | ~OSelectionChangeMultiplexer () override |
Private Member Functions | |
OSelectionChangeMultiplexer (const OSelectionChangeMultiplexer &)=delete | |
OSelectionChangeMultiplexer & | operator= (const OSelectionChangeMultiplexer &)=delete |
Private Attributes | |
css::uno::Reference< css::view::XSelectionSupplier > | m_xSet |
OSelectionChangeListener * | m_pListener |
sal_Int32 | m_nLockCount |
Friends | |
class | OSelectionChangeListener |
multiplexer for selection changes
Definition at line 58 of file SelectionMultiplex.hxx.
|
privatedelete |
|
overrideprotectedvirtual |
Definition at line 57 of file SelectionMultiplex.cxx.
comphelper::OSelectionChangeMultiplexer::OSelectionChangeMultiplexer | ( | OSelectionChangeListener * | _pListener, |
const css::uno::Reference< css::view::XSelectionSupplier > & | _rxSet | ||
) |
|
overridevirtual |
Definition at line 76 of file SelectionMultiplex.cxx.
References comphelper::OSelectionChangeListener::_disposing(), locked(), m_pListener, and m_xSet.
void comphelper::OSelectionChangeMultiplexer::lock | ( | ) |
|
inline |
get the lock count
Definition at line 83 of file SelectionMultiplex.hxx.
Referenced by disposing(), and selectionChanged().
|
privatedelete |
|
overridevirtual |
Definition at line 92 of file SelectionMultiplex.cxx.
References comphelper::OSelectionChangeListener::_selectionChanged(), locked(), and m_pListener.
void comphelper::OSelectionChangeMultiplexer::unlock | ( | ) |
|
friend |
Definition at line 60 of file SelectionMultiplex.hxx.
|
private |
Definition at line 63 of file SelectionMultiplex.hxx.
|
private |
Definition at line 62 of file SelectionMultiplex.hxx.
Referenced by disposing(), and selectionChanged().
|
private |
Definition at line 61 of file SelectionMultiplex.hxx.
Referenced by disposing().