FastLED 3.10.6
Loading...
Searching...
No Matches
backend.h File Reference

Detailed Description

The interface a storage backend implements.

This is the platform half of the filesystem subsystem. Sketch authors want fl/fs/fs.h; this header is for whoever is teaching FastLED to read from a new medium.

Splitting it out is the point: previously FsImpl shared a header with FileSystem, so the two audiences – people opening files and people implementing storage – read the same file for unrelated reasons (FastLED #4003, #4008).

To add a backend: subclass FsImpl, expose a free factory naming the medium rather than the driver (getSdFs, getEmbeddedFs – never getLittleFs, see #4007), and hand it to FileSystem::begin().

Definition in file backend.h.

+ Include dependency graph for backend.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fl::FsImpl
 A mounted storage medium. More...
 
struct  fl::FsImpl::Visitor
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Functions

 fl::FASTLED_SHARED_PTR (FsImpl)