MythTV  master
signalmonitorlistener.h
Go to the documentation of this file.
1 // -*- Mode: c++ -*-
2 // Copyright (c) 2008, Daniel Thor Kristjansson
3 
4 #ifndef SIGNALMONITORLISTENER_H
5 #define SIGNALMONITORLISTENER_H
6 
7 #include "mythtvexp.h"
8 #include "signalmonitorvalue.h"
9 
10 enum SignalMonitorMessageType : std::uint8_t {
19 };
20 
22 {
23  protected:
24  virtual ~SignalMonitorListener() = default;
25 
26  public:
32  virtual void AllGood(void) = 0;
33 
39  virtual void StatusChannelTuned(const SignalMonitorValue&) = 0;
40 
48  virtual void StatusSignalLock(const SignalMonitorValue&) = 0;
54  virtual void StatusSignalStrength(const SignalMonitorValue&) = 0;
55 };
56 
58 {
59  protected:
60  ~DVBSignalMonitorListener() override = default;
61 
62  public:
63  virtual void StatusSignalToNoise( const SignalMonitorValue&) = 0;
64  virtual void StatusBitErrorRate( const SignalMonitorValue&) = 0;
65  virtual void StatusUncorrectedBlocks(const SignalMonitorValue&) = 0;
66  virtual void StatusRotorPosition( const SignalMonitorValue&) = 0;
67 };
68 
69 
70 #endif // SIGNALMONITORLISTENER_H
kStatusChannelTuned
@ kStatusChannelTuned
Definition: signalmonitorlistener.h:12
mythtvexp.h
SignalMonitorMessageType
SignalMonitorMessageType
Definition: signalmonitorlistener.h:10
signalmonitorvalue.h
SignalMonitorListener
Definition: signalmonitorlistener.h:21
kStatusSignalStrength
@ kStatusSignalStrength
Definition: signalmonitorlistener.h:14
SignalMonitorValue
Definition: signalmonitorvalue.h:13
kStatusUncorrectedBlocks
@ kStatusUncorrectedBlocks
Definition: signalmonitorlistener.h:17
kStatusBitErrorRate
@ kStatusBitErrorRate
Definition: signalmonitorlistener.h:16
kStatusSignalToNoise
@ kStatusSignalToNoise
Definition: signalmonitorlistener.h:15
MTV_PUBLIC
#define MTV_PUBLIC
Definition: mythtvexp.h:15
kAllGood
@ kAllGood
Definition: signalmonitorlistener.h:11
DVBSignalMonitorListener
Definition: signalmonitorlistener.h:57
kStatusRotorPosition
@ kStatusRotorPosition
Definition: signalmonitorlistener.h:18
kStatusSignalLock
@ kStatusSignalLock
Definition: signalmonitorlistener.h:13