HPX - High Performance ParalleX

PrevUpHomeNext

Header <hpx/hpx_fwd.hpp>

namespace boost {
}namespace hpx {
  typedef std::function< void()> startup_function_type;
  typedef std::function< void()> shutdown_function_type;
  naming::id_type find_here(error_code & = throws);
  naming::id_type find_root_locality(error_code & = throws);
  std::vector< naming::id_type > find_all_localities(error_code & = throws);
  std::vector< naming::id_type > 
  find_all_localities(components::component_type, error_code & = throws);
  std::vector< naming::id_type > find_remote_localities(error_code & = throws);
  std::vector< naming::id_type > 
  find_remote_localities(components::component_type, error_code & = throws);
  naming::id_type 
  find_locality(components::component_type, error_code & = throws);
  std::vector< hpx::future< hpx::id_type > > 
  find_all_ids_from_basename(char const *, std::size_t);
  std::vector< hpx::future< hpx::id_type > > 
  find_ids_from_basename(char const *, std::vector< std::size_t > const &);
  hpx::future< hpx::id_type > 
  find_id_from_basename(char const *, std::size_t = ~0U);
  hpx::future< bool > 
  register_id_with_basename(char const *, hpx::id_type, std::size_t = ~0U);
  hpx::future< hpx::id_type > 
  unregister_id_with_basename(char const *, std::size_t = ~0U);
  boost::uint32_t get_num_localities_sync(error_code & = throws);
  boost::uint32_t get_initial_num_localities();
  lcos::future< boost::uint32_t > get_num_localities();
  boost::uint32_t 
  get_num_localities_sync(components::component_type, error_code & = throws);
  lcos::future< boost::uint32_t > 
  get_num_localities(components::component_type);
  void register_pre_startup_function(startup_function_type const &);
  void register_startup_function(startup_function_type const &);
  void register_pre_shutdown_function(shutdown_function_type const &);
  void register_shutdown_function(shutdown_function_type const &);
  std::size_t get_worker_thread_num();
  boost::uint32_t get_locality_id(error_code & = throws);
  bool is_running();
  std::string get_thread_name();
  std::size_t get_num_worker_threads();
  boost::uint64_t get_system_uptime();
  naming::id_type 
  get_colocation_id_sync(naming::id_type const &, error_code & = throws);
  lcos::future< naming::id_type > get_colocation_id(naming::id_type const &);
  std::string get_locality_name();
  future< std::string > get_locality_name(naming::id_type const &);
  void trigger_lco_event(naming::id_type const &);
  void trigger_lco_event(naming::id_type const &, naming::id_type const &);
  template<typename T> void set_lco_value(naming::id_type const &, T &&);
  template<typename T> 
    void set_lco_value(naming::id_type const &, T &&, naming::id_type const &);
  void set_lco_error(naming::id_type const &, boost::exception_ptr const &);
  void set_lco_error(naming::id_type const &, boost::exception_ptr &&);
  void set_lco_error(naming::id_type const &, boost::exception_ptr const &, 
                     naming::id_type const &);
  void set_lco_error(naming::id_type const &, boost::exception_ptr &&, 
                     naming::id_type const &);
  void start_active_counters(error_code & = throws);
  void reset_active_counters(error_code & = throws);
  void stop_active_counters(error_code & = throws);
  void evaluate_active_counters(bool = false, char const * = 0, 
                                error_code & = throws);
  parcelset::policies::message_handler * 
  create_message_handler(char const *, char const *, parcelset::parcelport *, 
                         std::size_t, std::size_t, error_code & = throws);
  util::binary_filter * 
  create_binary_filter(char const *, bool, util::binary_filter * = 0, 
                       error_code & = throws);
}

PrevUpHomeNext