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

simple listener adapter for property sets More...

#include <propmultiplex.hxx>

Collaboration diagram for comphelper::OPropertyChangeListener:
[legend]

Public Member Functions

 OPropertyChangeListener (::osl::Mutex &_rMutex)
 
virtual ~OPropertyChangeListener ()
 
virtual void _propertyChanged (const css::beans::PropertyChangeEvent &_rEvent)=0
 
virtual void _disposing (const css::lang::EventObject &_rSource)
 

Protected Member Functions

void disposeAdapter ()
 If the derivee also owns the mutex which we know as reference, then call this within your derivee's dtor. More...
 
void setAdapter (OPropertyChangeMultiplexer *_pAdapter)
 

Private Attributes

rtl::Reference< OPropertyChangeMultiplexerm_xAdapter
 
::osl::Mutex & m_rMutex
 

Friends

class OPropertyChangeMultiplexer
 

Detailed Description

simple listener adapter for property sets

Definition at line 46 of file propmultiplex.hxx.

Constructor & Destructor Documentation

comphelper::OPropertyChangeListener::OPropertyChangeListener ( ::osl::Mutex &  _rMutex)
inline

Definition at line 54 of file propmultiplex.hxx.

comphelper::OPropertyChangeListener::~OPropertyChangeListener ( )
virtual

Definition at line 33 of file propmultiplex.cxx.

References m_xAdapter.

Member Function Documentation

void comphelper::OPropertyChangeListener::_disposing ( const css::lang::EventObject &  _rSource)
virtual
Exceptions
css::uno::RuntimeException

Definition at line 40 of file propmultiplex.cxx.

Referenced by comphelper::OPropertyChangeMultiplexer::disposing().

virtual void comphelper::OPropertyChangeListener::_propertyChanged ( const css::beans::PropertyChangeEvent &  _rEvent)
pure virtual
Exceptions
css::uno::RuntimeException

Referenced by comphelper::OPropertyChangeMultiplexer::propertyChange().

void comphelper::OPropertyChangeListener::disposeAdapter ( )
protected

If the derivee also owns the mutex which we know as reference, then call this within your derivee's dtor.

Definition at line 46 of file propmultiplex.cxx.

References m_xAdapter.

void comphelper::OPropertyChangeListener::setAdapter ( OPropertyChangeMultiplexer _pAdapter)
protected

Friends And Related Function Documentation

friend class OPropertyChangeMultiplexer
friend

Definition at line 48 of file propmultiplex.hxx.

Member Data Documentation

::osl::Mutex& comphelper::OPropertyChangeListener::m_rMutex
private

Definition at line 51 of file propmultiplex.hxx.

Referenced by setAdapter().

rtl::Reference<OPropertyChangeMultiplexer> comphelper::OPropertyChangeListener::m_xAdapter
private

Definition at line 50 of file propmultiplex.hxx.

Referenced by disposeAdapter(), setAdapter(), and ~OPropertyChangeListener().


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