FastLED 3.9.7
Loading...
Searching...
No Matches
fl::FileSystem Class Reference

Detailed Description

Definition at line 41 of file file_system.h.

Public Member Functions

bool beginSd (int cs_pin)
 
bool begin (FsImplPtr platform_filesystem)
 
void end ()
 
FileHandlePtr openRead (const char *path)
 
Video openVideo (const char *path, size_t pixelsPerFrame, float fps=30.0f, size_t nFrameHistory=0)
 
bool readText (const char *path, Str *out)
 
bool readJson (const char *path, JsonDocument *doc)
 
bool readScreenMaps (const char *path, FixedMap< Str, ScreenMap, 16 > *out, Str *error=nullptr)
 
bool readScreenMap (const char *path, const char *name, ScreenMap *out, Str *error=nullptr)
 
void close (FileHandlePtr file)
 

Constructor & Destructor Documentation

◆ FileSystem()

fl::FileSystem::FileSystem ( )

Definition at line 96 of file file_system.cpp.

Member Function Documentation

◆ begin()

bool fl::FileSystem::begin ( FsImplPtr platform_filesystem)

Definition at line 85 of file file_system.cpp.

◆ beginSd()

bool fl::FileSystem::beginSd ( int cs_pin)

Definition at line 76 of file file_system.cpp.

◆ close()

void fl::FileSystem::close ( FileHandlePtr file)

Definition at line 153 of file file_system.cpp.

◆ end()

void fl::FileSystem::end ( )

Definition at line 99 of file file_system.cpp.

◆ openRead()

FileHandlePtr fl::FileSystem::openRead ( const char * path)

Definition at line 155 of file file_system.cpp.

◆ openVideo()

Video fl::FileSystem::openVideo ( const char * path,
size_t pixelsPerFrame,
float fps = 30.0f,
size_t nFrameHistory = 0 )

Definition at line 156 of file file_system.cpp.

◆ readJson()

bool fl::FileSystem::readJson ( const char * path,
JsonDocument * doc )

Definition at line 105 of file file_system.cpp.

◆ readScreenMap()

bool fl::FileSystem::readScreenMap ( const char * path,
const char * name,
ScreenMap * out,
Str * error = nullptr )

Definition at line 133 of file file_system.cpp.

◆ readScreenMaps()

bool fl::FileSystem::readScreenMaps ( const char * path,
FixedMap< Str, ScreenMap, 16 > * out,
Str * error = nullptr )

Definition at line 113 of file file_system.cpp.

◆ readText()

bool fl::FileSystem::readText ( const char * path,
fl::Str * out )

Definition at line 167 of file file_system.cpp.


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