ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class RemoteWorker

alps::scheduler::RemoteWorker

Synopsis

// In header: <alps/scheduler/worker.h>


class RemoteWorker : public alps::scheduler::AbstractWorker {
public:
  // construct/copy/destruct
  RemoteWorker(const ProcessList &, const Parameters &, int32_t = 0);
  ~RemoteWorker();

  // public member functions
  void set_parameters(const Parameters &);
  void save_to_file(const boost::filesystem::path &, 
                    const boost::filesystem::path &) const;
  void load_from_file(const boost::filesystem::path &, 
                      const boost::filesystem::path &);
  void start_worker();
  void halt_worker();
  TaskInfo get_info() const;
  double work_done() const;
  ResultType get_summary() const;
  const Process & process() const;
  bool handle_message(const Process &, int32_t);
};

Description

RemoteWorker public construct/copy/destruct

  1. RemoteWorker(const ProcessList &, const Parameters &, int32_t = 0);
  2. ~RemoteWorker();

RemoteWorker public member functions

  1. void set_parameters(const Parameters & parms);
  2. void save_to_file(const boost::filesystem::path &, 
                      const boost::filesystem::path &) const;
  3. void load_from_file(const boost::filesystem::path &, 
                        const boost::filesystem::path &);
  4. void start_worker();
  5. void halt_worker();
  6. TaskInfo get_info() const;
  7. double work_done() const;
  8. ResultType get_summary() const;
  9. const Process & process() const;
  10. bool handle_message(const Process & runmaster, int32_t tag);
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext