File: worker.h

package info (click to toggle)
wsclean 3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,968 kB
  • sloc: cpp: 85,742; python: 3,526; sh: 245; makefile: 21
file content (22 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef DISTRIBUTED_WORKER_H_
#define DISTRIBUTED_WORKER_H_

#include "../main/settings.h"

#include "../scheduling/mpiworkerscheduler.h"

namespace wsclean {

class Worker {
 public:
  Worker(const Settings& settings) : scheduler_{settings} {}

  void Run();

 private:
  MpiWorkerScheduler scheduler_;
};

}  // namespace wsclean

#endif