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

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

PackedStorage Class Reference

Inheritance diagram for PackedStorage:
Inheritance graph
[legend]
Collaboration diagram for PackedStorage:
Collaboration graph
[legend]

List of all members.

Classes

struct  PageAddress

Public Types

enum  StorageSystem { StorageSystemLegacy, StorageSystemPacked }

Public Member Functions

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

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)
void registerFile (PageID page)
bool seekTo (PageID page, int fd, bool create)

Protected Attributes

long byteCount
char * currentDir
int fsBlockSize
long maxBytes
int pageBytes

Static Protected Attributes

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

Detailed Description

Definition at line 117 of file txtrecv.h.


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

Generated by  Doxygen 1.6.0   Back to index