12#ifndef ARCANE_CORE_SERCVICEREGISTERER_H
13#define ARCANE_CORE_SERCVICEREGISTERER_H
19#include "arcane/core/ModuleProperty.h"
90 const char*
name() {
return m_name; }
119 void setNextService(ServiceRegisterer* s) { m_next = s; }
124 static ServiceRegisterer* firstService();
132 ModuleFactoryWithPropertyFunc m_module_factory_with_property_functor =
nullptr;
134 ServiceInfoWithPropertyCreateFunc m_info_function_with_property =
nullptr;
136 const char* m_name =
nullptr;
138 ServiceProperty m_service_property;
140 ModuleProperty m_module_property;
142 ServiceRegisterer* m_previous =
nullptr;
144 ServiceRegisterer* m_next =
nullptr;
Declarations of Arcane's general types.
This file contains the various types and classes for specifying service properties.
Information about a module factory.
Interface for service or module information.
Module creation properties.
Service creation properties.
Service and module registrar.
ServiceRegisterer * previousService() const
Previous service (0 if the first).
ServiceRegisterer * nextService() const
Next service (0 if the last).
const ServiceProperty & serviceProperty() const
Properties in the case of a service.
const char * name()
Service name.
ModuleFactoryWithPropertyFunc moduleFactoryWithPropertyFunction()
Creation function for the factory if it is a module.
ServiceInfoWithPropertyCreateFunc infoCreatorWithPropertyFunction()
Creation function for the 'ServiceInfo' instance if it is a service.
const ModuleProperty & moduleProperty() const
Properties in the case of a module.
ARCANE_DEPRECATED_260 const ServiceProperty & property() const
Service properties.
ServiceRegisterer(ServiceInfoWithPropertyCreateFunc func, const ServiceProperty &properties) ARCANE_NOEXCEPT
Creates a registrar for the service name and the function func.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.