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 
8 class IPTVChannel;
10 
12 {
13  friend class IPTVTableMonitorThread;
14  public:
15  IPTVSignalMonitor(int db_cardnum, IPTVChannel *_channel,
16  bool _release_stream, uint64_t _flags = 0);
17  virtual ~IPTVSignalMonitor();
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*) override; // DTVSignalMonitor
26 
27  protected:
28  IPTVSignalMonitor(void);
30 
31  void UpdateValues(void) override; // SignalMonitor
33 
34  protected:
35  bool m_streamHandlerStarted {false};
36  bool m_locked {false};
37 };
38 
39 #endif // _IPTVSIGNALMONITOR_H_
friend class IPTVTableMonitorThread
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 *) override
The Program Association Table lists all the programs in a stream, and is always found on PID 0.
Definition: mpegtables.h:579
This class is intended to detect the presence of needed tables.
void Stop(void) override
Stop signal monitoring and table monitoring threads.
IPTVChannel * GetIPTVChannel(void)
void UpdateValues(void) override
Fills in frontend stats and emits status Qt signals.
Encapsulates data about MPEG stream and emits events for each table.
virtual ~IPTVSignalMonitor()
Stops signal monitoring and table monitoring threads.