LibreOffice Module framework (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
framework::ConfigurationAccess_FactoryManager Class Referencefinal

#include <configurationaccessfactorymanager.hxx>

Inheritance diagram for framework::ConfigurationAccess_FactoryManager:
[legend]
Collaboration diagram for framework::ConfigurationAccess_FactoryManager:
[legend]

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
 

Detailed Description

Definition at line 39 of file configurationaccessfactorymanager.hxx.

Constructor & Destructor Documentation

◆ ConfigurationAccess_FactoryManager()

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.

◆ ~ConfigurationAccess_FactoryManager()

framework::ConfigurationAccess_FactoryManager::~ConfigurationAccess_FactoryManager ( )
overridevirtual

Definition at line 78 of file uielementfactorymanager.cxx.

References m_aMutex, m_xConfigAccess, and m_xConfigListener.

Member Function Documentation

◆ addFactorySpecifierToTypeNameModule()

void framework::ConfigurationAccess_FactoryManager::addFactorySpecifierToTypeNameModule ( std::u16string_view  rType,
std::u16string_view  rName,
std::u16string_view  rModule,
const OUString &  aServiceSpecifier 
)

◆ disposing()

void SAL_CALL framework::ConfigurationAccess_FactoryManager::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 252 of file uielementfactorymanager.cxx.

References m_aMutex, and m_xConfigAccess.

◆ elementInserted()

void SAL_CALL framework::ConfigurationAccess_FactoryManager::elementInserted ( const css::container::ContainerEvent &  Event)
overridevirtual

◆ elementRemoved()

void SAL_CALL framework::ConfigurationAccess_FactoryManager::elementRemoved ( const css::container::ContainerEvent &  Event)
overridevirtual

◆ elementReplaced()

void SAL_CALL framework::ConfigurationAccess_FactoryManager::elementReplaced ( const css::container::ContainerEvent &  Event)
overridevirtual

◆ getFactoriesDescription()

Sequence< Sequence< PropertyValue > > framework::ConfigurationAccess_FactoryManager::getFactoriesDescription ( ) const

◆ getFactorySpecifierFromTypeNameModule()

OUString framework::ConfigurationAccess_FactoryManager::getFactorySpecifierFromTypeNameModule ( std::u16string_view  rType,
std::u16string_view  rName,
std::u16string_view  rModule 
) const

◆ impl_getElementProps()

bool framework::ConfigurationAccess_FactoryManager::impl_getElementProps ( const css::uno::Any &  rElement,
OUString &  rType,
OUString &  rName,
OUString &  rModule,
OUString &  rServiceSpecifier 
) const
private

◆ readConfigurationData()

void framework::ConfigurationAccess_FactoryManager::readConfigurationData ( )

◆ removeFactorySpecifierFromTypeNameModule()

void framework::ConfigurationAccess_FactoryManager::removeFactorySpecifierFromTypeNameModule ( std::u16string_view  rType,
std::u16string_view  rName,
std::u16string_view  rModule 
)

Member Data Documentation

◆ m_aFactoryManagerMap

FactoryManagerMap framework::ConfigurationAccess_FactoryManager::m_aFactoryManagerMap
private

◆ m_aMutex

std::mutex framework::ConfigurationAccess_FactoryManager::m_aMutex
mutableprivate

◆ m_aPropFactory

OUString framework::ConfigurationAccess_FactoryManager::m_aPropFactory
private

Definition at line 72 of file configurationaccessfactorymanager.hxx.

Referenced by impl_getElementProps().

◆ m_aPropModule

OUString framework::ConfigurationAccess_FactoryManager::m_aPropModule
private

◆ m_aPropName

OUString framework::ConfigurationAccess_FactoryManager::m_aPropName
private

◆ m_aPropType

OUString framework::ConfigurationAccess_FactoryManager::m_aPropType
private

◆ m_bConfigAccessInitialized

bool framework::ConfigurationAccess_FactoryManager::m_bConfigAccessInitialized
private

Definition at line 78 of file configurationaccessfactorymanager.hxx.

Referenced by readConfigurationData().

◆ m_sRoot

OUString framework::ConfigurationAccess_FactoryManager::m_sRoot
private

Definition at line 73 of file configurationaccessfactorymanager.hxx.

Referenced by readConfigurationData().

◆ m_xConfigAccess

css::uno::Reference< css::container::XNameAccess > framework::ConfigurationAccess_FactoryManager::m_xConfigAccess
private

◆ m_xConfigListener

css::uno::Reference< css::container::XContainerListener > framework::ConfigurationAccess_FactoryManager::m_xConfigListener
private

◆ m_xConfigProvider

css::uno::Reference< css::lang::XMultiServiceFactory > framework::ConfigurationAccess_FactoryManager::m_xConfigProvider
private

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