wavelength 1.0.0
Loading...
Searching...
No Matches
setupcorefxqj.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "synth/queuedjob.h"
6
13class SetupCoreFxQJ : public QueuedJob {
14public:
16 static constexpr int kSettlePolls = 30;
17
23 explicit SetupCoreFxQJ(const std::vector<unsigned int> &messages)
25 mMessages = messages;
26 }
27
32 ~SetupCoreFxQJ() override {
33 }
34
36 const std::vector<unsigned int> &GetMessages() const {
37 return mMessages;
38 }
39
41 int GetWaitPolls() const {
42 return mWaitPolls;
43 }
44
50 void SetWaitPolls(int nWaitPolls) {
51 mWaitPolls = nWaitPolls;
52 }
53
54private:
55 std::vector<unsigned int> mMessages;
56 int mWaitPolls;
57};
@ kTypeSetupCoreFx
Definition queuedjob.h:18
QueuedJob(int nType)
Construct a job that has not started.
Definition queuedjob.h:27
void SetWaitPolls(int nWaitPolls)
Set the polls still to wait once the messages are sent.
Definition setupcorefxqj.h:50
SetupCoreFxQJ(const std::vector< unsigned int > &messages)
Construct a job with a copy of the messages.
Definition setupcorefxqj.h:23
static constexpr int kSettlePolls
The polls the job waits before it checks the report of the synthesiser module.
Definition setupcorefxqj.h:16
const std::vector< unsigned int > & GetMessages() const
Definition setupcorefxqj.h:36
int GetWaitPolls() const
Definition setupcorefxqj.h:41
~SetupCoreFxQJ() override
Definition setupcorefxqj.h:32