hpx/components_base/component_type.hpp#

Defined in header hpx/components_base/component_type.hpp.

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

Defines

HPX_COMPONENT_ENUM_TYPE_ENUM_DEPRECATION_MSG#
HPX_FACTORY_STATE_ENUM_DEPRECATION_MSG#
HPX_DEFINE_GET_COMPONENT_TYPE(component)#
HPX_DEFINE_GET_COMPONENT_TYPE_TEMPLATE(template_, component)#
HPX_DEFINE_GET_COMPONENT_TYPE_STATIC(component, type)#
HPX_DEFINE_COMPONENT_NAME(...)#
HPX_DEFINE_COMPONENT_NAME_(...)#
HPX_DEFINE_COMPONENT_NAME_2(Component, name)#
HPX_DEFINE_COMPONENT_NAME_3(Component, name, base_name)#
namespace hpx
namespace components

Typedefs

using component_deleter_type = void (*)(hpx::naming::gid_type const&, hpx::naming::address const&)#

Enums

enum class component_enum_type : naming::component_type#

Values:

enumerator invalid#
enumerator runtime_support#
enumerator plain_function#
enumerator base_lco#
enumerator base_lco_with_value_unmanaged#
enumerator base_lco_with_value#
enumerator latch#
enumerator barrier#
enumerator promise#
enumerator agas_locality_namespace#
enumerator agas_primary_namespace#
enumerator agas_component_namespace#
enumerator agas_symbol_namespace#
enumerator last#
enumerator first_dynamic#
enum class factory_state : std::uint8_t#

Values:

enumerator enabled#
enumerator disabled#
enumerator check#

Functions

constexpr naming::component_type to_int(component_enum_type t) noexcept#
constexpr int to_int(factory_state t) noexcept#
bool &enabled(component_type type)#
util::atomic_count &instance_count(component_type type)#
component_deleter_type &deleter(component_type type)#
bool enumerate_instance_counts(hpx::move_only_function<bool(component_type)> const &f)#
std::string get_component_type_name(component_type type)#

Return the string representation for a given component type id.

constexpr component_type get_base_type(component_type t) noexcept#

The lower short word of the component type is the type of the component exposing the actions.

constexpr component_type get_derived_type(component_type t) noexcept#

The upper short word of the component is the actual component type.

constexpr component_type derived_component_type(component_type derived, component_type base) noexcept#

A component derived from a base component exposing the actions needs to have a specially formatted component type.

constexpr bool types_are_compatible(component_type lhs, component_type rhs) noexcept#

Verify the two given component types are matching (compatible)

template<typename Component, typename Enable = void>
char const *get_component_name() noexcept#
template<typename Component, typename Enable = void>
char const *get_component_base_name() noexcept#
template<typename Component>
component_type get_component_type() noexcept#
template<typename Component>
void set_component_type(component_type type)#

Variables

constexpr component_enum_type component_invalid = component_enum_type::invalid#
constexpr component_enum_type component_runtime_support = component_enum_type::runtime_support#
constexpr component_enum_type component_plain_function = component_enum_type::plain_function#
constexpr component_enum_type component_base_lco = component_enum_type::base_lco#
constexpr component_enum_type component_base_lco_with_value_unmanaged = component_enum_type::base_lco_with_value_unmanaged#
constexpr component_enum_type component_base_lco_with_value = component_enum_type::base_lco_with_value#
constexpr component_enum_type component_latch = component_enum_type::latch#
constexpr component_enum_type component_barrier = component_enum_type::barrier#
constexpr component_enum_type component_promise = component_enum_type::promise#
constexpr component_enum_type component_agas_locality_namespace = component_enum_type::agas_locality_namespace#
constexpr component_enum_type component_agas_primary_namespace = component_enum_type::agas_primary_namespace#
constexpr component_enum_type component_agas_component_namespace = component_enum_type::agas_component_namespace#
constexpr component_enum_type component_agas_symbol_namespace = component_enum_type::agas_symbol_namespace#
constexpr component_enum_type component_last = component_enum_type::last#
constexpr component_enum_type component_first_dynamic = component_enum_type::first_dynamic#
constexpr factory_state factory_enabled = factory_state::enabled#
constexpr factory_state factory_disabled = factory_state::disabled#
constexpr factory_state factory_check = factory_state::check#