Task that reads the type, the free space, and the format of a card.
Definition mcgetinfotask.h:11
int GetFree() const
Definition mcgetinfotask.h:44
int GetType() const
Definition mcgetinfotask.h:49
~MCGetInfoTask() override=default
Destroy the object.
int GetFormat() const
Definition mcgetinfotask.h:54
void Set(MemcardSerialTask *pOwner, int nPort, int nAcceptNewCard)
Prepare the task.
void OnGetInfo(int nResult) override
Record the outcome, finish, and tell mOwner.
void OnStart() override
Issue the command.
Memory card work made of MemcardTask steps that run one after another.
Definition memcardserialtask.h:13
MemcardTask()
Construct an idle task for the first slot.
Definition memcardtask.h:41