FastLED 3.10.6
Loading...
Searching...
No Matches
fl::FsImpl Class Referenceabstract

Detailed Description

A mounted storage medium.

Backends subclass this; sketches never see it except as the opaque FsImplPtr a factory hands to FileSystem::begin().

Definition at line 29 of file backend.h.

#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.
 

The documentation for this class was generated from the following file: