Global Functions in Namespace cppu
in Sourcefile factory.hxx
- createFactoryProxy
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createFactoryProxy(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & |
rServiceManager, |
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > & |
rFactory ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- D E P R E C A T E D
- Description
Deprecated. Creates a factory wrapping another one.
This means the methods of the interfaces XServiceProvider, XServiceInfo and
XSingleServiceFactory are forwarded.
- ATTENTION!
The XComponent interface is not supported!
- Parameters
rServiceManager |
the service manager used by the implementation.
|
xSingleServiceFactory |
the wrapped service factory.
|
- Return
a factory that support the interfaces XServiceProvider, XServiceInfo
XSingleServiceFactory.
- See Also
- createSingleFactory
- createOneInstanceComponentFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory > createOneInstanceComponentFactory(
ComponentFactoryFunc |
fptr, |
const ::rtl::OUString & |
rImplementationName, |
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & |
rServiceNames, |
rtl_ModuleCount * |
pModCount = 0 ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
Creates a single service factory which holds the instance created only once.
- Parameters
fptr |
function pointer for instanciating the object
|
rImplementationName |
implementation name of service
|
rServiceNames |
supported services
|
pModCount |
for future extension (library unloading concept).
|
- See Also
- createSingleComponentFactory
- createOneInstanceFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createOneInstanceFactory(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & |
rServiceManager, |
const ::rtl::OUString & |
rComponentName, |
ComponentInstantiation |
pCreateFunction, |
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & |
rServiceNames, |
rtl_ModuleCount * |
pModCount = 0 ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- D E P R E C A T E D
- Summary
Deprecated. Creates a single service factory which holds the instance created only once.
- Parameters
rServiceManager |
the service manager used by the implementation.
|
rImplementationName |
the implementation name. An empty string is possible.
|
ComponentInstantiation |
the function pointer to create an object.
|
rServiceNames |
the service supported by the implementation.
|
pModCount |
for future extension (library unloading concept).
|
- Return
a factory that support the interfaces XServiceProvider, XServiceInfo
XSingleServiceFactory and XComponent.
- See Also
- createSingleFactory
- createOneInstanceRegistryFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createOneInstanceRegistryFactory(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & |
rServiceManager, |
const ::rtl::OUString & |
rComponentName, |
const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & |
rImplementationKey ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- D E P R E C A T E D
- Summary
Deprecated. Creates a single service factory which holds the instance created only once
based on a registry.
- Parameters
rServiceManager |
the service manager used by the implementation.
|
rImplementationName |
the implementation name. An empty string is possible.
|
rImplementationKey |
the registry key of the implementation section.
|
- Return
a factory that support the interfaces XServiceProvider, XServiceInfo
XSingleServiceFactory and XComponent.
- See Also
- createSingleRegistryFactory
- createSingleComponentFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory > createSingleComponentFactory(
ComponentFactoryFunc |
fptr, |
const ::rtl::OUString & |
rImplementationName, |
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & |
rServiceNames, |
rtl_ModuleCount * |
pModCount = 0 ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
Creates a single component factory supporting the XSingleComponentFactory interface.
- Parameters
fptr |
function pointer for instanciating the object
|
rImplementationName |
implementation name of service
|
rServiceNames |
supported services
|
pModCount |
for future extension (library unloading concept).
|
- createSingleFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createSingleFactory(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & |
rServiceManager, |
const ::rtl::OUString & |
rImplementationName, |
ComponentInstantiation |
pCreateFunction, |
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & |
rServiceNames, |
rtl_ModuleCount * |
pModCount = 0 ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- D E P R E C A T E D
- Summary
Deprecated. Creates a single service factory.
- Parameters
rServiceManager |
the service manager used by the implementation.
|
rImplementationName |
the implementation name. An empty string is possible.
|
ComponentInstantiation |
the function pointer to create an object.
|
rServiceNames |
the service supported by the implementation.
|
pModCount |
for future extension (library unloading concept).
|
- Return
a factory that support the interfaces XServiceProvider, XServiceInfo
XSingleServiceFactory and XComponent.
- See Also
- createOneInstanceFactory
- createSingleRegistryFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > createSingleRegistryFactory(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & |
rServiceManager, |
const ::rtl::OUString & |
rImplementationName, |
const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & |
rImplementationKey ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- D E P R E C A T E D
- Summary
Deprecated. Creates a single service factory based on a registry.
- Parameters
rServiceManager |
the service manager used by the implementation.
|
rImplementationName |
the implementation name. An empty string is possible.
|
rImplementationKey |
the registry key of the implementation section.
|
- Return
a factory that support the interfaces XServiceProvider, XServiceInfo
XSingleServiceFactory and XComponent.
Top of Page
Copyright © 2000, 2015 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.