MythTV  master
dvbrecorder.h
Go to the documentation of this file.
1 // -*- Mode: c++ -*-
2 #ifndef DVB_RECORDER_H
3 #define DVB_RECORDER_H
4 
5 // Qt includes
6 #include <QString>
7 
8 // MythTV includes
9 #include "dtvrecorder.h"
10 
11 class DVBStreamHandler;
12 class ProgramMapTable;
13 class DVBChannel;
14 
21 class DVBRecorder : public DTVRecorder
22 {
23  public:
25 
26  void run(void) override; // RecorderBase
27 
28  bool Open(void);
29  bool IsOpen(void) const;
30  void Close(void);
31  void StartNewFile(void) override; // RecorderBase
32 
33  private:
34  bool PauseAndWait(int timeout = 100) override; // RecorderBase
35 
36  QString GetSIStandard(void) const override; // DTVRecorder
37  void SetCAMPMT(const ProgramMapTable *pmt) override; // DTVRecorder
38  void UpdateCAMTimeOffset(void) override; // DTVRecorder
39 
40  private:
41  DVBChannel *m_channel {nullptr};
43 };
44 
45 #endif // DVB_RECORDER_H
channel
QDomElement channel
Definition: mythplugins/mytharchive/mytharchivehelper/main.cpp:498
hardwareprofile.smolt.timeout
float timeout
Definition: smolt.py:103
dtvrecorder.h
DVBRecorder::DVBRecorder
DVBRecorder(TVRec *rec, DVBChannel *channel)
Definition: dvbrecorder.cpp:37
DVBRecorder::PauseAndWait
bool PauseAndWait(int timeout=100) override
If m_requestPause is true, sets pause and blocks up to timeout milliseconds or until unpaused,...
Definition: dvbrecorder.cpp:170
ProgramMapTable
A PMT table maps a program described in the ProgramAssociationTable to various PID's which describe t...
Definition: mpegtables.h:666
DVBRecorder::run
void run(void) override
run() starts the recording process, and does not exit until the recording is complete.
Definition: dvbrecorder.cpp:100
DVBRecorder::SetCAMPMT
void SetCAMPMT(const ProgramMapTable *pmt) override
Definition: dvbrecorder.cpp:203
DTVRecorder
This is a specialization of RecorderBase used to handle MPEG-2, MPEG-4, MPEG-4 AVC,...
Definition: dtvrecorder.h:27
DVBStreamHandler
Definition: dvbstreamhandler.h:33
DVBRecorder
This is a specialization of DTVRecorder used to handle streams from DVB drivers.
Definition: dvbrecorder.h:21
DVBChannel
Provides interface to the tuning hardware when using DVB drivers.
Definition: dvbchannel.h:29
DVBRecorder::Open
bool Open(void)
Definition: dvbrecorder.cpp:43
TVRec
This is the coordinating class of the Recorder Subsystem.
Definition: tv_rec.h:142
DVBRecorder::m_channel
DVBChannel * m_channel
Definition: dvbrecorder.h:41
DVBRecorder::UpdateCAMTimeOffset
void UpdateCAMTimeOffset(void) override
Definition: dvbrecorder.cpp:209
DVBRecorder::IsOpen
bool IsOpen(void) const
Definition: dvbrecorder.cpp:73
DVBRecorder::GetSIStandard
QString GetSIStandard(void) const override
Definition: dvbrecorder.cpp:198
DVBRecorder::StartNewFile
void StartNewFile(void) override
Definition: dvbrecorder.cpp:87
DVBRecorder::Close
void Close(void)
Definition: dvbrecorder.cpp:78
DVBRecorder::m_streamHandler
DVBStreamHandler * m_streamHandler
Definition: dvbrecorder.h:42