Factory interface for a class implementing InterfaceType. More...
#include <arcane/core/IFactoryService.h>
Public Member Functions | |
| virtual InterfaceType * | createInstance ()=0 |
| Create an instance. | |
| virtual InterfaceType * | createInstance (IMesh *mesh)=0 |
| Create an instance for the mesh mesh. | |
| virtual InterfaceType * | singletonInstance ()=0 |
| Create a singleton instance. | |
| Public Member Functions inherited from Arcane::IService | |
| virtual | ~IService () |
| Releases resources. | |
| virtual IBase * | serviceParent () const =0 |
| Parent of this service. | |
| virtual IService * | serviceInterface ()=0 |
| Interface of this service (normally this). | |
| virtual IServiceInfo * | serviceInfo () const =0 |
| Service information. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::IService | |
| IService () | |
| Constructor. | |
Factory interface for a class implementing InterfaceType.
Definition at line 34 of file IFactoryService.h.
|
pure virtual |
Create an instance.
The returned object is guaranteed not to be null.
|
pure virtual |
Create an instance for the mesh mesh.
Only subdomain services support this type of creation.
The returned object is guaranteed not to be null.
|
pure virtual |
Create a singleton instance.
The returned object is guaranteed not to be null. The returned instance is always the same.