LibreOffice Module ucb (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
hierarchy_ucp::HierarchyDataSource Class Reference

#include <hierarchydatasource.hxx>

Inheritance diagram for hierarchy_ucp::HierarchyDataSource:
[legend]
Collaboration diagram for hierarchy_ucp::HierarchyDataSource:
[legend]

Public Member Functions

 HierarchyDataSource (css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual ~HierarchyDataSource () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance (const OUString &aServiceSpecifier) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 

Private Member Functions

css::uno::Reference< css::uno::XInterface > createInstanceWithArguments (std::u16string_view ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments, bool bCheckArgs)
 
css::uno::Reference< css::lang::XMultiServiceFactory > getConfigProvider ()
 

Static Private Member Functions

static bool createConfigPath (std::u16string_view rInPath, OUString &rOutPath)
 

Private Attributes

std::mutex m_aMutex
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::lang::XMultiServiceFactory > m_xConfigProvider
 
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aDisposeEventListeners
 

Detailed Description

Definition at line 36 of file hierarchydatasource.hxx.

Constructor & Destructor Documentation

◆ HierarchyDataSource()

HierarchyDataSource::HierarchyDataSource ( css::uno::Reference< css::uno::XComponentContext >  xContext)
explicit

Definition at line 187 of file hierarchydatasource.cxx.

◆ ~HierarchyDataSource()

HierarchyDataSource::~HierarchyDataSource ( )
overridevirtual

Definition at line 195 of file hierarchydatasource.cxx.

Member Function Documentation

◆ addEventListener()

void SAL_CALL HierarchyDataSource::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 239 of file hierarchydatasource.cxx.

References m_aMutex.

◆ createConfigPath()

bool HierarchyDataSource::createConfigPath ( std::u16string_view  rInPath,
OUString &  rOutPath 
)
staticprivate

◆ createInstance()

uno::Reference< uno::XInterface > SAL_CALL HierarchyDataSource::createInstance ( const OUString &  aServiceSpecifier)
overridevirtual

◆ createInstanceWithArguments() [1/2]

virtual css::uno::Reference< css::uno::XInterface > SAL_CALL hierarchy_ucp::HierarchyDataSource::createInstanceWithArguments ( const OUString &  ServiceSpecifier,
const css::uno::Sequence< css::uno::Any > &  Arguments 
)
overridevirtual

◆ createInstanceWithArguments() [2/2]

css::uno::Reference< css::uno::XInterface > hierarchy_ucp::HierarchyDataSource::createInstanceWithArguments ( std::u16string_view  ServiceSpecifier,
const css::uno::Sequence< css::uno::Any > &  Arguments,
bool  bCheckArgs 
)
private
Exceptions
css::uno::Exception

◆ dispose()

void SAL_CALL HierarchyDataSource::dispose ( void  )
overridevirtual

Definition at line 225 of file hierarchydatasource.cxx.

References m_aMutex.

◆ getAvailableServiceNames()

uno::Sequence< OUString > SAL_CALL HierarchyDataSource::getAvailableServiceNames ( )
overridevirtual

Definition at line 288 of file hierarchydatasource.cxx.

References READ_SERVICE_NAME, and READWRITE_SERVICE_NAME.

◆ getConfigProvider()

uno::Reference< lang::XMultiServiceFactory > HierarchyDataSource::getConfigProvider ( )
private

Definition at line 413 of file hierarchydatasource.cxx.

References m_aMutex, m_xConfigProvider, and m_xContext.

◆ getImplementationName()

OUString SAL_CALL HierarchyDataSource::getImplementationName ( )
overridevirtual

Definition at line 200 of file hierarchydatasource.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > HierarchyDataSource::getSupportedServiceNames ( )
overridevirtual

Definition at line 208 of file hierarchydatasource.cxx.

◆ removeEventListener()

void SAL_CALL HierarchyDataSource::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 249 of file hierarchydatasource.cxx.

References m_aMutex.

◆ supportsService()

sal_Bool SAL_CALL HierarchyDataSource::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 204 of file hierarchydatasource.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_aDisposeEventListeners

comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> hierarchy_ucp::HierarchyDataSource::m_aDisposeEventListeners
private

Definition at line 44 of file hierarchydatasource.hxx.

◆ m_aMutex

std::mutex hierarchy_ucp::HierarchyDataSource::m_aMutex
private

Definition at line 41 of file hierarchydatasource.hxx.

◆ m_xConfigProvider

css::uno::Reference< css::lang::XMultiServiceFactory > hierarchy_ucp::HierarchyDataSource::m_xConfigProvider
private

Definition at line 43 of file hierarchydatasource.hxx.

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > hierarchy_ucp::HierarchyDataSource::m_xContext
private

Definition at line 42 of file hierarchydatasource.hxx.


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