HPX - High Performance ParalleX

PrevUpHomeNext

Header <hpx/hpx_fwd.hpp>

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);
  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 &);
  template<typename T> 
    void set_lco_value(naming::id_type const &, BOOST_FWD_REF(T));
  void set_lco_error(naming::id_type const &, boost::exception_ptr const &);
  void set_lco_error(naming::id_type const &, 
                     BOOST_RV_REF(boost::exception_ptr));
  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