resonance 1.0.1
Loading...
Searching...
No Matches
loadfilemct.h File Reference
#include "memcard/memcardtask.h"
#include "os/hxstr.h"
Include dependency graph for loadfilemct.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LoadFileMCT
 Read one file from a card into a caller-supplied buffer. More...

Enumerations

enum  LoadFileState { kLoadFileStateOpen = 123 , kLoadFileStateRead = 143 , kLoadFileStateReport = 163 , kLoadFileStateDone = 183 }
 States LoadFileMCT::mState selects between. More...

Enumeration Type Documentation

◆ LoadFileState

States LoadFileMCT::mState selects between.

LoadFileMCT::RunStep() tests the member against these three values and returns without work for any other, which is what makes kLoadFileStateDone terminal. The four values are 20 apart and nothing in the image explains the spacing.

Every title is inferred from the branch the value selects. No string in the image identifies any of them.

Enumerator
kLoadFileStateOpen 

Open the file for reading.

kLoadFileStateRead 

Read the payload, then close.

kLoadFileStateReport 

Call Finish().

kLoadFileStateDone 

Terminal. RunStep() does not perform work.