hpx/runtime_configuration/component_registry_base.hpp
hpx/runtime_configuration/component_registry_base.hpp#
Defined in header hpx/runtime_configuration/component_registry_base.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
Defines
-
HPX_REGISTER_COMPONENT_REGISTRY(RegistryType, componentname)#
This macro is used to register the given component factory with Hpx.Plugin. This macro has to be used for each of the components.
-
HPX_REGISTER_COMPONENT_REGISTRY_DYNAMIC(RegistryType, componentname)#
-
HPX_REGISTER_REGISTRY_MODULE()#
This macro is used to define the required Hpx.Plugin entry points. This macro has to be used in exactly one compilation unit of a component module.
-
HPX_REGISTER_REGISTRY_MODULE_DYNAMIC()#
-
namespace hpx
-
namespace components
-
struct component_registry_base#
- #include <component_registry_base.hpp>
The component_registry_base has to be used as a base class for all component registries.
Public Functions
-
virtual ~component_registry_base() = default#
-
virtual bool get_component_info(std::vector<std::string> &fillini, std::string const &filepath, bool is_static = false) = 0#
Return the ini-information for all contained components.
- Parameters
fillini – [in, out] The module is expected to fill this vector with the ini-information (one line per vector element) for all components implemented in this module.
filepath – [in]
is_static – [in]
- Returns
Returns true if the parameter fillini has been successfully initialized with the registry data of all implemented in this module.
-
virtual void register_component_type() = 0#
Register the component type represented by this component.
-
virtual ~component_registry_base() = default#
-
struct component_registry_base#
-
namespace components