HDHRRecorder Class Reference

#include <hdhrrecorder.h>

Inheritance diagram for HDHRRecorder:
DTVRecorder RecorderBase MPEGStreamListener MPEGSingleProgramStreamListener DVBMainStreamListener ATSCMainStreamListener TSPacketListener TSPacketListenerAV

List of all members.

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

Detailed Description

Definition at line 19 of file hdhrrecorder.h.


Constructor & Destructor Documentation

HDHRRecorder::HDHRRecorder ( TVRec rec,
HDHRChannel channel 
)

Definition at line 18 of file hdhrrecorder.cpp.


Member Function Documentation

void HDHRRecorder::run ( void   )  [virtual]

run() starts the recording process, and does not exit until the recording is complete.

See also:
StopRecording()

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.

Referenced by Close(), and Open().

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.

Parameters:
timeout number of milliseconds to wait defaults to 100.
Returns:
true if recorder is paused.

Reimplemented from RecorderBase.

Definition at line 128 of file hdhrrecorder.cpp.

Referenced by run().


Member Data Documentation

Definition at line 37 of file hdhrrecorder.h.

Referenced by GetSIStandard(), and Open().

Definition at line 38 of file hdhrrecorder.h.

Referenced by Close(), IsOpen(), Open(), PauseAndWait(), and run().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri Feb 10 06:42:01 2012 for MythTV by  doxygen 1.6.3