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 typedef enum {
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  virtual ~DVBSignalMonitorListener() = 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_
#define MTV_PUBLIC
Definition: mythtvexp.h:15
SignalMonitorMessageType