Arduino live555
All Classes Functions Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AbstractFile Class Referenceabstract

Abstract SD File Layer. Use the setFileDriver() method to define the actually set concrete implementation. We also provide a simple way to register and check file pointers. More...

#include <ArduinoStdio.hh>

Inheritance diagram for AbstractFile:
FileAccessFILE FileAccessSD FileAccessSdFat FileAccessStream

Public Member Functions

virtual void * fopen (const char *path, const char *mode)=0
 
virtual int fclose (void *fp)=0
 
virtual int fgetc (void *fp)=0
 
virtual int fputc (int c, void *fp)=0
 
virtual int fseek (void *fp, long offset, int whence)=0
 
virtual long int ftell (void *fp)=0
 
virtual size_t fread (void *ptr, size_t size, size_t nmemb, void *fp)=0
 
virtual size_t fwrite (const void *ptr, size_t size, size_t nmemb, void *fp)=0
 
virtual int ferror (void *fp)=0
 
virtual void clearerr (void *fp)=0
 
virtual int ungetc (int c, void *fp)=0
 
virtual int feof (void *fp)=0
 
virtual void rewind (void *fp)=0
 
virtual int fflush (void *fp)=0
 
virtual size_t fileSize (void *ptr)=0
 

Protected Member Functions

bool addFile (void *fp)
 registered the valid file pointer in an array
 
bool deleteFile (void *fp)
 removes the file pointer from the array of valid files
 
bool checkFile (void *fp)
 checks if the file pointer is valid
 

Protected Attributes

void * files [LIVE555_MAX_FILES] = {}
 

Detailed Description

Abstract SD File Layer. Use the setFileDriver() method to define the actually set concrete implementation. We also provide a simple way to register and check file pointers.


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