HPX

PrevUpHomeNext

Header <hpx/runtime/get_ptr.hpp>

namespace hpx {
  template<typename Component> 
    hpx::future< std::shared_ptr< Component > > 
    get_ptr(naming::id_type const &);
  template<typename Derived, typename Stub> 
    hpx::future< std::shared_ptr< typename components::client_base< Derived, Stub >::server_component_type > > 
    get_ptr(components::client_base< Derived, Stub > const &);
  template<typename Component> 
    std::shared_ptr< Component > 
    get_ptr(launch::sync_policy, naming::id_type const &, 
            error_code & = throws);
  template<typename Derived, typename Stub> 
    std::shared_ptr< typename components::client_base< Derived, Stub >::server_component_type > 
    get_ptr(launch::sync_policy, 
            components::client_base< Derived, Stub > const &, 
            error_code & = throws);
}

PrevUpHomeNext