vdr  1.7.31
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
cCuttingThread Class Reference

Public Member Functions

 cCuttingThread (const char *FromFileName, const char *ToFileName)
virtual ~cCuttingThread ()
const char * Error (void)
- Public Member Functions inherited from cThread
 cThread (const char *Description=NULL)
virtual ~cThread ()
void SetDescription (const char *Description,...) __attribute__((format(printf
void bool Start (void)
bool Active (void)
 cThread (const char *Description=NULL)
virtual ~cThread ()
void SetDescription (const char *Description,...) __attribute__((format(printf
void bool Start (void)
bool Active (void)

Protected Member Functions

virtual void Action (void)
- Protected Member Functions inherited from cThread
void SetPriority (int Priority)
void SetIOPriority (int Priority)
void Lock (void)
void Unlock (void)
bool Running (void)
void Cancel (int WaitSeconds=0)
void SetPriority (int Priority)
void SetIOPriority (int Priority)
void Lock (void)
void Unlock (void)
bool Running (void)
void Cancel (int WaitSeconds=0)

Private Attributes

const char * error
bool isPesRecording
cUnbufferedFilefromFile
cUnbufferedFiletoFile
cFileNamefromFileName
cFileNametoFileName
cIndexFilefromIndex
cIndexFiletoIndex
cMarks fromMarks
cMarks toMarks
off_t maxVideoFileSize

Additional Inherited Members

- Static Public Member Functions inherited from cThread
static tThreadId ThreadId (void)
static tThreadId IsMainThread (void)
static void SetMainThreadId (void)
static tThreadId ThreadId (void)
static tThreadId IsMainThread (void)
static void SetMainThreadId (void)

Detailed Description

Definition at line 19 of file cutter.c.

Constructor & Destructor Documentation

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

Definition at line 60 of file cutter.c.

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

Member Function Documentation

void cCuttingThread::Action ( void  )
protectedvirtual
const char* cCuttingThread::Error ( void  )
inline

Definition at line 33 of file cutter.c.

References error.

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

Member Data Documentation

const char* cCuttingThread::error
private

Definition at line 21 of file cutter.c.

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

cUnbufferedFile* cCuttingThread::fromFile
private

Definition at line 23 of file cutter.c.

Referenced by Action(), and cCuttingThread().

cFileName* cCuttingThread::fromFileName
private

Definition at line 24 of file cutter.c.

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

cIndexFile* cCuttingThread::fromIndex
private

Definition at line 25 of file cutter.c.

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

cMarks cCuttingThread::fromMarks
private

Definition at line 26 of file cutter.c.

Referenced by Action(), and cCuttingThread().

bool cCuttingThread::isPesRecording
private

Definition at line 22 of file cutter.c.

Referenced by Action(), and cCuttingThread().

off_t cCuttingThread::maxVideoFileSize
private

Definition at line 27 of file cutter.c.

Referenced by cCuttingThread().

cUnbufferedFile * cCuttingThread::toFile
private

Definition at line 23 of file cutter.c.

Referenced by Action(), and cCuttingThread().

cFileName * cCuttingThread::toFileName
private

Definition at line 24 of file cutter.c.

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

cIndexFile * cCuttingThread::toIndex
private

Definition at line 25 of file cutter.c.

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

cMarks cCuttingThread::toMarks
private

Definition at line 26 of file cutter.c.

Referenced by Action(), and cCuttingThread().


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