#include <recorder.h>
Public Member Functions |
| cRecorder (const char *FileName, const cChannel *Channel, int Priority) |
virtual | ~cRecorder () |
| cRecorder (const char *FileName, const cChannel *Channel, int Priority) |
virtual | ~cRecorder () |
| cReceiver (const cChannel *Channel=NULL, int Priority=MINPRIORITY) |
virtual | ~cReceiver () |
bool | AddPid (int Pid) |
bool | AddPids (const int *Pids) |
bool | AddPids (int Pid1, int Pid2, int Pid3=0, int Pid4=0, int Pid5=0, int Pid6=0, int Pid7=0, int Pid8=0, int Pid9=0) |
bool | SetPids (const cChannel *Channel) |
tChannelID | ChannelID (void) |
bool | IsAttached (void) |
| cReceiver (const cChannel *Channel=NULL, int Priority=MINPRIORITY) |
virtual | ~cReceiver () |
bool | AddPid (int Pid) |
bool | AddPids (const int *Pids) |
bool | AddPids (int Pid1, int Pid2, int Pid3=0, int Pid4=0, int Pid5=0, int Pid6=0, int Pid7=0, int Pid8=0, int Pid9=0) |
bool | SetPids (const cChannel *Channel) |
tChannelID | ChannelID (void) |
bool | IsAttached (void) |
Detailed Description
Definition at line 19 of file include/vdr/recorder.h.
Constructor & Destructor Documentation
cRecorder::cRecorder |
( |
const char * |
FileName, |
|
|
const cChannel * |
Channel, |
|
|
int |
Priority |
|
) |
| |
Definition at line 24 of file recorder.c.
References cChannel::Apid(), cChannel::Dpid(), esyslog, fileName, fileSize, frameDetector, cFileName::GetLastPatPmtVersions(), index, lastDiskSpaceCheck, MIN_TS_PACKETS_FOR_FRAME_DETECTOR, cFileName::Open(), patPmtGenerator, RECORDERBUFSIZE, recordFile, recordingName, ringBuffer, cPatPmtGenerator::SetChannel(), cRingBuffer::SetIoThrottle(), cRingBuffer::SetTimeouts(), cPatPmtGenerator::SetVersions(), SpinUpDisk(), TS_SIZE, cChannel::Vpid(), and cChannel::Vtype().
cRecorder::~cRecorder |
( |
| ) |
|
|
virtual |
cRecorder::cRecorder |
( |
const char * |
FileName, |
|
|
const cChannel * |
Channel, |
|
|
int |
Priority |
|
) |
| |
virtual cRecorder::~cRecorder |
( |
| ) |
|
|
virtual |
Member Function Documentation
void cRecorder::Action |
( |
void |
| ) |
|
|
protectedvirtual |
Definition at line 118 of file recorder.c.
References cFrameDetector::Analyze(), DEFAULTFRAMESPERSECOND, cRingBufferLinear::Del(), DoubleEqual(), esyslog, fileName, fileSize, frameDetector, cRecordingInfo::FramesPerSecond(), cFrameDetector::FramesPerSecond(), cRingBufferLinear::Get(), cPatPmtGenerator::GetPat(), cPatPmtGenerator::GetPmt(), cFrameDetector::IndependentFrame(), index, LOG_ERROR_STR, MAXBROKENTIMEOUT, cFileName::Name(), cFrameDetector::NewFrame(), NextFile(), cFileName::Number(), patPmtGenerator, cRecordingInfo::Read(), recordFile, recordingName, Recordings, cShutdownHandler::RequestEmergencyExit(), ringBuffer, cThread::Running(), cRecordingInfo::SetFramesPerSecond(), ShutdownHandler, cFrameDetector::Synced(), TS_SIZE, cRecordings::UpdateByName(), cRecordingInfo::Write(), cIndexFile::Write(), and cUnbufferedFile::Write().
virtual void cRecorder::Action |
( |
void |
| ) |
|
|
protectedvirtual |
virtual void cRecorder::Activate |
( |
bool |
On | ) |
|
|
protectedvirtual |
void cRecorder::Activate |
( |
bool |
On | ) |
|
|
protectedvirtual |
bool cRecorder::NextFile |
( |
void |
| ) |
|
|
private |
bool cRecorder::NextFile |
( |
void |
| ) |
|
|
private |
virtual void cRecorder::Receive |
( |
uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
|
protectedvirtual |
void cRecorder::Receive |
( |
uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
|
protectedvirtual |
bool cRecorder::RunningLowOnDiskSpace |
( |
void |
| ) |
|
|
private |
bool cRecorder::RunningLowOnDiskSpace |
( |
void |
| ) |
|
|
private |
Member Data Documentation
off_t cRecorder::fileSize |
|
private |
time_t cRecorder::lastDiskSpaceCheck |
|
private |
char * cRecorder::recordingName |
|
private |
The documentation for this class was generated from the following files: