wavelength
1.0.0
Loading...
Searching...
No Matches
mcformattask.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
memcard/memcardtask.h
"
4
10
class
MCFormatTask
:
public
MemcardTask
{
11
public
:
18
~MCFormatTask
()
override
=
default
;
19
27
void
Set
(
int
nPort);
28
36
void
OnFormat
(
int
nResult)
override
;
37
38
protected
:
45
void
OnStart
()
override
;
46
};
MCFormatTask
Task that formats a card.
Definition
mcformattask.h:10
MCFormatTask::~MCFormatTask
~MCFormatTask() override=default
Destroy the object.
MCFormatTask::OnFormat
void OnFormat(int nResult) override
Record the outcome and finish.
MCFormatTask::OnStart
void OnStart() override
Issue the command.
MCFormatTask::Set
void Set(int nPort)
Prepare the task.
MemcardTask::MemcardTask
MemcardTask()
Construct an idle task for the first slot.
Definition
memcardtask.h:41
memcardtask.h
src
memcard
mcformattask.h
Generated by
1.15.0