DVBRecorder Class Reference

This is a specialization of DTVRecorder used to handle streams from DVB drivers. More...

#include <dvbrecorder.h>

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

List of all members.

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

Detailed Description

This is a specialization of DTVRecorder used to handle streams from DVB drivers.

See also:
DTVRecorder

Definition at line 21 of file dvbrecorder.h.


Constructor & Destructor Documentation

DVBRecorder::DVBRecorder ( TVRec rec,
DVBChannel channel 
)

Definition at line 35 of file dvbrecorder.cpp.


Member Function Documentation

void DVBRecorder::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 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.

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

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.


Member Data Documentation

Definition at line 40 of file dvbrecorder.h.

Referenced by GetSIStandard(), run(), SetCAMPMT(), and UpdateCAMTimeOffset().

Definition at line 41 of file dvbrecorder.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 Mon May 28 06:42:02 2012 for MythTV by  doxygen 1.6.3