Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.