hpx/runtime_distributed/stubs/runtime_support.hpp#

Defined in header hpx/runtime_distributed/stubs/runtime_support.hpp.

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

namespace hpx
namespace components
namespace stubs
struct runtime_support#

Subclassed by hpx::components::runtime_support

Public Static Functions

template<typename Component, typename ...Ts>
static inline hpx::future<hpx::id_type> create_component_async(hpx::id_type const &gid, Ts&&... vs)#

Create a new component type using the runtime_support with the given targetgid. This is a non-blocking call. The caller needs to call future::get on the result of this function to obtain the global id of the newly created object.

template<typename Component, typename ...Ts>
static inline hpx::id_type create_component(hpx::id_type const &gid, Ts&&... vs)#

Create a new component type using the runtime_support with the given targetgid. Block for the creation to finish.

template<typename Component, typename ...Ts>
static inline hpx::future<std::vector<hpx::id_type>> bulk_create_component_colocated_async(hpx::id_type const &gid, std::size_t count, Ts&&... vs)#

Create multiple new components type using the runtime_support colocated with the with the given targetgid. This is a non-blocking call.

template<typename Component, typename ...Ts>
static inline std::vector<hpx::id_type> bulk_create_component_colocated(hpx::id_type const &gid, std::size_t count, Ts&&... vs)#

Create multiple new components type using the runtime_support colocated with the with the given targetgid. Block for the creation to finish.

template<typename Component, typename ...Ts>
static inline hpx::future<std::vector<hpx::id_type>> bulk_create_component_async(hpx::id_type const &gid, std::size_t count, Ts&&... vs)#

Create multiple new components type using the runtime_support on the given locality. This is a non-blocking call.

template<typename Component, typename ...Ts>
static inline std::vector<hpx::id_type> bulk_create_component(hpx::id_type const &gid, std::size_t count, Ts&&... vs)#

Create multiple new components type using the runtime_support on the given locality. Block for the creation to finish.

template<typename Component, typename ...Ts>
static inline hpx::future<hpx::id_type> create_component_colocated_async(hpx::id_type const &gid, Ts&&... vs)#

Create a new component type using the runtime_support with the given targetgid. This is a non-blocking call. The caller needs to call future::get on the result of this function to obtain the global id of the newly created object.

template<typename Component, typename ...Ts>
static inline hpx::id_type create_component_colocated(hpx::id_type const &gid, Ts&&... vs)#

Create a new component type using the runtime_support with the given targetgid. Block for the creation to finish.

template<typename Component>
static inline hpx::future<hpx::id_type> copy_create_component_async(hpx::id_type const &gid, std::shared_ptr<Component> const &p, bool local_op)#
template<typename Component>
static inline hpx::id_type copy_create_component(hpx::id_type const &gid, std::shared_ptr<Component> const &p, bool local_op)#
template<typename Component>
static inline hpx::future<hpx::id_type> migrate_component_async(hpx::id_type const &target_locality, std::shared_ptr<Component> const &p, hpx::id_type const &to_migrate)#
template<typename Component, typename DistPolicy>
static inline hpx::future<hpx::id_type> migrate_component_async(DistPolicy const &policy, std::shared_ptr<Component> const &p, hpx::id_type const &to_migrate)#
template<typename Component, typename Target>
static inline hpx::id_type migrate_component(Target const &target, hpx::id_type const &to_migrate, std::shared_ptr<Component> const &p)#
static hpx::future<int> load_components_async(hpx::id_type const &gid)#
static int load_components(hpx::id_type const &gid)#
static hpx::future<void> call_startup_functions_async(hpx::id_type const &gid, bool pre_startup)#
static void call_startup_functions(hpx::id_type const &gid, bool pre_startup)#
static hpx::future<void> shutdown_async(hpx::id_type const &targetgid, double timeout = -1)#

Shutdown the given runtime system.

static void shutdown(hpx::id_type const &targetgid, double timeout = -1)#
static void shutdown_all(hpx::id_type const &targetgid, double timeout = -1)#

Shutdown the runtime systems of all localities.

static void shutdown_all(double timeout = -1)#
static hpx::future<void> terminate_async(hpx::id_type const &targetgid)#

Retrieve configuration information.

Terminate the given runtime system

static void terminate(hpx::id_type const &targetgid)#
static void terminate_all(hpx::id_type const &targetgid)#

Terminate the runtime systems of all localities.

static void terminate_all()#
static void garbage_collect_non_blocking(hpx::id_type const &targetgid)#
static hpx::future<void> garbage_collect_async(hpx::id_type const &targetgid)#
static void garbage_collect(hpx::id_type const &targetgid)#
static hpx::future<hpx::id_type> create_performance_counter_async(hpx::id_type targetgid, performance_counters::counter_info const &info)#
static hpx::id_type create_performance_counter(hpx::id_type targetgid, performance_counters::counter_info const &info, error_code &ec = throws)#
static hpx::future<util::section> get_config_async(hpx::id_type const &targetgid)#

Retrieve configuration information.

static void get_config(hpx::id_type const &targetgid, util::section &ini)#
static void remove_from_connection_cache_async(hpx::id_type const &target, naming::gid_type const &gid, parcelset::endpoints_type const &endpoints)#