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

stdio Access using an single Arduino Stream More...

#include <FileAccessStream.hh>

Inheritance diagram for FileAccessStream:
AbstractFile

Public Member Functions

 FileAccessStream (Stream &stream)
 
virtual void * fopen (const char *path, const char *mode) override
 
virtual int fclose (void *fp) override
 
virtual int fgetc (void *fp) override
 not implemented
 
virtual int fputc (int c, void *fp) override
 
virtual int fseek (void *fp, long offset, int origin) override
 
virtual long int ftell (void *fp) override
 
virtual size_t fread (void *ptr, size_t size, size_t count, void *fp) override
 
virtual size_t fwrite (const void *ptr, size_t size, size_t count, void *fp) override
 
virtual int ferror (void *fp) override
 A non-zero value is returned in the case that the error indicator associated with the stream is set.
 
virtual void clearerr (void *fp)
 
virtual int ungetc (int c, void *fp) override
 Not implemented.
 
virtual int feof (void *fp) override
 
virtual void rewind (void *fp) override
 
virtual int fflush (void *fp)
 
virtual size_t fileSize (void *ptr)
 

Protected Member Functions

bool checkFile (void *ptr)
 
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
 

Protected Attributes

Stream * p_stream =nullptr
 
bool is_open =false
 
int current_pos = 0
 
bool has_error = false
 
void * files [LIVE555_MAX_FILES] = {}
 

Detailed Description

stdio Access using an single Arduino Stream


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