vdr
1.7.31
|
Public Member Functions | |
cIndexFileGenerator (const char *RecordingName) | |
~cIndexFileGenerator () | |
![]() | |
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) |
![]() | |
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 | |
cString | recordingName |
Additional Inherited Members | |
![]() | |
static tThreadId | ThreadId (void) |
static tThreadId | IsMainThread (void) |
static void | SetMainThreadId (void) |
static tThreadId | ThreadId (void) |
static tThreadId | IsMainThread (void) |
static void | SetMainThreadId (void) |
Definition at line 1479 of file recording.c.
cIndexFileGenerator::cIndexFileGenerator | ( | const char * | RecordingName | ) |
Definition at line 1489 of file recording.c.
References cThread::Start().
cIndexFileGenerator::~cIndexFileGenerator | ( | ) |
Definition at line 1496 of file recording.c.
References cThread::Cancel().
|
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 1501 of file recording.c.
References cFrameDetector::Analyze(), cRingBufferLinear::Clear(), cRingBufferLinear::Del(), cIndexFile::Delete(), FileSize(), cRingBufferLinear::Get(), IFG_BUFFER_SIZE, cFrameDetector::IndependentFrame(), KILOBYTE, MIN_TS_PACKETS_FOR_FRAME_DETECTOR, mtError, mtInfo, cFrameDetector::NewFrame(), cFileName::NextFile(), cFileName::Number(), cFileName::Open(), cPatPmtParser::ParsePat(), cPatPmtParser::ParsePmt(), PATPID, cPatPmtParser::PmtPid(), cSkins::QueueMessage(), cRingBufferLinear::Read(), recordingName, cFrameDetector::Reset(), cThread::Running(), cFileName::SetOffset(), cFrameDetector::SetPid(), Skins, cFrameDetector::Synced(), tr, TS_SIZE, TsPid(), cPatPmtParser::Vpid(), cPatPmtParser::Vtype(), and cIndexFile::Write().
|
private |
Definition at line 1481 of file recording.c.
Referenced by Action().