LibreOffice Module framework (master) 1
|
#include <configurationaccessfactorymanager.hxx>
Classes | |
class | FactoryManagerMap |
Public Member Functions | |
ConfigurationAccess_FactoryManager (const css::uno::Reference< css::uno::XComponentContext > &rxContext, OUString _sRoot) | |
virtual | ~ConfigurationAccess_FactoryManager () override |
void | readConfigurationData () |
OUString | getFactorySpecifierFromTypeNameModule (std::u16string_view rType, std::u16string_view rName, std::u16string_view rModule) const |
void | addFactorySpecifierToTypeNameModule (std::u16string_view rType, std::u16string_view rName, std::u16string_view rModule, const OUString &aServiceSpecifier) |
void | removeFactorySpecifierFromTypeNameModule (std::u16string_view rType, std::u16string_view rName, std::u16string_view rModule) |
css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > | getFactoriesDescription () const |
virtual void SAL_CALL | elementInserted (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | elementRemoved (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | elementReplaced (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
Private Member Functions | |
bool | impl_getElementProps (const css::uno::Any &rElement, OUString &rType, OUString &rName, OUString &rModule, OUString &rServiceSpecifier) const |
Private Attributes | |
std::mutex | m_aMutex |
OUString | m_aPropType |
OUString | m_aPropName |
OUString | m_aPropModule |
OUString | m_aPropFactory |
OUString | m_sRoot |
FactoryManagerMap | m_aFactoryManagerMap |
css::uno::Reference< css::lang::XMultiServiceFactory > | m_xConfigProvider |
css::uno::Reference< css::container::XNameAccess > | m_xConfigAccess |
css::uno::Reference< css::container::XContainerListener > | m_xConfigListener |
bool | m_bConfigAccessInitialized |
Definition at line 39 of file configurationaccessfactorymanager.hxx.
framework::ConfigurationAccess_FactoryManager::ConfigurationAccess_FactoryManager | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
OUString | _sRoot | ||
) |
Definition at line 67 of file uielementfactorymanager.cxx.
References m_xConfigProvider.
|
overridevirtual |
Definition at line 78 of file uielementfactorymanager.cxx.
References m_aMutex, m_xConfigAccess, and m_xConfigListener.
void framework::ConfigurationAccess_FactoryManager::addFactorySpecifierToTypeNameModule | ( | std::u16string_view | rType, |
std::u16string_view | rName, | ||
std::u16string_view | rModule, | ||
const OUString & | aServiceSpecifier | ||
) |
Definition at line 124 of file uielementfactorymanager.cxx.
References framework::getHashKeyFromStrings(), m_aFactoryManagerMap, and m_aMutex.
|
overridevirtual |
Definition at line 252 of file uielementfactorymanager.cxx.
References m_aMutex, and m_xConfigAccess.
|
overridevirtual |
Definition at line 193 of file uielementfactorymanager.cxx.
References aEvent, aName, framework::getHashKeyFromStrings(), impl_getElementProps(), m_aFactoryManagerMap, and m_aMutex.
|
overridevirtual |
Definition at line 212 of file uielementfactorymanager.cxx.
References aEvent, aName, framework::getHashKeyFromStrings(), impl_getElementProps(), m_aFactoryManagerMap, and m_aMutex.
|
overridevirtual |
Definition at line 231 of file uielementfactorymanager.cxx.
References aEvent, aName, framework::getHashKeyFromStrings(), impl_getElementProps(), m_aFactoryManagerMap, and m_aMutex.
Sequence< Sequence< PropertyValue > > framework::ConfigurationAccess_FactoryManager::getFactoriesDescription | ( | ) | const |
Definition at line 152 of file uielementfactorymanager.cxx.
References aSeq, m_aFactoryManagerMap, m_aMutex, m_aPropModule, m_aPropName, m_aPropType, comphelper::makePropertyValue(), nIndex, and nToken.
OUString framework::ConfigurationAccess_FactoryManager::getFactorySpecifierFromTypeNameModule | ( | std::u16string_view | rType, |
std::u16string_view | rName, | ||
std::u16string_view | rModule | ||
) | const |
Definition at line 88 of file uielementfactorymanager.cxx.
References aName, framework::getHashKeyFromStrings(), m_aFactoryManagerMap, m_aMutex, and nIndex.
|
private |
Definition at line 313 of file uielementfactorymanager.cxx.
References m_aPropFactory, m_aPropModule, m_aPropName, and m_aPropType.
Referenced by elementInserted(), elementRemoved(), elementReplaced(), and readConfigurationData().
void framework::ConfigurationAccess_FactoryManager::readConfigurationData | ( | ) |
Definition at line 260 of file uielementfactorymanager.cxx.
References aName, Any, framework::getHashKeyFromStrings(), impl_getElementProps(), comphelper::InitAnyPropertySequence(), m_aFactoryManagerMap, m_aMutex, m_bConfigAccessInitialized, m_sRoot, m_xConfigAccess, m_xConfigListener, and m_xConfigProvider.
void framework::ConfigurationAccess_FactoryManager::removeFactorySpecifierFromTypeNameModule | ( | std::u16string_view | rType, |
std::u16string_view | rName, | ||
std::u16string_view | rModule | ||
) |
Definition at line 138 of file uielementfactorymanager.cxx.
References framework::getHashKeyFromStrings(), m_aFactoryManagerMap, and m_aMutex.
|
private |
Definition at line 74 of file configurationaccessfactorymanager.hxx.
Referenced by addFactorySpecifierToTypeNameModule(), elementInserted(), elementRemoved(), elementReplaced(), getFactoriesDescription(), getFactorySpecifierFromTypeNameModule(), readConfigurationData(), and removeFactorySpecifierFromTypeNameModule().
|
mutableprivate |
Definition at line 68 of file configurationaccessfactorymanager.hxx.
Referenced by addFactorySpecifierToTypeNameModule(), disposing(), elementInserted(), elementRemoved(), elementReplaced(), getFactoriesDescription(), getFactorySpecifierFromTypeNameModule(), readConfigurationData(), removeFactorySpecifierFromTypeNameModule(), and ~ConfigurationAccess_FactoryManager().
|
private |
Definition at line 72 of file configurationaccessfactorymanager.hxx.
Referenced by impl_getElementProps().
|
private |
Definition at line 71 of file configurationaccessfactorymanager.hxx.
Referenced by getFactoriesDescription(), and impl_getElementProps().
|
private |
Definition at line 70 of file configurationaccessfactorymanager.hxx.
Referenced by getFactoriesDescription(), and impl_getElementProps().
|
private |
Definition at line 69 of file configurationaccessfactorymanager.hxx.
Referenced by getFactoriesDescription(), and impl_getElementProps().
|
private |
Definition at line 78 of file configurationaccessfactorymanager.hxx.
Referenced by readConfigurationData().
|
private |
Definition at line 73 of file configurationaccessfactorymanager.hxx.
Referenced by readConfigurationData().
|
private |
Definition at line 76 of file configurationaccessfactorymanager.hxx.
Referenced by disposing(), readConfigurationData(), and ~ConfigurationAccess_FactoryManager().
|
private |
Definition at line 77 of file configurationaccessfactorymanager.hxx.
Referenced by readConfigurationData(), and ~ConfigurationAccess_FactoryManager().
|
private |
Definition at line 75 of file configurationaccessfactorymanager.hxx.
Referenced by ConfigurationAccess_FactoryManager(), and readConfigurationData().