wavelength 1.0.0
Loading...
Searching...
No Matches
partitionqj.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "synth/queuedjob.h"
6
12class PartitionQJ : public QueuedJob {
13public:
19 explicit PartitionQJ(const std::vector<int> &blocks) : QueuedJob(kTypePartition) {
20 mBlocks = blocks;
21 }
22
27 ~PartitionQJ() override {
28 }
29
31 const std::vector<int> &GetBlocks() const {
32 return mBlocks;
33 }
34
35private:
36 std::vector<int> mBlocks;
37};
~PartitionQJ() override
Definition partitionqj.h:27
const std::vector< int > & GetBlocks() const
Definition partitionqj.h:31
PartitionQJ(const std::vector< int > &blocks)
Construct a job with a copy of the sizes.
Definition partitionqj.h:19
@ kTypePartition
Definition queuedjob.h:14
QueuedJob(int nType)
Construct a job that has not started.
Definition queuedjob.h:27