cCuttingThread Class Reference

Inheritance diagram for cCuttingThread:

Inheritance graph
[legend]
Collaboration diagram for cCuttingThread:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

virtual void Action (void)

Private Attributes

const char * error
cUnbufferedFilefromFile
cUnbufferedFiletoFile
cFileNamefromFileName
cFileNametoFileName
cIndexFilefromIndex
cIndexFiletoIndex
cMarks fromMarks
cMarks toMarks


Detailed Description

Definition at line 18 of file cutter.c.


Constructor & Destructor Documentation

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

Definition at line 33 of file cutter.c.

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

Here is the call graph for this function:

cCuttingThread::~cCuttingThread (  )  [virtual]

Definition at line 52 of file cutter.c.

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

Here is the call graph for this function:


Member Function Documentation

void cCuttingThread::Action ( void   )  [protected, virtual]

A derived cThread class must implement the code it wants to execute as a separate thread in this function. If this is a loop, it must check Running() repeatedly to see whether it's time to stop.

Implements cThread.

Definition at line 61 of file cutter.c.

References cMarks::Add(), AssertFreeDiskSpace(), error, esyslog, cList< T >::First(), fromFile, fromFileName, fromIndex, fromMarks, cIndexFile::Get(), I_FRAME, cIndexFile::Last(), MAXFRAMESIZE, cSetup::MaxVideoFileSize, MEGABYTE, cList< T >::Next(), cFileName::NextFile(), cFileName::Number(), cFileName::Open(), cMark::position, ReadFrame(), Recordings, cThread::Running(), cConfig< T >::Save(), cRemux::SetBrokenLink(), cFileName::SetOffset(), cUnbufferedFile::SetReadAhead(), Setup, cSetup::SplitEditedFiles, toFile, toFileName, toIndex, toMarks, cRecordings::TouchUpdate(), cIndexFile::Write(), and cUnbufferedFile::Write().

Here is the call graph for this function:

const char* cCuttingThread::Error ( void   )  [inline]

Definition at line 30 of file cutter.c.

References error.

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


Member Data Documentation

const char* cCuttingThread::error [private]

Definition at line 20 of file cutter.c.

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

cUnbufferedFile* cCuttingThread::fromFile [private]

Definition at line 21 of file cutter.c.

Referenced by Action(), and cCuttingThread().

cUnbufferedFile * cCuttingThread::toFile [private]

Definition at line 21 of file cutter.c.

Referenced by Action(), and cCuttingThread().

cFileName* cCuttingThread::fromFileName [private]

Definition at line 22 of file cutter.c.

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

cFileName * cCuttingThread::toFileName [private]

Definition at line 22 of file cutter.c.

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

cIndexFile* cCuttingThread::fromIndex [private]

Definition at line 23 of file cutter.c.

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

cIndexFile * cCuttingThread::toIndex [private]

Definition at line 23 of file cutter.c.

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

cMarks cCuttingThread::fromMarks [private]

Definition at line 24 of file cutter.c.

Referenced by Action(), and cCuttingThread().

cMarks cCuttingThread::toMarks [private]

Definition at line 24 of file cutter.c.

Referenced by Action(), and cCuttingThread().


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:07:03 2007 for VDR by  doxygen 1.5.3-20071008