LibreOffice Module comphelper (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
comphelper::OSelectionChangeMultiplexer Class Referencefinal

multiplexer for selection changes More...

#include <SelectionMultiplex.hxx>

Inheritance diagram for comphelper::OSelectionChangeMultiplexer:
[legend]
Collaboration diagram for comphelper::OSelectionChangeMultiplexer:
[legend]

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...
 
void dispose ()
 

Private Member Functions

 OSelectionChangeMultiplexer (const OSelectionChangeMultiplexer &)=delete
 
OSelectionChangeMultiplexeroperator= (const OSelectionChangeMultiplexer &)=delete
 
virtual ~OSelectionChangeMultiplexer () override
 

Private Attributes

css::uno::Reference< css::view::XSelectionSupplier > m_xSet
 
OSelectionChangeListenerm_pListener
 
sal_Int32 m_nLockCount
 

Friends

class OSelectionChangeListener
 

Detailed Description

multiplexer for selection changes

Definition at line 57 of file SelectionMultiplex.hxx.

Constructor & Destructor Documentation

◆ OSelectionChangeMultiplexer() [1/2]

comphelper::OSelectionChangeMultiplexer::OSelectionChangeMultiplexer ( const OSelectionChangeMultiplexer )
privatedelete

◆ ~OSelectionChangeMultiplexer()

comphelper::OSelectionChangeMultiplexer::~OSelectionChangeMultiplexer ( )
overrideprivatevirtual

Definition at line 57 of file SelectionMultiplex.cxx.

◆ OSelectionChangeMultiplexer() [2/2]

comphelper::OSelectionChangeMultiplexer::OSelectionChangeMultiplexer ( OSelectionChangeListener _pListener,
const css::uno::Reference< css::view::XSelectionSupplier > &  _rxSet 
)

References lock(), and selectionChanged().

Member Function Documentation

◆ dispose()

void comphelper::OSelectionChangeMultiplexer::dispose ( void  )

Definition at line 98 of file SelectionMultiplex.cxx.

References m_refCount, and m_xSet.

◆ disposing()

void SAL_CALL comphelper::OSelectionChangeMultiplexer::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ lock()

void comphelper::OSelectionChangeMultiplexer::lock ( )

incremental lock

Definition at line 62 of file SelectionMultiplex.cxx.

References m_nLockCount.

◆ locked()

sal_Int32 comphelper::OSelectionChangeMultiplexer::locked ( ) const
inline

get the lock count

Definition at line 82 of file SelectionMultiplex.hxx.

Referenced by disposing(), and selectionChanged().

◆ operator=()

OSelectionChangeMultiplexer & comphelper::OSelectionChangeMultiplexer::operator= ( const OSelectionChangeMultiplexer )
privatedelete

◆ selectionChanged()

void SAL_CALL comphelper::OSelectionChangeMultiplexer::selectionChanged ( const css::lang::EventObject &  aEvent)
overridevirtual

◆ unlock()

void comphelper::OSelectionChangeMultiplexer::unlock ( )

incremental unlock

Definition at line 68 of file SelectionMultiplex.cxx.

References m_nLockCount.

Friends And Related Function Documentation

◆ OSelectionChangeListener

friend class OSelectionChangeListener
friend

Definition at line 59 of file SelectionMultiplex.hxx.

Member Data Documentation

◆ m_nLockCount

sal_Int32 comphelper::OSelectionChangeMultiplexer::m_nLockCount
private

Definition at line 62 of file SelectionMultiplex.hxx.

Referenced by lock(), and unlock().

◆ m_pListener

OSelectionChangeListener* comphelper::OSelectionChangeMultiplexer::m_pListener
private

Definition at line 61 of file SelectionMultiplex.hxx.

Referenced by disposing(), and selectionChanged().

◆ m_xSet

css::uno::Reference< css::view::XSelectionSupplier> comphelper::OSelectionChangeMultiplexer::m_xSet
private

Definition at line 60 of file SelectionMultiplex.hxx.

Referenced by dispose(), and disposing().


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