MythTV master
iptvsignalmonitor.h
Go to the documentation of this file.
1// -*- Mode: c++ -*-
2
3#ifndef IPTVSIGNALMONITOR_H
4#define IPTVSIGNALMONITOR_H
5
6#include "dtvsignalmonitor.h"
7
8class IPTVChannel;
10
12{
14 public:
15 IPTVSignalMonitor(int db_cardnum, IPTVChannel *_channel,
16 bool _release_stream, uint64_t _flags = 0);
17 ~IPTVSignalMonitor() override;
18
19 void Stop(void) override; // SignalMonitor
20
21 // DTVSignalMonitor
22 void SetStreamData(MPEGStreamData *data) override; // DTVSignalMonitor
23
24 // MPEG
25 void HandlePAT(const ProgramAssociationTable *pat) override; // DTVSignalMonitor
26
27 protected:
30
31 void UpdateValues(void) override; // SignalMonitor
33
34 protected:
36 bool m_locked {false};
37};
38
39#endif // IPTVSIGNALMONITOR_H
This class is intended to detect the presence of needed tables.
IPTVChannel * GetIPTVChannel(void)
friend class IPTVTableMonitorThread
void UpdateValues(void) override
Fills in frontend stats and emits status Qt signals.
void SetStreamData(MPEGStreamData *data) override
Sets the MPEG stream data for DTVSignalMonitor to use, and connects the table signals to the monitor.
void HandlePAT(const ProgramAssociationTable *pat) override
IPTVSignalMonitor(const IPTVSignalMonitor &)
~IPTVSignalMonitor() override
Stops signal monitoring and table monitoring threads.
void Stop(void) override
Stop signal monitoring and table monitoring threads.
Encapsulates data about MPEG stream and emits events for each table.
The Program Association Table lists all the programs in a stream, and is always found on PID 0.
Definition: mpegtables.h:599