Information for creating a service. More...
#include <arcane/core/ServiceBuildInfo.h>
Public Member Functions | |
| IApplication * | application () const |
| Access to the associated IApplication. | |
| ISession * | session () const |
| Access to the associated ISession. | |
| ISubDomain * | subDomain () const |
| Access to the associated ISubDomain. | |
| IMesh * | mesh () const |
| Access to the associated IMesh. | |
| const MeshHandle & | meshHandle () const |
| Access to the associated mesh handle MeshHandle. | |
| ICaseOptions * | caseOptions () const |
| Access to the associated ICaseOptions. | |
| IBase * | serviceParent () const |
| Access to the parent instance that created this instance. | |
| eServiceType | creationType () const |
| Type of service that can be created by this instance. | |
Constructors. | |
The different constructors allow defining the service type (eServiceType). | |
| ServiceBuildInfoBase (IApplication *app) | |
| Service associated with an application IApplication. | |
| ServiceBuildInfoBase (ISession *session) | |
| Service associated with a session ISession. | |
| ServiceBuildInfoBase (ISubDomain *sd) | |
| Service associated with a subdomain ISubDomain. | |
| ServiceBuildInfoBase (ISubDomain *sd, IMesh *mesh) | |
| Service associated with a mesh mesh. | |
| ServiceBuildInfoBase (const MeshHandle &mesh_handle) | |
| Service associated with a mesh mesh_handle. | |
| ServiceBuildInfoBase (ISubDomain *sd, const MeshHandle &mesh_handle) | |
| Service associated with a mesh mesh_handle. | |
| ServiceBuildInfoBase (ICaseOptions *co) | |
| Service associated with a dataset option co. | |
| ServiceBuildInfoBase (ISubDomain *sd, ICaseOptions *co) | |
| Service associated with a dataset option co. | |
| ServiceBuildInfoBase (IMesh *mesh) | |
| Service associated with a mesh mesh. | |
Information for creating a service.
Instances of this class are internal to Arcane. Generally, you must use the ServiceBuildInfo class.
The different fields of this class are not all valid. Their validity depends on the constructor used. Only application() is always valid. It is possible to know the valid fields via the value of creationType().
Definition at line 42 of file ServiceBuildInfo.h.
|
explicit |
Service associated with an application IApplication.
The service will be of type ST_Application.
Definition at line 32 of file ServiceBuildInfo.cc.
References Arcane::ST_Application.
Referenced by ServiceBuildInfoBase(), ServiceBuildInfoBase(), ServiceBuildInfoBase(), and ServiceBuildInfoBase().
|
explicit |
Service associated with a session ISession.
The service will be of type ST_Session.
Definition at line 43 of file ServiceBuildInfo.cc.
References session(), and Arcane::ST_Session.
|
explicit |
Service associated with a subdomain ISubDomain.
The service will be of type ST_SubDomain. Also provides access to the mesh property (mesh())
Definition at line 93 of file ServiceBuildInfo.cc.
References Arcane::ST_SubDomain.
| Arcane::ServiceBuildInfoBase::ServiceBuildInfoBase | ( | ISubDomain * | sd, |
| IMesh * | mesh ) |
Service associated with a mesh mesh.
The service will be of type ST_SubDomain.
Definition at line 63 of file ServiceBuildInfo.cc.
References mesh(), and ServiceBuildInfoBase().
|
explicit |
Service associated with a mesh mesh_handle.
The service will be of type ST_SubDomain.
Definition at line 84 of file ServiceBuildInfo.cc.
References ServiceBuildInfoBase(), and subDomain().
| Arcane::ServiceBuildInfoBase::ServiceBuildInfoBase | ( | ISubDomain * | sd, |
| const MeshHandle & | mesh_handle ) |
Service associated with a mesh mesh_handle.
The service will be of type ST_SubDomain.
Definition at line 72 of file ServiceBuildInfo.cc.
References Arcane::ST_SubDomain.
|
explicit |
Service associated with a dataset option co.
The service will be of type ST_CaseOption. Also provides access to the mesh (mesh()) and subdomain (subDomain()) properties.
Definition at line 118 of file ServiceBuildInfo.cc.
References ServiceBuildInfoBase(), and subDomain().
| Arcane::ServiceBuildInfoBase::ServiceBuildInfoBase | ( | ISubDomain * | sd, |
| ICaseOptions * | co ) |
Service associated with a dataset option co.
The service will be of type ST_CaseOption. Also provides access to the mesh (mesh()) and subdomain (subDomain()) properties.
Definition at line 105 of file ServiceBuildInfo.cc.
References meshHandle(), and Arcane::ST_CaseOption.
|
explicit |
Service associated with a mesh mesh.
The service will be of type ST_SubDomain.
Definition at line 54 of file ServiceBuildInfo.cc.
References mesh(), ServiceBuildInfoBase(), and subDomain().
|
inline |
Access to the associated IApplication.
The instance is never null regardless of the service.
Definition at line 133 of file ServiceBuildInfo.h.
|
inline |
Access to the associated ICaseOptions.
Definition at line 168 of file ServiceBuildInfo.h.
|
inline |
Type of service that can be created by this instance.
Definition at line 176 of file ServiceBuildInfo.h.
| IMesh * Arcane::ServiceBuildInfoBase::mesh | ( | ) | const |
Access to the associated IMesh.
Definition at line 127 of file ServiceBuildInfo.cc.
Referenced by ServiceBuildInfoBase(), and ServiceBuildInfoBase().
|
inline |
Access to the associated mesh handle MeshHandle.
Definition at line 161 of file ServiceBuildInfo.h.
Referenced by ServiceBuildInfoBase().
|
inline |
Access to the parent instance that created this instance.
Definition at line 173 of file ServiceBuildInfo.h.
|
inline |
Access to the associated ISession.
Definition at line 140 of file ServiceBuildInfo.h.
Referenced by ServiceBuildInfoBase().
|
inline |
Access to the associated ISubDomain.
Definition at line 147 of file ServiceBuildInfo.h.
Referenced by ServiceBuildInfoBase(), ServiceBuildInfoBase(), and ServiceBuildInfoBase().