|
FastLED 3.10.8
|
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 () FL_NO_EXCEPT=0 |
| Mount. False if the medium is absent, unformatted, or unreadable. | |
| virtual void | end () FL_NO_EXCEPT=0 |
| Unmount. Must be safe to call on a backend that never mounted. | |
| virtual bool | ls (Visitor &visitor) FL_NO_EXCEPT |
| Optional directory listing. | |
| virtual filebuf_ptr | openRead (const char *path) FL_NO_EXCEPT=0 |
| Null handle if the file does not exist or cannot be opened. | |