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
12class ProgramMapTable;
13class DVBChannel;
14
22{
23 public:
24 DVBRecorder(TVRec *rec, DVBChannel *channel);
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(std::chrono::milliseconds timeout = 100ms) 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:
43};
44
45#endif // DVB_RECORDER_H
This is a specialization of RecorderBase used to handle MPEG-2, MPEG-4, MPEG-4 AVC,...
Definition: dtvrecorder.h:35
Provides interface to the tuning hardware when using DVB drivers.
Definition: dvbchannel.h:31
This is a specialization of DTVRecorder used to handle streams from DVB drivers.
Definition: dvbrecorder.h:22
void UpdateCAMTimeOffset(void) override
bool Open(void)
Definition: dvbrecorder.cpp:44
DVBChannel * m_channel
Definition: dvbrecorder.h:41
DVBStreamHandler * m_streamHandler
Definition: dvbrecorder.h:42
void SetCAMPMT(const ProgramMapTable *pmt) override
void run(void) override
run() starts the recording process, and does not exit until the recording is complete.
bool IsOpen(void) const
Definition: dvbrecorder.cpp:74
QString GetSIStandard(void) const override
void Close(void)
Definition: dvbrecorder.cpp:79
bool PauseAndWait(std::chrono::milliseconds timeout=100ms) override
If m_requestPause is true, sets pause and blocks up to timeout milliseconds or until unpaused,...
void StartNewFile(void) override
Definition: dvbrecorder.cpp:88
DVBRecorder(TVRec *rec, DVBChannel *channel)
Definition: dvbrecorder.cpp:38
A PMT table maps a program described in the ProgramAssociationTable to various PID's which describe t...
Definition: mpegtables.h:676
This is the coordinating class of the Recorder Subsystem.
Definition: tv_rec.h:143