vdr
2.2.0
|
Public Member Functions | |
cIndexFileGenerator (const char *RecordingName, bool Update=false) | |
~cIndexFileGenerator () | |
![]() | |
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) |
![]() | |
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 |
bool | update |
Additional Inherited Members | |
![]() | |
static tThreadId | ThreadId (void) |
static tThreadId | IsMainThread (void) |
static void | SetMainThreadId (void) |
Definition at line 2248 of file recording.c.
cIndexFileGenerator::cIndexFileGenerator | ( | const char * | RecordingName, |
bool | Update = false |
||
) |
Definition at line 2259 of file recording.c.
References cThread::Start(), and update.
cIndexFileGenerator::~cIndexFileGenerator | ( | ) |
Definition at line 2267 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 2272 of file recording.c.
References cFrameDetector::Analyze(), cRingBufferLinear::Available(), cRingBufferLinear::Clear(), cRingBufferLinear::Del(), cIndexFile::Delete(), DoubleEqual(), FileSize(), cRecordingInfo::FramesPerSecond(), cFrameDetector::FramesPerSecond(), cRingBufferLinear::Get(), cIndexFile::Get(), IFG_BUFFER_SIZE, cFrameDetector::IndependentFrame(), cPatPmtParser::IsPmtPid(), isyslog, KILOBYTE, cIndexFile::Last(), MIN_TS_PACKETS_FOR_FRAME_DETECTOR, mtError, mtInfo, cFrameDetector::NewFrame(), cFileName::NextFile(), cFileName::Number(), cFileName::Open(), cPatPmtParser::ParsePat(), cPatPmtParser::ParsePmt(), PATPID, cRingBufferLinear::Put(), cSkins::QueueMessage(), cRecordingInfo::Read(), cRingBufferLinear::Read(), recordingName, cThread::Running(), cRecordingInfo::SetFramesPerSecond(), cFileName::SetOffset(), cFrameDetector::SetPid(), Skins, cFrameDetector::Synced(), tr, TS_SIZE, TS_SYNC_BYTE, TsPid(), update, cRecordings::UpdateByName(), cPatPmtParser::Vpid(), cPatPmtParser::Vtype(), cRecordingInfo::Write(), and cIndexFile::Write().
|
private |
Definition at line 2250 of file recording.c.
Referenced by Action().
|
private |
Definition at line 2251 of file recording.c.
Referenced by Action(), and cIndexFileGenerator().