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 
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
DVBSignalMonitorListener::StatusSignalToNoise
virtual void StatusSignalToNoise(const SignalMonitorValue &)=0
DVBSignalMonitorListener::StatusRotorPosition
virtual void StatusRotorPosition(const SignalMonitorValue &)=0
kStatusSignalStrength
@ kStatusSignalStrength
Definition: signalmonitorlistener.h:14
mythtvexp.h
signalmonitorvalue.h
SignalMonitorListener::~SignalMonitorListener
virtual ~SignalMonitorListener()=default
DVBSignalMonitorListener::~DVBSignalMonitorListener
~DVBSignalMonitorListener() override=default
SignalMonitorListener
Definition: signalmonitorlistener.h:22
kStatusSignalLock
@ kStatusSignalLock
Definition: signalmonitorlistener.h:13
kStatusBitErrorRate
@ kStatusBitErrorRate
Definition: signalmonitorlistener.h:16
SignalMonitorListener::AllGood
virtual void AllGood(void)=0
Signal to be sent when you have a lock on all values.
SignalMonitorValue
Definition: signalmonitorvalue.h:15
kStatusRotorPosition
@ kStatusRotorPosition
Definition: signalmonitorlistener.h:18
DVBSignalMonitorListener::StatusBitErrorRate
virtual void StatusBitErrorRate(const SignalMonitorValue &)=0
kStatusSignalToNoise
@ kStatusSignalToNoise
Definition: signalmonitorlistener.h:15
kAllGood
@ kAllGood
Definition: signalmonitorlistener.h:11
MTV_PUBLIC
#define MTV_PUBLIC
Definition: mythtvexp.h:15
SignalMonitorListener::StatusSignalStrength
virtual void StatusSignalStrength(const SignalMonitorValue &)=0
Signal to be sent with an actual signal value.
SignalMonitorMessageType
SignalMonitorMessageType
Definition: signalmonitorlistener.h:10
DVBSignalMonitorListener
Definition: signalmonitorlistener.h:58
kStatusUncorrectedBlocks
@ kStatusUncorrectedBlocks
Definition: signalmonitorlistener.h:17
SignalMonitorListener::StatusSignalLock
virtual void StatusSignalLock(const SignalMonitorValue &)=0
Signal to be sent as true when it is safe to begin or continue recording, and false if it may not be ...
SignalMonitorListener::StatusChannelTuned
virtual void StatusChannelTuned(const SignalMonitorValue &)=0
Signal to be sent with change change status.
kStatusChannelTuned
@ kStatusChannelTuned
Definition: signalmonitorlistener.h:12
DVBSignalMonitorListener::StatusUncorrectedBlocks
virtual void StatusUncorrectedBlocks(const SignalMonitorValue &)=0