hpx/runtime_components/component_registry.hpp
hpx/runtime_components/component_registry.hpp#
Defined in header hpx/runtime_components/component_registry.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
Defines
-
HPX_REGISTER_MINIMAL_COMPONENT_REGISTRY(...)#
This macro is used create and to register a minimal component registry with Hpx.Plugin.
-
HPX_REGISTER_MINIMAL_COMPONENT_REGISTRY_(...)#
-
HPX_REGISTER_MINIMAL_COMPONENT_REGISTRY_2(ComponentType, componentname)#
-
HPX_REGISTER_MINIMAL_COMPONENT_REGISTRY_3(ComponentType, componentname, state)#
-
HPX_REGISTER_MINIMAL_COMPONENT_REGISTRY_DYNAMIC(...)#
-
HPX_REGISTER_MINIMAL_COMPONENT_REGISTRY_DYNAMIC_(...)#
-
HPX_REGISTER_MINIMAL_COMPONENT_REGISTRY_DYNAMIC_2(ComponentType, componentname)#
-
HPX_REGISTER_MINIMAL_COMPONENT_REGISTRY_DYNAMIC_3(ComponentType, componentname, state)#
-
namespace hpx
-
namespace components
-
template<typename Component, factory_state state>
struct component_registry : public component_registry_base# - #include <component_registry.hpp>
The component_registry provides a minimal implementation of a component’s registry. If no additional functionality is required this type can be used to implement the full set of minimally required functions to be exposed by a component’s registry instance.
- Template Parameters
Component – The component type this registry should be responsible for.
Public Functions
-
inline bool get_component_info(std::vector<std::string> &fillini, std::string const &filepath, bool is_static = false) override#
Return the ini-information for all contained components.
- Parameters
fillini – [in] 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 –
is_static –
- Returns
Returns true if the parameter fillini has been successfully initialized with the registry data of all implemented in this module.
-
inline void register_component_type() override#
Enables this type of registry and sets its destroy mechanism.
-
template<typename Component, factory_state state>
-
namespace components