|
FastLED 3.10.6
|
A mounted storage medium.
Backends subclass this; sketches never see it except as the opaque FsImplPtr a factory hands to FileSystem::begin().
#include <backend.h>
Inheritance diagram for fl::FsImpl:Classes | |
| struct | Visitor |
Public Member Functions | |
| FsImpl () FL_NO_EXCEPT=default | |
| virtual | ~FsImpl () FL_NO_EXCEPT |
| virtual bool | begin ()=0 |
| Mount. False if the medium is absent, unformatted, or unreadable. | |
| virtual void | end ()=0 |
| Unmount. Must be safe to call on a backend that never mounted. | |
| virtual bool | ls (Visitor &visitor) |
| Optional directory listing. | |
| virtual filebuf_ptr | openRead (const char *path)=0 |
| Null handle if the file does not exist or cannot be opened. | |