Logo Search packages:      
Sourcecode: vdr-plugin-osdteletext version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Attributes | Static Private Attributes

Storage Class Reference

Inheritance diagram for Storage:
Inheritance graph
Collaboration diagram for Storage:
Collaboration graph

List of all members.

Public Types

enum  StorageSystem { StorageSystemLegacy, StorageSystemPacked }

Public Member Functions

virtual void cleanUp ()=0
virtual void close (StorageHandle stream)=0
virtual void getFilename (char *buffer, int bufLength, PageID page)
void init ()
virtual StorageHandle openForReading (PageID page, bool countAsAccess)=0
virtual StorageHandle openForWriting (PageID page)=0
void prepareDirectory (tChannelID chan)
virtual ssize_t read (void *ptr, size_t size, StorageHandle stream)=0
void setMaxStorage (int maxMB=-1)
virtual ssize_t write (const void *ptr, size_t size, StorageHandle stream)=0

Static Public Member Functions

static const char * getRootDir ()
static Storageinstance ()
static void setRootDir (const char *)
static void setSystem (StorageSystem system)

Protected Member Functions

virtual int actualFileSize (int netFileSize)
int cleanSubDir (const char *dir)
int doCleanUp ()
bool exists (const char *file)
void freeSpace ()
virtual void initMaxStorage (int maxMB=-1)=0

Protected Attributes

long byteCount
char * currentDir

Static Protected Attributes

static const char * root = "/vtx"
static Storages_self = 0

Private Attributes

bool failedFreeSpace
int storageOption

Static Private Attributes

static StorageSystem system = Storage::StorageSystemPacked

Detailed Description

Definition at line 53 of file txtrecv.h.

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

Generated by  Doxygen 1.6.0   Back to index