MythTV  master
hdhrsignalmonitor.h
Go to the documentation of this file.
1 // -*- Mode: c++ -*-
2 
3 #ifndef HDHRSIGNALMONITOR_H
4 #define HDHRSIGNALMONITOR_H
5 
6 #include <QMap>
7 
8 #include "dtvsignalmonitor.h"
9 
10 class HDHRChannel;
11 class HDHRStreamHandler;
12 
14 {
15  public:
16  HDHRSignalMonitor(int db_cardnum, HDHRChannel* _channel,
17  bool _release_stream, uint64_t _flags = 0);
18  ~HDHRSignalMonitor() override;
19 
20  void Stop(void) override; // SignalMonitor
21  void EmitStatus(void) override; // SignalMonitor
22 
23  protected:
24  HDHRSignalMonitor(void);
26 
27  void UpdateValues(void) override; // SignalMonitor
29 
30  protected:
32 
33  bool m_streamHandlerStarted {false};
35 };
36 
37 #endif // HDHRSIGNALMONITOR_H
HDHRSignalMonitor::Stop
void Stop(void) override
Stop signal monitoring and table monitoring threads.
Definition: hdhrsignalmonitor.cpp:74
HDHRSignalMonitor::HDHRSignalMonitor
HDHRSignalMonitor(void)
HDHRSignalMonitor::m_signalToNoise
SignalMonitorValue m_signalToNoise
Definition: hdhrsignalmonitor.h:31
HDHRChannel
Definition: hdhrchannel.h:20
HDHRSignalMonitor::GetHDHRChannel
HDHRChannel * GetHDHRChannel(void)
Definition: hdhrsignalmonitor.cpp:85
SignalMonitorValue
Definition: signalmonitorvalue.h:13
HDHRSignalMonitor
Definition: hdhrsignalmonitor.h:13
HDHRSignalMonitor::~HDHRSignalMonitor
~HDHRSignalMonitor() override
Stops signal monitoring and table monitoring threads.
Definition: hdhrsignalmonitor.cpp:64
HDHRSignalMonitor::m_streamHandlerStarted
bool m_streamHandlerStarted
Definition: hdhrsignalmonitor.h:33
HDHRStreamHandler
Definition: hdhrstreamhandler.h:48
HDHRSignalMonitor::m_streamHandler
HDHRStreamHandler * m_streamHandler
Definition: hdhrsignalmonitor.h:34
HDHRSignalMonitor::EmitStatus
void EmitStatus(void) override
Definition: hdhrsignalmonitor.cpp:177
HDHRSignalMonitor::UpdateValues
void UpdateValues(void) override
Fills in frontend stats and emits status Qt signals.
Definition: hdhrsignalmonitor.cpp:96
DTVSignalMonitor
This class is intended to detect the presence of needed tables.
Definition: dtvsignalmonitor.h:14
dtvsignalmonitor.h