hpx/runtime_distributed/runtime_support.hpp#

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

namespace hpx
namespace agas

Functions

struct runtime_components_init_interface_functions &runtime_components_init()#
namespace components

Functions

struct counter_interface_functions &counter_init()#
class runtime_support : public hpx::components::stubs::runtime_support#
#include <runtime_support.hpp>

The runtime_support class is the client side representation of a server::runtime_support component

Public Functions

inline runtime_support(hpx::id_type const &gid = hpx::invalid_id)#

Create a client side representation for the existing server::runtime_support instance with the given global id gid.

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

Create a new component type using the runtime_support.

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

Asynchronously create a new component using the runtime_support.

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

Asynchronously create N new default constructed components using the runtime_support

template<typename Component, typename ...Ts>
inline hpx::future<std::vector<hpx::id_type>> bulk_create_components_async(std::size_t, Ts&&... vs)#

Asynchronously create a new component using the runtime_support.

inline hpx::future<int> load_components_async()#
inline int load_components()#
inline hpx::future<void> call_startup_functions_async(bool pre_startup)#
inline void call_startup_functions(bool pre_startup)#
inline hpx::future<void> shutdown_async(double timeout = -1)#

Shutdown the given runtime system.

inline void shutdown(double timeout = -1)#
inline void shutdown_all(double timeout = -1)#

Shutdown the runtime systems of all localities.

inline hpx::future<void> terminate_async()#

Terminate the given runtime system.

inline void terminate()#
inline void terminate_all()#

Terminate the runtime systems of all localities.

inline void get_config(util::section &ini)#

Retrieve configuration information.

inline hpx::id_type const &get_id() const#
inline naming::gid_type const &get_raw_gid() const#

Private Types

typedef stubs::runtime_support base_type#

Private Members

hpx::id_type gid_#