vdr  2.0.5
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
cCopyingThread Class Reference

Public Member Functions

 cCopyingThread (const char *SourceName, const char *ToFileName, bool DeleteSource=false)
 
virtual ~cCopyingThread ()
 
const char * Error (void)
 
- Public Member Functions inherited from cThread
 cThread (const char *Description=NULL, bool LowPriority=false)
 
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)
 

Private Attributes

const char * error
 
bool deleteSource
 
cString source
 
cString target
 

Additional Inherited Members

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

Detailed Description

Definition at line 33 of file filetransfer.c.

Constructor & Destructor Documentation

cCopyingThread::cCopyingThread ( const char *  SourceName,
const char *  ToFileName,
bool  DeleteSource = false 
)

Definition at line 47 of file filetransfer.c.

References endswith(), source, cString::sprintf(), cThread::Start(), and target.

cCopyingThread::~cCopyingThread ( )
virtual

Definition at line 64 of file filetransfer.c.

References cThread::Cancel().

Member Function Documentation

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

Definition at line 44 of file filetransfer.c.

References error.

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

Member Data Documentation

bool cCopyingThread::deleteSource
private

Definition at line 36 of file filetransfer.c.

Referenced by Action().

const char* cCopyingThread::error
private

Definition at line 35 of file filetransfer.c.

Referenced by Action(), and Error().

cString cCopyingThread::source
private

Definition at line 37 of file filetransfer.c.

Referenced by Action(), and cCopyingThread().

cString cCopyingThread::target
private

Definition at line 38 of file filetransfer.c.

Referenced by Action(), and cCopyingThread().


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