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

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...
 

Protected Member Functions

virtual ~OSelectionChangeMultiplexer () override
 

Private Member Functions

 OSelectionChangeMultiplexer (const OSelectionChangeMultiplexer &)=delete
 
OSelectionChangeMultiplexeroperator= (const OSelectionChangeMultiplexer &)=delete
 

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 58 of file SelectionMultiplex.hxx.

Constructor & Destructor Documentation

comphelper::OSelectionChangeMultiplexer::OSelectionChangeMultiplexer ( const OSelectionChangeMultiplexer )
privatedelete
comphelper::OSelectionChangeMultiplexer::~OSelectionChangeMultiplexer ( )
overrideprotectedvirtual

Definition at line 57 of file SelectionMultiplex.cxx.

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

Member Function Documentation

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

incremental lock

Definition at line 62 of file SelectionMultiplex.cxx.

References m_nLockCount.

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

get the lock count

Definition at line 83 of file SelectionMultiplex.hxx.

Referenced by disposing(), and selectionChanged().

OSelectionChangeMultiplexer& comphelper::OSelectionChangeMultiplexer::operator= ( const OSelectionChangeMultiplexer )
privatedelete
void SAL_CALL comphelper::OSelectionChangeMultiplexer::selectionChanged ( const css::lang::EventObject &  aEvent)
overridevirtual
void comphelper::OSelectionChangeMultiplexer::unlock ( )

incremental unlock

Definition at line 68 of file SelectionMultiplex.cxx.

References m_nLockCount.

Friends And Related Function Documentation

friend class OSelectionChangeListener
friend

Definition at line 60 of file SelectionMultiplex.hxx.

Member Data Documentation

sal_Int32 comphelper::OSelectionChangeMultiplexer::m_nLockCount
private

Definition at line 63 of file SelectionMultiplex.hxx.

Referenced by lock(), and unlock().

OSelectionChangeListener* comphelper::OSelectionChangeMultiplexer::m_pListener
private

Definition at line 62 of file SelectionMultiplex.hxx.

Referenced by disposing(), and selectionChanged().

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

Definition at line 61 of file SelectionMultiplex.hxx.

Referenced by disposing().


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