Information about a service factory. More...
#include <arcane/core/IServiceFactory.h>
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 IServiceInfo * | serviceInfo () const =0 |
| Information about the service that can be created by this factory. | |
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.
|
inlinevirtual |
Release resources.
Definition at line 47 of file IServiceFactory.h.
|
pure virtual |
true if the service is a module and must be loaded automatically
Implemented in Arcane::Internal::ServiceFactoryInfo.
|
pure virtual |
true if the service is a singleton service (a single instance)
Implemented in Arcane::Internal::ServiceFactoryInfo.
|
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.