LibreOffice Module comphelper (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
comphelper::ConfigurationListenerProperty< uno_type > Class Template Reference

Access to this class must be protected by the SolarMutex. More...

#include <configurationlistener.hxx>

Inheritance diagram for comphelper::ConfigurationListenerProperty< uno_type >:
[legend]
Collaboration diagram for comphelper::ConfigurationListenerProperty< uno_type >:
[legend]

Public Member Functions

 ConfigurationListenerProperty (const rtl::Reference< ConfigurationListener > &xListener, const OUString &rProp)
 Provide a mirror of the configmgr's version of this property for the lifecycle of this property. More...
 
virtual ~ConfigurationListenerProperty () override
 
uno_type get () const
 
- Public Member Functions inherited from comphelper::ConfigurationListenerPropertyBase
virtual ~ConfigurationListenerPropertyBase ()
 
virtual void setProperty (const css::uno::Any &aProperty)=0
 
void dispose ()
 

Protected Member Functions

virtual void setProperty (const css::uno::Any &aProperty) override
 

Private Attributes

uno_type maValue
 

Additional Inherited Members

- Public Attributes inherited from comphelper::ConfigurationListenerPropertyBase
OUString maName
 
rtl::Reference< ConfigurationListenermxListener
 

Detailed Description

template<typename uno_type>
class comphelper::ConfigurationListenerProperty< uno_type >

Access to this class must be protected by the SolarMutex.

Definition at line 40 of file configurationlistener.hxx.

Constructor & Destructor Documentation

◆ ConfigurationListenerProperty()

template<typename uno_type >
comphelper::ConfigurationListenerProperty< uno_type >::ConfigurationListenerProperty ( const rtl::Reference< ConfigurationListener > &  xListener,
const OUString &  rProp 
)
inline

Provide a mirror of the configmgr's version of this property for the lifecycle of this property.

The property value tracks the same value in the configuration.

Definition at line 103 of file configurationlistener.hxx.

References comphelper::ConfigurationListenerPropertyBase::maName, maValue, and comphelper::ConfigurationListenerPropertyBase::mxListener.

◆ ~ConfigurationListenerProperty()

template<typename uno_type >
comphelper::ConfigurationListenerProperty< uno_type >::~ConfigurationListenerProperty
inlineoverridevirtual

Definition at line 111 of file configurationlistener.hxx.

References mxListener.

Member Function Documentation

◆ get()

template<typename uno_type >
uno_type comphelper::ConfigurationListenerProperty< uno_type >::get ( ) const
inline

◆ setProperty()

template<typename uno_type >
virtual void comphelper::ConfigurationListenerProperty< uno_type >::setProperty ( const css::uno::Any &  aProperty)
inlineoverrideprotectedvirtual

Member Data Documentation

◆ maValue

template<typename uno_type >
uno_type comphelper::ConfigurationListenerProperty< uno_type >::maValue
private

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