LibreOffice Module comphelper (master)  1
Public Member Functions | List of all members
comphelper::OAutoRegistration< TYPE > Class Template Reference

#include <componentmodule.hxx>

Inheritance diagram for comphelper::OAutoRegistration< TYPE >:

Public Member Functions

 OAutoRegistration (OModule &_rModule)
 automatically provides all component information to an OModule instance More...

Detailed Description

template<class TYPE>
class comphelper::OAutoRegistration< TYPE >

Definition at line 134 of file componentmodule.hxx.

Constructor & Destructor Documentation

template<class TYPE >
comphelper::OAutoRegistration< TYPE >::OAutoRegistration ( OModule _rModule)

automatically provides all component information to an OModule instance

Assumed that the template argument has the three methods

  • static OUString getImplementationName_static()
  • static css::uno::Sequence< OUString > getSupportedServiceNames_static()
  • static css::uno::Reference< css::uno::XInterface > Create(const css::uno::Reference< css::lang::XMultiServiceFactory >&)

    instantiation of this object will automatically register the class via <member>OModule::registerImplementation</member>.

    The factory creation function used is cppu::createSingleComponentFactory.

Definition at line 154 of file componentmodule.hxx.

References comphelper::OModule::registerImplementation().

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