LibreOffice Module comphelper (master) 1
|
#include <MasterPropertySet.hxx>
Public Member Functions | |
MasterPropertySet (comphelper::MasterPropertySetInfo *pInfo, SolarMutex *pMutex) noexcept | |
virtual | ~MasterPropertySet () noexcept |
void | registerSlave (ChainablePropertySet *pNewSet) noexcept |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
Protected Member Functions | |
virtual void | _preSetValues ()=0 |
virtual void | _setSingleValue (const comphelper::PropertyInfo &rInfo, const css::uno::Any &rValue)=0 |
virtual void | _postSetValues ()=0 |
virtual void | _preGetValues ()=0 |
virtual void | _getSingleValue (const comphelper::PropertyInfo &rInfo, css::uno::Any &rValue)=0 |
virtual void | _postGetValues ()=0 |
Private Attributes | |
SolarMutex *const | mpMutex |
sal_uInt8 | mnLastId |
std::map< sal_uInt8, comphelper::SlaveData * > | maSlaveMap |
rtl::Reference< MasterPropertySetInfo > | mxInfo |
Definition at line 60 of file MasterPropertySet.hxx.
|
noexcept |
Definition at line 64 of file MasterPropertySet.cxx.
|
virtualnoexcept |
Definition at line 72 of file MasterPropertySet.cxx.
References maSlaveMap.
|
protectedpure virtual |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Referenced by getPropertyValue(), and getPropertyValues().
|
protectedpure virtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException |
Referenced by getPropertyValue().
|
protectedpure virtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException |
Referenced by getPropertyValues(), setPropertyValue(), and setPropertyValues().
|
protectedpure virtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException |
Referenced by getPropertyValue(), and getPropertyValues().
|
protectedpure virtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException |
Referenced by setPropertyValue(), and setPropertyValues().
|
protectedpure virtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Referenced by setPropertyValue(), and setPropertyValues().
|
overridevirtual |
Definition at line 307 of file MasterPropertySet.cxx.
|
overridevirtual |
Definition at line 160 of file MasterPropertySet.cxx.
|
overridevirtual |
Definition at line 170 of file MasterPropertySet.cxx.
|
overridevirtual |
Definition at line 317 of file MasterPropertySet.cxx.
|
overridevirtual |
Definition at line 389 of file MasterPropertySet.cxx.
References Any, mxInfo, and XPropertySet.
|
overridevirtual |
Definition at line 80 of file MasterPropertySet.cxx.
References mxInfo.
|
overridevirtual |
Definition at line 323 of file MasterPropertySet.cxx.
References maSlaveMap, comphelper::ChainablePropertySet::mpMutex, mxInfo, and XPropertySet.
|
overridevirtual |
Definition at line 343 of file MasterPropertySet.cxx.
References i, comphelper::SlaveData::IsInit(), maSlaveMap, mxInfo, nCount, comphelper::SlaveData::SetInit(), and XPropertySet.
|
overridevirtual |
Definition at line 125 of file MasterPropertySet.cxx.
References comphelper::ChainablePropertySet::_getSingleValue(), _getSingleValue(), comphelper::ChainablePropertySet::_postGetValues(), _postGetValues(), comphelper::ChainablePropertySet::_preGetValues(), _preGetValues(), Any, maSlaveMap, comphelper::ChainablePropertySet::mpMutex, mpMutex, mxInfo, and XPropertySet.
|
overridevirtual |
! have a unique_ptr to an array of OGuards in order to have the ! allocated memory properly freed (exception safe!). ! Since the array itself has unique_ptrs as members we have to use a ! helper class 'AutoOGuardArray' in order to have ! the acquired locks properly released.
Definition at line 244 of file MasterPropertySet.cxx.
References _getSingleValue(), _postSetValues(), _preGetValues(), Any, i, comphelper::SlaveData::IsInit(), maSlaveMap, mpMutex, mxInfo, comphelper::SlaveData::mxSlave, nCount, comphelper::SlaveData::SetInit(), and XPropertySet.
|
noexcept |
Definition at line 85 of file MasterPropertySet.cxx.
|
overridevirtual |
Definition at line 312 of file MasterPropertySet.cxx.
|
overridevirtual |
Definition at line 165 of file MasterPropertySet.cxx.
|
overridevirtual |
Definition at line 175 of file MasterPropertySet.cxx.
|
overridevirtual |
Definition at line 381 of file MasterPropertySet.cxx.
References mxInfo, and XPropertySet.
|
overridevirtual |
Definition at line 92 of file MasterPropertySet.cxx.
References comphelper::ChainablePropertySet::_postSetValues(), _postSetValues(), comphelper::ChainablePropertySet::_preSetValues(), _preSetValues(), comphelper::ChainablePropertySet::_setSingleValue(), _setSingleValue(), maSlaveMap, comphelper::ChainablePropertySet::mpMutex, mpMutex, mxInfo, and XPropertySet.
|
overridevirtual |
! have a unique_ptr to an array of OGuards in order to have the ! allocated memory properly freed (exception safe!). ! Since the array itself has unique_ptrs as members we have to use a ! helper class 'AutoOGuardArray' in order to have ! the acquired locks properly released.
Definition at line 181 of file MasterPropertySet.cxx.
References _postSetValues(), _preSetValues(), _setSingleValue(), Any, i, comphelper::SlaveData::IsInit(), maSlaveMap, mpMutex, mxInfo, comphelper::SlaveData::mxSlave, nCount, comphelper::SlaveData::SetInit(), and XPropertySet.
|
private |
Definition at line 66 of file MasterPropertySet.hxx.
Referenced by getPropertyState(), getPropertyStates(), getPropertyValue(), getPropertyValues(), setPropertyValue(), setPropertyValues(), and ~MasterPropertySet().
|
private |
Definition at line 65 of file MasterPropertySet.hxx.
|
private |
Definition at line 64 of file MasterPropertySet.hxx.
Referenced by getPropertyValue(), getPropertyValues(), setPropertyValue(), and setPropertyValues().
|
private |
Definition at line 67 of file MasterPropertySet.hxx.
Referenced by getPropertyDefault(), getPropertySetInfo(), getPropertyState(), getPropertyStates(), getPropertyValue(), getPropertyValues(), setPropertyToDefault(), setPropertyValue(), and setPropertyValues().