ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class RemoteTask

alps::scheduler::RemoteTask

Synopsis

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


class RemoteTask : public alps::scheduler::AbstractTask {
public:
  // construct/copy/destruct
  RemoteTask(const ProcessList &, const boost::filesystem::path &);
  ~RemoteTask();

  // public member functions
  void checkpoint(const boost::filesystem::path &, bool = ALPS_WRITE_ALL_XML) const;
  void add_processes(const ProcessList &);
  void add_process(const Process &);
  uint32_t cpus() const;
  bool local();
  void start();
  bool finished(double &, double &) const;
  double work() const;
  void run();
  void halt();
  bool handle_message(const Process &, int);
  ResultType get_summary() const;
};

Description

RemoteTask public construct/copy/destruct

  1. RemoteTask(const ProcessList &, const boost::filesystem::path &);
  2. ~RemoteTask();

RemoteTask public member functions

  1. void checkpoint(const boost::filesystem::path &, bool = ALPS_WRITE_ALL_XML) const;
  2. void add_processes(const ProcessList &);
  3. void add_process(const Process &);
  4. uint32_t cpus() const;
  5. bool local();
  6. void start();
  7. bool finished(double &, double &) const;
  8. double work() const;
  9. void run();
  10. void halt();
  11. bool handle_message(const Process & master, int tag);
  12. ResultType get_summary() const;
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext