wavelength 1.0.0
Loading...
Searching...
No Matches
queuedjob.h
Go to the documentation of this file.
1#pragma once
2
10class QueuedJob {
11public:
21
27 explicit QueuedJob(int nType) : mStarted(0), mType(nType) {
28 }
29
34 virtual ~QueuedJob() {
35 }
36
38 int GetType() const {
39 return mType;
40 }
41
43 int GetStarted() const {
44 return mStarted;
45 }
46
52 void SetStarted(int nStarted) {
53 mStarted = nStarted;
54 }
55
56private:
57 int mStarted;
58 int mType;
59};
Type
The kinds of job, the values of mType.
Definition queuedjob.h:13
@ kTypeBankLoad
Definition queuedjob.h:16
@ kTypeEnableDisableSoftFx
Definition queuedjob.h:17
@ kTypeCallback
Definition queuedjob.h:19
@ kTypePartition
Definition queuedjob.h:14
@ kTypeSetupCoreFx
Definition queuedjob.h:18
@ kTypeDeactivateBank
Definition queuedjob.h:15
void SetStarted(int nStarted)
Record that the job has sent its request.
Definition queuedjob.h:52
virtual ~QueuedJob()
Definition queuedjob.h:34
int GetStarted() const
Definition queuedjob.h:43
QueuedJob(int nType)
Construct a job that has not started.
Definition queuedjob.h:27
int GetType() const
Definition queuedjob.h:38