Collection of types used in service management. More...
Classes | |
| class | Arcane::AbstractService |
| Base class of a service. More... | |
| class | Arcane::BasicService |
| Base class of a service linked to a subdomain. More... | |
| class | Arcane::IServiceInfo |
| Interface for service or module information. More... | |
| class | Arcane::ServiceBuilder< InterfaceType > |
| Utility class for instantiating a service of a given interface. More... | |
| class | Arcane::ServiceBuildInfo |
| Structure containing the information to create a service. More... | |
Macros | |
| #define | ARCANE_REGISTER_MODULE(class_name, a_module_properties) |
| Macro for registering a module. | |
| #define | ARCANE_REGISTER_SERVICE(aclass, a_service_property, ...) |
| Macro for registering a service. | |
Collection of types used in service management.
Most user services are subdomain services and derive indirectly from the BasicService class. Generally, a service is defined in an AXL file, and the tool axl2cc allows generating the base class of a service from this AXL file. For more information, refer to section Service.
Nevertheless, it is possible to have services without an AXL file. In this case, registering a service so that it is recognized by Arcane is done via the ARCANE_REGISTER_SERVICE() macro.
| #define ARCANE_REGISTER_MODULE | ( | class_name, | |
| a_module_properties ) |
Macro for registering a module.
The call is as follows:
With the following parameters:
For example, usage can be as follows:
axl files. If that is not the case, you must use the macro defined in the '.h' file generated from the axl file. Definition at line 171 of file ModuleFactory.h.
| #define ARCANE_REGISTER_SERVICE | ( | aclass, | |
| a_service_property, | |||
| ... ) |
Macro for registering a service.
The call is as follows:
With the following parameters:
For example, usage can be as follows:
Definition at line 578 of file ServiceFactory.h.