openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eBackgroundFileEraser Class Reference

#include <file_eraser.h>

Inheritance diagram for eBackgroundFileEraser:
eMainloop eThread

Public Member Functions

 eBackgroundFileEraser ()
 
 ~eBackgroundFileEraser ()
 
void erase (const std::string &filename)
 
void setEraseSpeed (int inMBperSecond)
 
void setEraseFlags (int flags)
 
- Public Member Functions inherited from eMainloop
 eMainloop ()
 
virtual ~eMainloop ()
 
void quit (int ret=0)
 
int iterate (unsigned int timeout=0, PyObject **res=0, SWIG_PYOBJECT(ePyObject) additional=(PyObject *) 0)
 
int runLoop ()
 
PyObject * poll (SWIG_PYOBJECT(ePyObject) dict, SWIG_PYOBJECT(ePyObject) timeout)
 
void interruptPoll ()
 
void reset ()
 

Static Public Member Functions

static eBackgroundFileErasergetInstance ()
 

Static Public Attributes

static const int ERASE_FLAG_HDD = 1
 
static const int ERASE_FLAG_OTHER = 2
 

Additional Inherited Members

- Protected Member Functions inherited from eMainloop
virtual int _poll (struct pollfd *fds, nfds_t nfds, int timeout)
 

Constructor & Destructor Documentation

◆ eBackgroundFileEraser()

eBackgroundFileEraser::eBackgroundFileEraser ( )

◆ ~eBackgroundFileEraser()

eBackgroundFileEraser::~eBackgroundFileEraser ( )

Member Function Documentation

◆ erase()

void eBackgroundFileEraser::erase ( const std::string &  filename)

◆ getInstance()

static eBackgroundFileEraser* eBackgroundFileEraser::getInstance ( )
inlinestatic

◆ setEraseFlags()

void eBackgroundFileEraser::setEraseFlags ( int  flags)

◆ setEraseSpeed()

void eBackgroundFileEraser::setEraseSpeed ( int  inMBperSecond)

Member Data Documentation

◆ ERASE_FLAG_HDD

const int eBackgroundFileEraser::ERASE_FLAG_HDD = 1
static

◆ ERASE_FLAG_OTHER

const int eBackgroundFileEraser::ERASE_FLAG_OTHER = 2
static

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