hpx/runtime_configuration/plugin_registry_base.hpp#

Defined in header hpx/runtime_configuration/plugin_registry_base.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

Defines

HPX_REGISTER_PLUGIN_BASE_REGISTRY(PluginType, name)#

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_PLUGIN_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_PLUGIN_REGISTRY_MODULE_DYNAMIC()#
namespace hpx
namespace plugins#
struct plugin_registry_base#
#include <plugin_registry_base.hpp>

The plugin_registry_base has to be used as a base class for all plugin registries.

Public Functions

virtual ~plugin_registry_base() = default#
virtual bool get_plugin_info(std::vector<std::string> &fillini) = 0#

Return the configuration information for any plugin implemented by this module

Parameters

fillini – [in, out] The module is expected to fill this vector with the ini-information (one line per vector element) for all plugins implemented in this module.

Returns

Returns true if the parameter fillini has been successfully initialized with the registry data of all implemented in this module.

inline virtual void init(int*, char***, util::runtime_configuration&)#