LibreOffice Module comphelper (master)  1
Public Types | Public Member Functions | Public Attributes | List of all members
comphelper::service_decl::serviceimpl_base< ImplT_, WithArgsT > Struct Template Reference

Defines a service implementation class. More...

#include <servicedecl.hxx>

Inheritance diagram for comphelper::service_decl::serviceimpl_base< ImplT_, WithArgsT >:
[legend]

Public Types

typedef ImplT_ ImplT
 
typedef detail::PostProcessDefault< ImplTPostProcessDefaultT
 

Public Member Functions

 serviceimpl_base ()
 Default ctor. More...
 
template<typename PostProcessFuncT >
 serviceimpl_base (PostProcessFuncT const &postProcessFunc)
 Ctor to pass a post processing function/functor. More...
 

Public Attributes

detail::CreateFuncF const m_createFunc
 

Detailed Description

template<typename ImplT_, typename WithArgsT = with_args<false>>
struct comphelper::service_decl::serviceimpl_base< ImplT_, WithArgsT >

Defines a service implementation class.

Template parameter:
ImplT_ service implementation class whether the implementation class ctor expects arguments (uno::Sequence<uno::Any>, uno::Reference<uno::XComponentContext>) or just (uno::Reference<uno::XComponentContext>)

Definition at line 262 of file servicedecl.hxx.

Member Typedef Documentation

template<typename ImplT_, typename WithArgsT = with_args<false>>
typedef ImplT_ comphelper::service_decl::serviceimpl_base< ImplT_, WithArgsT >::ImplT

Definition at line 263 of file servicedecl.hxx.

template<typename ImplT_, typename WithArgsT = with_args<false>>
typedef detail::PostProcessDefault<ImplT> comphelper::service_decl::serviceimpl_base< ImplT_, WithArgsT >::PostProcessDefaultT

Definition at line 267 of file servicedecl.hxx.

Constructor & Destructor Documentation

template<typename ImplT_, typename WithArgsT = with_args<false>>
comphelper::service_decl::serviceimpl_base< ImplT_, WithArgsT >::serviceimpl_base ( )
inline

Default ctor.

Implementation class without args, expecting component context as single argument.

Definition at line 272 of file servicedecl.hxx.

template<typename ImplT_, typename WithArgsT = with_args<false>>
template<typename PostProcessFuncT >
comphelper::service_decl::serviceimpl_base< ImplT_, WithArgsT >::serviceimpl_base ( PostProcessFuncT const &  postProcessFunc)
inlineexplicit

Ctor to pass a post processing function/functor.

Template parameter:
PostProcessDefaultT let your compiler deduce this
Parameters
postProcessFuncfunction/functor that gets the yet unacquired ImplT_ pointer returning a uno::Reference<uno::XInterface>

Definition at line 284 of file servicedecl.hxx.

Member Data Documentation

template<typename ImplT_, typename WithArgsT = with_args<false>>
detail::CreateFuncF const comphelper::service_decl::serviceimpl_base< ImplT_, WithArgsT >::m_createFunc

Definition at line 265 of file servicedecl.hxx.


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