wavelength 1.0.0
Loading...
Searching...
No Matches
mcformatcardtask.h
Go to the documentation of this file.
1#pragma once
2
6
14public:
21 ~MCFormatCardTask() override = default;
22
30
38 void Set(int nPort);
39
46 void OnCardInfo() override;
47
48private:
49 // Both steps belong to the SerialTasks list.
50 MCGetInfoTask *mGetInfo;
51 MCFormatTask *mFormat;
52};
~MCFormatCardTask() override=default
Destroy the object.
void Set(int nPort)
Prepare the work.
void OnCardInfo() override
Fail the information step when the card is formatted already.
MCFormatCardTask()
Construct the steps.
Task that formats a card.
Definition mcformattask.h:10
Task that reads the type, the free space, and the format of a card.
Definition mcgetinfotask.h:11
Memory card work made of MemcardTask steps that run one after another.
Definition memcardserialtask.h:13