|
wavelength 1.0.0
|
Request SynthPS2 queues and runs in order once the sound processor is free. More...
#include <queuedjob.h>

Public Types | |
| enum | Type { kTypePartition = 0 , kTypeDeactivateBank = 1 , kTypeBankLoad = 2 , kTypeEnableDisableSoftFx = 3 , kTypeSetupCoreFx = 4 , kTypeCallback = 5 } |
| The kinds of job, the values of mType. More... | |
Public Member Functions | |
| QueuedJob (int nType) | |
| Construct a job that has not started. | |
| virtual | ~QueuedJob () |
| int | GetType () const |
| int | GetStarted () const |
| void | SetStarted (int nStarted) |
| Record that the job has sent its request. | |
Request SynthPS2 queues and runs in order once the sound processor is free.
The RTTI includes the class name and records no base. The two data members precede the vptr. SynthPS2::ProcessJobs() picks the job's class from mType and runs the job at the front of the queue, polling it on later frames until it finishes.
| enum QueuedJob::Type |
The kinds of job, the values of mType.
| Enumerator | |
|---|---|
| kTypePartition | A PartitionQJ. |
| kTypeDeactivateBank | |
| kTypeBankLoad | A BankLoadQJ. |
| kTypeEnableDisableSoftFx | |
| kTypeSetupCoreFx | |
| kTypeCallback | A CallbackQJ. |
|
inlineexplicit |
Construct a job that has not started.
| nType | The kind of job, one of Type. |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
Record that the job has sent its request.
| nStarted | 1 once the request is sent. |