Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::Internal::ServiceInterfaceRegisterer< InterfaceType > Class Template Reference

Public Types

typedef InterfaceType Interface

Public Member Functions

 ServiceInterfaceRegisterer (const char *name)
 ServiceInterfaceRegisterer (const char *namespace_name, const char *name)
template<typename ServiceType>
void registerToServiceInfo (ServiceInfo *si) const
 Registers in si a factory to create an instance of the service ServiceType.

Detailed Description

template<typename InterfaceType>
class Arcane::Internal::ServiceInterfaceRegisterer< InterfaceType >

Definition at line 436 of file ServiceFactory.h.

Member Typedef Documentation

◆ Interface

template<typename InterfaceType>
typedef InterfaceType Arcane::Internal::ServiceInterfaceRegisterer< InterfaceType >::Interface

Definition at line 440 of file ServiceFactory.h.

Constructor & Destructor Documentation

◆ ServiceInterfaceRegisterer() [1/2]

template<typename InterfaceType>
Arcane::Internal::ServiceInterfaceRegisterer< InterfaceType >::ServiceInterfaceRegisterer ( const char * name)
inlineexplicit

Definition at line 442 of file ServiceFactory.h.

◆ ServiceInterfaceRegisterer() [2/2]

template<typename InterfaceType>
Arcane::Internal::ServiceInterfaceRegisterer< InterfaceType >::ServiceInterfaceRegisterer ( const char * namespace_name,
const char * name )
inline

Definition at line 448 of file ServiceFactory.h.

Member Function Documentation

◆ registerToServiceInfo()

template<typename InterfaceType>
template<typename ServiceType>
void Arcane::Internal::ServiceInterfaceRegisterer< InterfaceType >::registerToServiceInfo ( ServiceInfo * si) const
inline

Registers in si a factory to create an instance of the service ServiceType.

Definition at line 458 of file ServiceFactory.h.

References Arcane::Internal::ServiceInfo::addImplementedInterface().


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