vdr 2.6.1
Public Member Functions | Protected Member Functions | List of all members
cRemoveDeletedRecordingsThread Class Reference

Public Member Functions

 cRemoveDeletedRecordingsThread (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)
 
 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)
 
virtual void Action (void)=0
 
bool Running (void)
 
void Cancel (int WaitSeconds=0)
 
void SetPriority (int Priority)
 
void SetIOPriority (int Priority)
 
void Lock (void)
 
void Unlock (void)
 
virtual void Action (void)=0
 
bool Running (void)
 
void Cancel (int WaitSeconds=0)
 

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 83 of file recording.c.

Constructor & Destructor Documentation

◆ cRemoveDeletedRecordingsThread()

cRemoveDeletedRecordingsThread::cRemoveDeletedRecordingsThread ( void  )

Definition at line 90 of file recording.c.

Member Function Documentation

◆ Action()

void cRemoveDeletedRecordingsThread::Action ( void  )
protectedvirtual

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 95 of file recording.c.

References DELETEDLIFETIME, cIoThrottle::Engaged(), cRemote::HasKeys(), cLockFile::Lock(), LOCK_DELETEDRECORDINGS_WRITE, MAXREMOVETIME, cVideoDirectory::Name(), cListObject::Next(), cVideoDirectory::RemoveEmptyVideoDirectories(), SORTMODEFILE, TIMERRECFILE, and cRecordings::TouchUpdate().


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