Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IServiceFactoryInfo Class Referenceabstract

Information about a service factory. More...

#include <arcane/core/IServiceFactory.h>

Inheritance diagram for Arcane::IServiceFactoryInfo:
Collaboration diagram for Arcane::IServiceFactoryInfo:

Public Member Functions

virtual ~IServiceFactoryInfo ()
 Release resources.
virtual bool isAutoload () const =0
 true if the service is a module and must be loaded automatically
virtual bool isSingleton () const =0
 true if the service is a singleton service (a single instance)
virtual IServiceInfoserviceInfo () const =0
 Information about the service that can be created by this factory.

Detailed Description

Information about a service factory.

This interface contains the necessary information about a service factory.

Generally, instances of this class are either created by Arcane from an axl file, or using one of the service factory macros (defined in ServiceFactory.h).

The list of interfaces supported by the service and the associated factories are described in serviceInfo().

Definition at line 42 of file IServiceFactory.h.

Constructor & Destructor Documentation

◆ ~IServiceFactoryInfo()

virtual Arcane::IServiceFactoryInfo::~IServiceFactoryInfo ( )
inlinevirtual

Release resources.

Definition at line 47 of file IServiceFactory.h.

Member Function Documentation

◆ isAutoload()

virtual bool Arcane::IServiceFactoryInfo::isAutoload ( ) const
pure virtual

true if the service is a module and must be loaded automatically

Implemented in Arcane::Internal::ServiceFactoryInfo.

Referenced by Arcane::ServiceLoader::_loadServices().

Here is the caller graph for this function:

◆ isSingleton()

virtual bool Arcane::IServiceFactoryInfo::isSingleton ( ) const
pure virtual

true if the service is a singleton service (a single instance)

Implemented in Arcane::Internal::ServiceFactoryInfo.

Referenced by Arcane::ServiceLoader::_loadServices(), and Arcane::ServiceLoader::loadSingletonService().

Here is the caller graph for this function:

◆ serviceInfo()

virtual IServiceInfo * Arcane::IServiceFactoryInfo::serviceInfo ( ) const
pure virtual

Information about the service that can be created by this factory.

The returned instance remains the property of the application that created it and must neither be modified nor destroyed.

Implemented in Arcane::Internal::ServiceFactoryInfo.

Referenced by Arcane::ServiceAndModuleFactoryMng::addGlobalFactory().

Here is the caller graph for this function:

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