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

simple listener adapter for property sets More...

#include <propmultiplex2.hxx>

Collaboration diagram for comphelper::OPropertyChangeListener2:
[legend]

Public Member Functions

virtual ~OPropertyChangeListener2 ()
 
virtual void _propertyChanged (const css::beans::PropertyChangeEvent &_rEvent)=0
 

Protected Member Functions

void disposeAdapter (std::unique_lock< std::mutex > &rGuard)
 If the derivee also owns the mutex which we know as reference, then call this within your derivee's dtor. More...
 

Private Member Functions

void setAdapter (std::unique_lock< std::mutex > &rGuard, OPropertyChangeMultiplexer2 *_pAdapter)
 

Private Attributes

rtl::Reference< OPropertyChangeMultiplexer2m_xAdapter
 

Friends

class OPropertyChangeMultiplexer2
 

Detailed Description

simple listener adapter for property sets

Definition at line 42 of file propmultiplex2.hxx.

Constructor & Destructor Documentation

◆ ~OPropertyChangeListener2()

comphelper::OPropertyChangeListener2::~OPropertyChangeListener2 ( )
virtual

Definition at line 30 of file propmultiplex2.cxx.

References m_xAdapter.

Member Function Documentation

◆ _propertyChanged()

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

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

◆ disposeAdapter()

void comphelper::OPropertyChangeListener2::disposeAdapter ( std::unique_lock< std::mutex > &  rGuard)
protected

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

Definition at line 36 of file propmultiplex2.cxx.

References m_xAdapter.

◆ setAdapter()

void comphelper::OPropertyChangeListener2::setAdapter ( std::unique_lock< std::mutex > &  rGuard,
OPropertyChangeMultiplexer2 _pAdapter 
)
private

Friends And Related Function Documentation

◆ OPropertyChangeMultiplexer2

friend class OPropertyChangeMultiplexer2
friend

Definition at line 44 of file propmultiplex2.hxx.

Member Data Documentation

◆ m_xAdapter

rtl::Reference<OPropertyChangeMultiplexer2> comphelper::OPropertyChangeListener2::m_xAdapter
private

Definition at line 46 of file propmultiplex2.hxx.

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


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