CetonRecorder Class Reference

#include <cetonrecorder.h>

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

List of all members.

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

Detailed Description

Definition at line 20 of file cetonrecorder.h.


Constructor & Destructor Documentation

CetonRecorder::CetonRecorder ( TVRec rec,
CetonChannel channel 
)

Definition at line 17 of file cetonrecorder.cpp.


Member Function Documentation

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

Referenced by Close(), and Open().

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.

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

Reimplemented from RecorderBase.

Definition at line 127 of file cetonrecorder.cpp.

Referenced by run().


Member Data Documentation

Definition at line 39 of file cetonrecorder.h.

Referenced by GetSIStandard(), and Open().

Definition at line 40 of file cetonrecorder.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:41:55 2012 for MythTV by  doxygen 1.6.3