wavelength 1.0.0
Loading...
Searching...
No Matches
bankloadqj.h
Go to the documentation of this file.
1#pragma once
2
3#include "os/string.h"
4#include "os/timer.h"
5#include "synth/queuedjob.h"
6
13class BankLoadQJ : public QueuedJob {
14public:
21 BankLoadQJ(unsigned short nSlot, const String &file) : QueuedJob(kTypeBankLoad) {
22 mSlot = nSlot;
23 mFile = file;
24 }
25
30 ~BankLoadQJ() override {
31 }
32
35 return mTimer;
36 }
37
39 unsigned short GetSlot() const {
40 return mSlot;
41 }
42
44 const String &GetFile() const {
45 return mFile;
46 }
47
48private:
49 Timer mTimer;
50 unsigned short mSlot;
51 String mFile;
52};
~BankLoadQJ() override
Definition bankloadqj.h:30
const String & GetFile() const
Definition bankloadqj.h:44
Timer & GetTimer()
Definition bankloadqj.h:34
BankLoadQJ(unsigned short nSlot, const String &file)
Construct a job for a slot.
Definition bankloadqj.h:21
unsigned short GetSlot() const
Definition bankloadqj.h:39
@ kTypeBankLoad
Definition queuedjob.h:16
QueuedJob(int nType)
Construct a job that has not started.
Definition queuedjob.h:27
Growable text buffer that is also a PrnStream.
Definition string.h:19
Stopwatch on the EE cycle counter.
Definition timer.h:16