<html> <head> <title>Global Functions in Namespace cppu in Sourcefile factory.hxx</title> <link rel="stylesheet" type="text/css" href="../../cpp.css"> </head> <body> <div id="adc-cppref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0"> <tr align="center" valign="top"> <td class="navimain"> <a href="../../index.html">Overview</a> </td> <td class="navimain"> <a href="index.html">Namespace</a> </td> <td class="navimainnone"> Class </td> <td class="navimain"> <a href="../../index-files/index-1.html">Index</a> </td> <td class="navimain"> <a href="../../help.html">Help</a> </td> </tr> </table> <table class="navisub" cellpadding="0" cellspacing="3"></table> <hr> <div class="title"><h2>Global Functions in Namespace cppu<br> in Sourcefile factory.hxx</h2> </div><hr> <dl class="member"> <dt class="member"><a name="createFactoryProxy-3814"> </a>createFactoryProxy</dt> <dd class="member"><dl> <dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XSingleServiceFactory > <strong>createFactoryProxy</strong>(</dt> <dd><table class="param-table"> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XMultiServiceFactory > & </td> <td> rServiceManager,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XSingleServiceFactory > &</td> <td>rFactory ) throw();</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt><strong>D E P R E C A T E D</strong></dt> <dt>Description</dt> <dd>Deprecated. Creates a factory wrapping another one. This means the methods of the interfaces XServiceProvider, XServiceInfo and XSingleServiceFactory are forwarded. </dd> <dt class="attention">ATTENTION!</dt> <dd> The XComponent interface is not supported! </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rServiceManager</td> <td><pre>the service manager used by the implementation. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">xSingleServiceFactory</td> <td><pre>the wrapped service factory. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory. </dd> <dt>See Also</dt> <dd>createSingleFactory <br> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="createOneInstanceFactory-3815"> </a>createOneInstanceFactory</dt> <dd class="member"><dl> <dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XSingleServiceFactory > <strong>createOneInstanceFactory</strong>(</dt> <dd><table class="param-table"> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XMultiServiceFactory > & </td> <td> rServiceManager,</td> </tr> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &</td> <td>rComponentName,</td> </tr> <tr> <td>ComponentInstantiation</td> <td>pCreateFunction,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Sequence.html">Sequence</a>< ::rtl::OUString > &</td> <td>rServiceNames,</td> </tr> <tr> <td><a href="../t-rtl_ModuleCount.html">rtl_ModuleCount</a> *</td> <td>pModCount = 0 ) throw();</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt><strong>D E P R E C A T E D</strong></dt> <dt>Summary</dt> <dd>Deprecated. Creates a single service factory which holds the instance created only once. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rServiceManager</td> <td><pre>the service manager used by the implementation. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rImplementationName</td> <td><pre>the implementation name. An empty string is possible. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ComponentInstantiation</td> <td><pre>the function pointer to create an object. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rServiceNames</td> <td><pre>the service supported by the implementation. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pModCount</td> <td><pre>for future extension (library unloading concept). </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory and XComponent. </dd> <dt>See Also</dt> <dd>createSingleFactory <br> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="createOneInstanceRegistryFactory-3817"> </a>createOneInstanceRegistryFactory</dt> <dd class="member"><dl> <dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XSingleServiceFactory > <strong>createOneInstanceRegistryFactory</strong>(</dt> <dd><table class="param-table"> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XMultiServiceFactory > & </td> <td> rServiceManager,</td> </tr> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &</td> <td>rComponentName,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::registry::XRegistryKey > &</td> <td>rImplementationKey ) throw();</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt><strong>D E P R E C A T E D</strong></dt> <dt>Summary</dt> <dd>Deprecated. Creates a single service factory which holds the instance created only once based on a registry. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rServiceManager</td> <td><pre>the service manager used by the implementation. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rImplementationName</td> <td><pre>the implementation name. An empty string is possible. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rImplementationKey</td> <td><pre>the registry key of the implementation section. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory and XComponent. </dd> <dt>See Also</dt> <dd>createSingleRegistryFactory <br> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="createSingleComponentFactory-3812"> </a>createSingleComponentFactory</dt> <dd class="member"><dl> <dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XSingleComponentFactory > <strong>createSingleComponentFactory</strong>(</dt> <dd><table class="param-table"> <tr> <td>ComponentFactoryFunc </td> <td> fptr,</td> </tr> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &</td> <td>rImplementationName,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Sequence.html">Sequence</a>< ::rtl::OUString > &</td> <td>rServiceNames,</td> </tr> <tr> <td><a href="../t-rtl_ModuleCount.html">rtl_ModuleCount</a> *</td> <td>pModCount = 0 ) throw();</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Summary</dt> <dd>Creates a single component factory supporting the XSingleComponentFactory interface. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">fptr</td> <td><pre>function pointer for instanciating the object </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rImplementationName</td> <td><pre>implementation name of service </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rServiceNames</td> <td><pre>supported services </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pModCount</td> <td><pre>for future extension (library unloading concept). </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="createSingleFactory-3813"> </a>createSingleFactory</dt> <dd class="member"><dl> <dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XSingleServiceFactory > <strong>createSingleFactory</strong>(</dt> <dd><table class="param-table"> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XMultiServiceFactory > & </td> <td> rServiceManager,</td> </tr> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &</td> <td>rImplementationName,</td> </tr> <tr> <td>ComponentInstantiation</td> <td>pCreateFunction,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Sequence.html">Sequence</a>< ::rtl::OUString > &</td> <td>rServiceNames,</td> </tr> <tr> <td><a href="../t-rtl_ModuleCount.html">rtl_ModuleCount</a> *</td> <td>pModCount = 0 ) throw();</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt><strong>D E P R E C A T E D</strong></dt> <dt>Summary</dt> <dd>Deprecated. Creates a single service factory. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rServiceManager</td> <td><pre>the service manager used by the implementation. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rImplementationName</td> <td><pre>the implementation name. An empty string is possible. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">ComponentInstantiation</td> <td><pre>the function pointer to create an object. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rServiceNames</td> <td><pre>the service supported by the implementation. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">pModCount</td> <td><pre>for future extension (library unloading concept). </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory and XComponent. </dd> <dt>See Also</dt> <dd>createOneInstanceFactory <br> </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="createSingleRegistryFactory-3816"> </a>createSingleRegistryFactory</dt> <dd class="member"><dl> <dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XSingleServiceFactory > <strong>createSingleRegistryFactory</strong>(</dt> <dd><table class="param-table"> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XMultiServiceFactory > & </td> <td> rServiceManager,</td> </tr> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &</td> <td>rImplementationName,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::registry::XRegistryKey > &</td> <td>rImplementationKey ) throw();</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt><strong>D E P R E C A T E D</strong></dt> <dt>Summary</dt> <dd>Deprecated. Creates a single service factory based on a registry. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rServiceManager</td> <td><pre>the service manager used by the implementation. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rImplementationName</td> <td><pre>the implementation name. An empty string is possible. </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rImplementationKey</td> <td><pre>the registry key of the implementation section. </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd>a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory and XComponent. </dd> </dl> </dd> </dl> <hr> <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-cppref" --> </body> </html>