LibreOffice Module cppuhelper (master) 1
Namespaces | Functions
factory.cxx File Reference
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <rtl/unload.h>
#include <cppuhelper/propshlp.hxx>
#include <o3tl/string_view.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/loader/XImplementationLoader.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/uno/XUnloadingPreference.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <memory>
#include <utility>
Include dependency graph for factory.cxx:

Go to the source code of this file.

Namespaces

namespace  cppu
 

Functions

Reference< XSingleServiceFactory > SAL_CALL cppu::createSingleFactory (const Reference< XMultiServiceFactory > &rServiceManager, const OUString &rImplementationName, ComponentInstantiation pCreateFunction, const Sequence< OUString > &rServiceNames, rtl_ModuleCount *)
 
Reference< XSingleServiceFactory > SAL_CALL cppu::createFactoryProxy (SAL_UNUSED_PARAMETER const Reference< XMultiServiceFactory > &, const Reference< XSingleServiceFactory > &rFactory)
 
Reference< XSingleServiceFactory > SAL_CALL cppu::createOneInstanceFactory (const Reference< XMultiServiceFactory > &rServiceManager, const OUString &rImplementationName, ComponentInstantiation pCreateFunction, const Sequence< OUString > &rServiceNames, rtl_ModuleCount *)
 
Reference< XSingleServiceFactory > SAL_CALL cppu::createSingleRegistryFactory (const Reference< XMultiServiceFactory > &rServiceManager, const OUString &rImplementationName, const Reference< XRegistryKey > &rImplementationKey)
 
Reference< XSingleServiceFactory > SAL_CALL cppu::createOneInstanceRegistryFactory (const Reference< XMultiServiceFactory > &rServiceManager, const OUString &rImplementationName, const Reference< XRegistryKey > &rImplementationKey)
 
Reference< lang::XSingleComponentFactory > SAL_CALL cppu::createSingleComponentFactory (ComponentFactoryFunc fptr, OUString const &rImplementationName, Sequence< OUString > const &rServiceNames, rtl_ModuleCount *)
 
Reference< lang::XSingleComponentFactory > SAL_CALL cppu::createOneInstanceComponentFactory (ComponentFactoryFunc fptr, OUString const &rImplementationName, Sequence< OUString > const &rServiceNames, rtl_ModuleCount *)
 

Variable Documentation

◆ aImplementationName

OUString aImplementationName
protected

Definition at line 139 of file factory.cxx.

◆ aServiceNames

Sequence< OUString > aServiceNames
protected

Definition at line 138 of file factory.cxx.

◆ bOneInstance

bool bOneInstance
private

Definition at line 119 of file factory.cxx.

◆ m_fptr

ComponentFactoryFunc m_fptr
protected

Definition at line 137 of file factory.cxx.

◆ m_property_array_helper

std::unique_ptr< IPropertyArrayHelper > m_property_array_helper
private

Definition at line 399 of file factory.cxx.

◆ m_xInfo

Reference< beans::XPropertySetInfo > m_xInfo
private

Definition at line 398 of file factory.cxx.

◆ pCreateFunction

ComponentInstantiation pCreateFunction
protected

Definition at line 136 of file factory.cxx.

Referenced by cppu::createOneInstanceFactory(), and cppu::createSingleFactory().

◆ xFactory

Reference<XSingleServiceFactory > xFactory
private

◆ xImplementationKey

Reference<XRegistryKey > xImplementationKey
private

The registry key of the implementation section.

Definition at line 394 of file factory.cxx.

◆ xModuleFactory

Reference<XSingleComponentFactory > xModuleFactory
private

The factory created with the loader.

Definition at line 396 of file factory.cxx.

◆ xModuleFactoryDepr

Reference<XSingleServiceFactory > xModuleFactoryDepr
private

Definition at line 397 of file factory.cxx.

◆ xSMgr

Reference<XMultiServiceFactory > xSMgr
protected

Definition at line 135 of file factory.cxx.

◆ xTheInstance

Reference<XInterface > xTheInstance
private

Definition at line 118 of file factory.cxx.