Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cCuttingThread Class Reference

Inheritance diagram for cCuttingThread:

Inheritance graph
[legend]
Collaboration diagram for cCuttingThread:

Collaboration graph
[legend]

Public Methods

 cCuttingThread (const char *FromFileName, const char *ToFileName)
virtual ~cCuttingThread ()
const char * Error (void)

Protected Methods

virtual void Action (void)

Private Attributes

const char * error
bool active
int fromFile
int toFile
cFileNamefromFileName
cFileNametoFileName
cIndexFilefromIndex
cIndexFiletoIndex
cMarks fromMarks
cMarks toMarks

Constructor & Destructor Documentation

cCuttingThread::cCuttingThread const char *    FromFileName,
const char *    ToFileName
 

Definition at line 34 of file cutter.c.

References active, cListBase::Count(), error, esyslog, fromFile, fromFileName, fromIndex, fromMarks, cMarks::Load(), cThread::Start(), toFile, toFileName, toIndex, and toMarks.

cCuttingThread::~cCuttingThread   [virtual]
 

Definition at line 53 of file cutter.c.

References active, cThread::Cancel(), fromFileName, fromIndex, toFileName, and toIndex.


Member Function Documentation

void cCuttingThread::Action void    [protected, virtual]
 

Implements cThread.

Definition at line 63 of file cutter.c.

References active, cMarks::Add(), AssertFreeDiskSpace(), dsyslog, error, esyslog, cList< cMark >::First(), fromFile, fromFileName, fromIndex, fromMarks, cIndexFile::Get(), I_FRAME, cIndexFile::Last(), MAXFRAMESIZE, MEGABYTE, cList< cMark >::Next(), cFileName::NextFile(), cFileName::Number(), cFileName::Open(), cMark::position, ReadFrame(), safe_write(), cConfig< cMark >::Save(), cFileName::SetOffset(), toFile, toFileName, toIndex, toMarks, uchar, and cIndexFile::Write().

const char* cCuttingThread::Error void    [inline]
 

Definition at line 31 of file cutter.c.

Referenced by cCutter::Active(), and cCutter::Stop().


Field Documentation

bool cCuttingThread::active [private]
 

Definition at line 21 of file cutter.c.

Referenced by Action(), cCuttingThread(), and ~cCuttingThread().

const char* cCuttingThread::error [private]
 

Definition at line 20 of file cutter.c.

Referenced by Action(), and cCuttingThread().

int cCuttingThread::fromFile [private]
 

Definition at line 22 of file cutter.c.

Referenced by Action(), and cCuttingThread().

cFileName* cCuttingThread::fromFileName [private]
 

Definition at line 23 of file cutter.c.

Referenced by Action(), cCuttingThread(), and ~cCuttingThread().

cIndexFile* cCuttingThread::fromIndex [private]
 

Definition at line 24 of file cutter.c.

Referenced by Action(), cCuttingThread(), and ~cCuttingThread().

cMarks cCuttingThread::fromMarks [private]
 

Definition at line 25 of file cutter.c.

Referenced by Action(), and cCuttingThread().

int cCuttingThread::toFile [private]
 

Definition at line 22 of file cutter.c.

Referenced by Action(), and cCuttingThread().

cFileName * cCuttingThread::toFileName [private]
 

Definition at line 23 of file cutter.c.

Referenced by Action(), cCuttingThread(), and ~cCuttingThread().

cIndexFile * cCuttingThread::toIndex [private]
 

Definition at line 24 of file cutter.c.

Referenced by Action(), cCuttingThread(), and ~cCuttingThread().

cMarks cCuttingThread::toMarks [private]
 

Definition at line 25 of file cutter.c.

Referenced by Action(), and cCuttingThread().


The documentation for this class was generated from the following file:
Generated on Wed Feb 5 23:31:06 2003 for VDR by doxygen1.3-rc2