This is a specialization of DTVRecorder used to handle streams from DVB drivers. More...
#include <dvbrecorder.h>
Public Member Functions | |
| DVBRecorder (TVRec *, DVBChannel *) | |
| void | run (void) |
| run() starts the recording process, and does not exit until the recording is complete. | |
| bool | Open (void) |
| bool | IsOpen (void) const |
| void | Close (void) |
Private Member Functions | |
| bool | PauseAndWait (int timeout=100) |
| If request_pause is true, sets pause and blocks up to timeout milliseconds or until unpaused, whichever is sooner. | |
| QString | GetSIStandard (void) const |
| void | SetCAMPMT (const ProgramMapTable *) |
| void | UpdateCAMTimeOffset (void) |
Private Attributes | |
| DVBChannel * | _channel |
| DVBStreamHandler * | _stream_handler |
This is a specialization of DTVRecorder used to handle streams from DVB drivers.
Definition at line 21 of file dvbrecorder.h.
| DVBRecorder::DVBRecorder | ( | TVRec * | rec, | |
| DVBChannel * | channel | |||
| ) |
Definition at line 35 of file dvbrecorder.cpp.
| void DVBRecorder::run | ( | void | ) | [virtual] |
run() starts the recording process, and does not exit until the recording is complete.
Implements RecorderBase.
Definition at line 75 of file dvbrecorder.cpp.
| bool DVBRecorder::Open | ( | void | ) |
Definition at line 41 of file dvbrecorder.cpp.
Referenced by run().
| bool DVBRecorder::IsOpen | ( | void | ) | const |
Definition at line 61 of file dvbrecorder.cpp.
Referenced by Open().
| void DVBRecorder::Close | ( | void | ) |
Definition at line 66 of file dvbrecorder.cpp.
Referenced by run().
| bool DVBRecorder::PauseAndWait | ( | int | timeout = 100 |
) | [private, virtual] |
If request_pause is true, sets pause and blocks up to timeout milliseconds or until unpaused, whichever is sooner.
This is the where we actually do the pausing. For most recorders that need to do something special on pause, this is the method to overide.
| timeout | number of milliseconds to wait defaults to 100. |
Reimplemented from RecorderBase.
Definition at line 147 of file dvbrecorder.cpp.
Referenced by run().
| QString DVBRecorder::GetSIStandard | ( | void | ) | const [private, virtual] |
Reimplemented from DTVRecorder.
Definition at line 175 of file dvbrecorder.cpp.
| void DVBRecorder::SetCAMPMT | ( | const ProgramMapTable * | pmt | ) | [private, virtual] |
Reimplemented from DTVRecorder.
Definition at line 180 of file dvbrecorder.cpp.
| void DVBRecorder::UpdateCAMTimeOffset | ( | void | ) | [private, virtual] |
Reimplemented from DTVRecorder.
Definition at line 185 of file dvbrecorder.cpp.
DVBChannel* DVBRecorder::_channel [private] |
Definition at line 40 of file dvbrecorder.h.
Referenced by GetSIStandard(), run(), SetCAMPMT(), and UpdateCAMTimeOffset().
DVBStreamHandler* DVBRecorder::_stream_handler [private] |
Definition at line 41 of file dvbrecorder.h.
Referenced by Close(), IsOpen(), Open(), PauseAndWait(), and run().
1.6.3