Go to the documentation of this file.
3 #ifndef DVBSTREAMHANDLER_H
4 #define DVBSTREAMHANDLER_H
27 PIDInfo(pid, stream_type, pes_type) {}
28 bool Open(
const QString &dvb_dev,
bool use_section_reader)
override;
29 bool Close(
const QString &dvb_dev)
override;
51 void run(
void)
override;
60 {
return new DVBPIDInfo(pid, stream_type, pes_type); }
80 #endif // DVBSTREAMHANDLER_H
DTVSignalMonitor * m_sigMon
void SetRetuneAllowed(bool allow, DTVSignalMonitor *sigmon, DVBChannel *dvbchan)
volatile bool m_allowRetune
PIDInfo * CreatePIDInfo(uint pid, uint stream_type, int pes_type) override
static QMap< QString, bool > s_recSupportsTsMonitoring
static QMutex s_rec_supportsTsMonitoringLock
Buffers reads from device files.
static void Return(DVBStreamHandler *&ref, int inputid)
static DVBStreamHandler * Get(const QString &devname, int inputid)
DVBStreamHandler(const QString &dvb_device, int inputid)
bool IsRetuneAllowed(void) const
DVBPIDInfo(uint pid, uint stream_type, int pes_type)
void RunSR(void)
Uses "Section" reader to read a DVB device for tables.
static QMap< QString, DVBStreamHandler * > s_handlers
void RunTS(void)
Uses TS filtering devices to read a DVB device for tables & data.
DVBChannel * m_dvbChannel
Provides interface to the tuning hardware when using DVB drivers.
void CycleFiltersByPriority(void) override
static QMap< QString, uint > s_handlersRefCnt
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
This class is intended to detect the presence of needed tables.
static QMutex s_handlersLock
bool Open(const QString &dvb_dev, bool use_section_reader) override
bool SupportsTSMonitoring(void)
Returns true if TS monitoring is supported.
bool Close(const QString &dvb_dev) override