vdr 2.6.4
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
cEpgDataWriter Class Reference

Public Member Functions

 cEpgDataWriter (void)
 
void SetDump (bool Dump)
 
void Perform (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)
 
virtual void Action (void)=0
 
bool Running (void)
 
void Cancel (int WaitSeconds=0)
 

Private Attributes

cMutex mutex
 
bool dump
 

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 1217 of file epg.c.

Constructor & Destructor Documentation

◆ cEpgDataWriter()

cEpgDataWriter::cEpgDataWriter ( void  )

Definition at line 1229 of file epg.c.

References dump.

Member Function Documentation

◆ Action()

void cEpgDataWriter::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 1235 of file epg.c.

References Perform().

◆ Perform()

void cEpgDataWriter::Perform ( void  )

Definition at line 1240 of file epg.c.

References dump, cSchedules::Dump(), cSchedules::GetSchedulesWrite(), mutex, and cStateKey::Remove().

Referenced by Action(), and cSchedules::Cleanup().

◆ SetDump()

void cEpgDataWriter::SetDump ( bool  Dump)
inline

Definition at line 1225 of file epg.c.

References dump.

Referenced by cSchedules::SetEpgDataFileName().

Member Data Documentation

◆ dump

bool cEpgDataWriter::dump
private

Definition at line 1220 of file epg.c.

Referenced by cEpgDataWriter(), Perform(), and SetDump().

◆ mutex

cMutex cEpgDataWriter::mutex
private

Definition at line 1219 of file epg.c.

Referenced by Perform().


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