#include <cetonrecorder.h>
Public Member Functions | |
| CetonRecorder (TVRec *rec, CetonChannel *channel) | |
| void | run (void) |
| run() starts the recording process, and does not exit until the recording is complete. | |
| bool | Open (void) |
| void | Close (void) |
| bool | IsOpen (void) const |
| 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 | |
| CetonChannel * | _channel |
| CetonStreamHandler * | _stream_handler |
Definition at line 20 of file cetonrecorder.h.
| CetonRecorder::CetonRecorder | ( | TVRec * | rec, | |
| CetonChannel * | channel | |||
| ) |
Definition at line 17 of file cetonrecorder.cpp.
| void CetonRecorder::run | ( | void | ) | [virtual] |
run() starts the recording process, and does not exit until the recording is complete.
Implements RecorderBase.
Definition at line 49 of file cetonrecorder.cpp.
| bool CetonRecorder::Open | ( | void | ) |
Definition at line 22 of file cetonrecorder.cpp.
Referenced by run().
| void CetonRecorder::Close | ( | void | ) |
Definition at line 39 of file cetonrecorder.cpp.
Referenced by run().
| bool CetonRecorder::IsOpen | ( | void | ) | const [inline] |
Definition at line 30 of file cetonrecorder.h.
| QString CetonRecorder::GetSIStandard | ( | void | ) | const [virtual] |
Reimplemented from DTVRecorder.
Definition at line 155 of file cetonrecorder.cpp.
| void CetonRecorder::ReaderPaused | ( | int | fd | ) | [private] |
| bool CetonRecorder::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 127 of file cetonrecorder.cpp.
Referenced by run().
CetonChannel* CetonRecorder::_channel [private] |
Definition at line 39 of file cetonrecorder.h.
Referenced by GetSIStandard(), and Open().
CetonStreamHandler* CetonRecorder::_stream_handler [private] |
Definition at line 40 of file cetonrecorder.h.
Referenced by Close(), IsOpen(), Open(), PauseAndWait(), and run().
1.6.3