Task that closes the file MemcardTask::sFd identifies.
Definition mcclosetask.h:10
void OnStop() override
Tell mOwner that the work ended.
~MCLoadFileTask() override=default
Destroy the object.
void Set(MemcardSerialTask *pOwner, int nPort, const char *pszName, void *pBuffer, int nSize)
Prepare the work.
MCLoadFileTask()
Construct the steps.
Task that opens a file and records its descriptor in MemcardTask::sFd.
Definition mcopentask.h:11
Task that reads bytes from the file MemcardTask::sFd identifies.
Definition mcreadtask.h:10
Memory card work made of MemcardTask steps that run one after another.
Definition memcardserialtask.h:13