hpx/components/component_storage/migrate_to_storage.hpp#
Defined in header hpx/components/component_storage/migrate_to_storage.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
-
namespace components
Functions
-
template<typename Component>
future<hpx::id_type> migrate_to_storage(hpx::id_type const &to_migrate, hpx::id_type const &target_storage)# Migrate the component with the given id to the specified target storage
The function migrate_to_storage<Component> will migrate the component referenced by to_migrate to the storage facility specified with target_storage. It returns a future referring to the migrated component instance.
- Parameters
to_migrate – [in] The global id of the component to migrate.
target_storage – [in] The id of the storage facility to migrate this object to.
- Template Parameters
The – only template argument specifies the component type of the component to migrate to the given storage facility.
- Returns
A future representing the global id of the migrated component instance. This should be the same as migrate_to.
-
template<typename Derived, typename Stub, typename Data>
inline Derived migrate_to_storage(client_base<Derived, Stub, Data> const &to_migrate, hpx::components::component_storage const &target_storage)# Migrate the given component to the specified target storage
The function migrate_to_storage will migrate the component referenced by to_migrate to the storage facility specified with target_storage. It returns a future referring to the migrated component instance.
- Parameters
to_migrate – [in] The client side representation of the component to migrate.
target_storage – [in] The id of the storage facility to migrate this object to.
- Returns
A client side representation of representing of the migrated component instance. This should be the same as migrate_to.
-
template<typename Component>
-
namespace components