#include <hdhrrecorder.h>
Public Member Functions | |
| HDHRRecorder (TVRec *rec, HDHRChannel *channel) | |
| 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) |
| QString | GetSIStandard (void) const |
Private Member Functions | |
| void | ReaderPaused (int fd) |
| bool | PauseAndWait (int timeout=100) |
| If request_pause is true, sets pause and blocks up to timeout milliseconds or until unpaused, whichever is sooner. | |
Private Attributes | |
| HDHRChannel * | _channel |
| HDHRStreamHandler * | _stream_handler |
Definition at line 19 of file hdhrrecorder.h.
| HDHRRecorder::HDHRRecorder | ( | TVRec * | rec, | |
| HDHRChannel * | channel | |||
| ) |
Definition at line 18 of file hdhrrecorder.cpp.
| void HDHRRecorder::run | ( | void | ) | [virtual] |
run() starts the recording process, and does not exit until the recording is complete.
Implements RecorderBase.
Definition at line 50 of file hdhrrecorder.cpp.
| bool HDHRRecorder::Open | ( | void | ) |
Definition at line 23 of file hdhrrecorder.cpp.
Referenced by run().
| bool HDHRRecorder::IsOpen | ( | void | ) | const [inline] |
Definition at line 27 of file hdhrrecorder.h.
| void HDHRRecorder::Close | ( | void | ) |
Definition at line 40 of file hdhrrecorder.cpp.
Referenced by run().
| QString HDHRRecorder::GetSIStandard | ( | void | ) | const [virtual] |
Reimplemented from DTVRecorder.
Definition at line 156 of file hdhrrecorder.cpp.
| void HDHRRecorder::ReaderPaused | ( | int | fd | ) | [private] |
| bool HDHRRecorder::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 128 of file hdhrrecorder.cpp.
Referenced by run().
HDHRChannel* HDHRRecorder::_channel [private] |
Definition at line 37 of file hdhrrecorder.h.
Referenced by GetSIStandard(), and Open().
HDHRStreamHandler* HDHRRecorder::_stream_handler [private] |
Definition at line 38 of file hdhrrecorder.h.
Referenced by Close(), IsOpen(), Open(), PauseAndWait(), and run().
1.6.3