wavelength 1.0.0
Loading...
Searching...
No Matches
mcgetremixdatatask.h
Go to the documentation of this file.
1#pragma once
2
8
16public:
23 ~MCGetRemixDataTask() override = default;
24
32
42 void Set(int nPort, void *pBuffer, int nSize);
43
44private:
45 // The steps belong to the SerialTasks list.
46 void *mBuffer;
47 int mSize;
48 MCOpenCurrRemixTask *mOpen;
49 MCSeekTask *mSeek;
50 MCReadTask *mRead;
51 MCCloseTask *mClose;
52};
Task that closes the file MemcardTask::sFd identifies.
Definition mcclosetask.h:10
~MCGetRemixDataTask() override=default
Destroy the object.
MCGetRemixDataTask()
Construct the steps.
void Set(int nPort, void *pBuffer, int nSize)
Prepare the work.
Task that opens the remix file at g_RemixPath for reading.
Definition mcopencurrremixtask.h:11
Task that reads bytes from the file MemcardTask::sFd identifies.
Definition mcreadtask.h:10
Task that moves the position of the file MemcardTask::sFd identifies.
Definition mcseektask.h:10
Memory card work made of MemcardTask steps that run one after another.
Definition memcardserialtask.h:13