wavelength 1.0.0
Loading...
Searching...
No Matches
mcreadtask.h
Go to the documentation of this file.
1#pragma once
2
4
10class MCReadTask : public MemcardTask {
11public:
18 ~MCReadTask() override = default;
19
28 void Set(void *pBuffer, int nSize);
29
37 void OnRead(int nResult) override;
38
39private:
40 void *mBuffer;
41 int mSize;
42
43protected:
50 void OnStart() override;
51};
Task that reads bytes from the file MemcardTask::sFd identifies.
Definition mcreadtask.h:10
void OnStart() override
Issue the command.
~MCReadTask() override=default
Destroy the object.
void Set(void *pBuffer, int nSize)
Prepare the task.
void OnRead(int nResult) override
Record the outcome and finish.
MemcardTask()
Construct an idle task for the first slot.
Definition memcardtask.h:41