MythTV
master
|
Signal monitoring base class. More...
#include <libmythtv/recorders/signalmonitor.h>
Public Member Functions | |
~SignalMonitor () override | |
Stops monitoring thread. More... | |
SignalMonitor (int, ChannelBase *, uint64_t, bool)=delete | |
virtual void | Start () |
Start signal monitoring thread. More... | |
virtual void | Stop () |
Stop signal monitoring thread. More... | |
virtual void | AddFlags (uint64_t _flags) |
virtual void | RemoveFlags (uint64_t _flags) |
bool | HasFlags (uint64_t _flags) const |
bool | HasAnyFlag (uint64_t _flags) const |
uint64_t | GetFlags (void) const |
virtual bool | HasExtraSlowTuning (void) const |
bool | GetNotifyFrontend () const |
Returns whether or not a SIGNAL MythEvent is being sent regularly to the frontend. More... | |
std::chrono::milliseconds | GetUpdateRate () const |
Returns milliseconds between signal monitoring events. More... | |
virtual QStringList | GetStatusList (void) const |
Returns QStringList containing all signals and their current values. More... | |
int | GetSignalStrength (void) |
bool | HasSignalLock (void) const |
Returns true iff scriptStatus.IsGood() and signalLock.IsGood() return true. More... | |
virtual bool | IsAllGood (void) const |
bool | IsErrored (void) const |
void | SetNotifyFrontend (bool notify) |
Enables or disables frontend notification of the current signal value. More... | |
void | SetMonitoring (TVRec *parent, bool EITscan, bool monitor) |
Indicate if table monitoring is needed. More... | |
void | SetUpdateRate (std::chrono::milliseconds msec) |
Sets the number of milliseconds between signal monitoring attempts in the signal monitoring thread. More... | |
void | AddListener (SignalMonitorListener *listener) |
void | RemoveListener (SignalMonitorListener *listener) |
void | SendMessage (SignalMonitorMessageType type, const SignalMonitorValue &val) |
void | SendMessageAllGood (void) |
virtual void | EmitStatus (void) |
Static Public Member Functions | |
static bool | IsRequired (const QString &cardtype) |
Returns true iff the card type supports signal monitoring. More... | |
static bool | IsSupported (const QString &cardtype) |
static SignalMonitor * | Init (const QString &cardtype, int db_cardnum, ChannelBase *channel, bool release_stream) |
Static Public Attributes | |
static const uint64_t | kDTVSigMon_PATSeen = 0x0000000001ULL |
We've seen a PAT, which maps MPEG program numbers to pids where we find PMTs. More... | |
static const uint64_t | kDTVSigMon_PMTSeen = 0x0000000002ULL |
We've seen a PMT, which maps program to audio, video and other stream PIDs. More... | |
static const uint64_t | kDTVSigMon_MGTSeen = 0x0000000004ULL |
We've seen a MGT, which tells us on which PIDs to find VCT and other ATSC tables. More... | |
static const uint64_t | kDTVSigMon_VCTSeen = 0x0000000008ULL |
We've seen a VCT, which maps ATSC Channels to MPEG program numbers, and provides additional data. More... | |
static const uint64_t | kDTVSigMon_TVCTSeen = 0x0000000010ULL |
We've seen a TVCT, the terrestrial version of the VCT. More... | |
static const uint64_t | kDTVSigMon_CVCTSeen = 0x0000000020ULL |
We've seen a CVCT, the cable version of the VCT. More... | |
static const uint64_t | kDTVSigMon_NITSeen = 0x0000000040ULL |
We've seen a NIT, which tells us where to find SDT and other DVB tables. More... | |
static const uint64_t | kDTVSigMon_SDTSeen = 0x0000000080ULL |
We've seen a SDT, which maps DVB Channels to MPEG program numbers, and provides additional data. More... | |
static const uint64_t | kFWSigMon_PowerSeen = 0x0000000100ULL |
We've seen the FireWire STB power state. More... | |
static const uint64_t | kDTVSigMon_CryptSeen = 0x0000000200ULL |
We've seen something indicating whether the data stream is encrypted. More... | |
static const uint64_t | kDTVSigMon_PATMatch = 0x0000001000ULL |
We've seen a PAT matching our requirements. More... | |
static const uint64_t | kDTVSigMon_PMTMatch = 0x0000002000ULL |
We've seen a PMT matching our requirements. More... | |
static const uint64_t | kDTVSigMon_MGTMatch = 0x0000004000ULL |
We've seen an MGT matching our requirements. More... | |
static const uint64_t | kDTVSigMon_VCTMatch = 0x0000008000ULL |
We've seen a VCT matching our requirements. More... | |
static const uint64_t | kDTVSigMon_TVCTMatch = 0x0000010000ULL |
We've seen a TVCT matching our requirements. More... | |
static const uint64_t | kDTVSigMon_CVCTMatch = 0x0000020000ULL |
We've seen a CVCT matching our requirements. More... | |
static const uint64_t | kDTVSigMon_NITMatch = 0x0000040000ULL |
We've seen an NIT matching our requirements. More... | |
static const uint64_t | kDTVSigMon_SDTMatch = 0x0000080000ULL |
We've seen an SDT matching our requirements. More... | |
static const uint64_t | kFWSigMon_PowerMatch = 0x0000100000ULL |
We've seen a FireWire STB power state matching our requirements. More... | |
static const uint64_t | kDTVSigMon_CryptMatch = 0x0000200000ULL |
We've seen unencrypted data in data stream. More... | |
static const uint64_t | kDTVSigMon_WaitForPAT = 0x0001000000ULL |
static const uint64_t | kDTVSigMon_WaitForPMT = 0x0002000000ULL |
static const uint64_t | kDTVSigMon_WaitForMGT = 0x0004000000ULL |
static const uint64_t | kDTVSigMon_WaitForVCT = 0x0008000000ULL |
static const uint64_t | kDTVSigMon_WaitForNIT = 0x0010000000ULL |
static const uint64_t | kDTVSigMon_WaitForSDT = 0x0020000000ULL |
static const uint64_t | kSigMon_WaitForSig = 0x0040000000ULL |
static const uint64_t | kFWSigMon_WaitForPower = 0x0080000000ULL |
static const uint64_t | kDTVSigMon_WaitForCrypt =0x0100000000ULL |
static const uint64_t | kDTVSigMon_WaitForAll = 0x01FF000000ULL |
static const uint64_t | kDVBSigMon_WaitForSNR = 0x1000000000ULL |
Wait for the Signal to Noise Ratio to rise above a threshold. More... | |
static const uint64_t | kDVBSigMon_WaitForBER = 0x2000000000ULL |
Wait for the Bit Error Rate to fall below a threshold. More... | |
static const uint64_t | kDVBSigMon_WaitForUB = 0x4000000000ULL |
Wait for uncorrected FEC blocks to fall below a threshold. More... | |
static const uint64_t | kDVBSigMon_WaitForPos = 0x8000000000ULL |
Wait for rotor to complete turning the antenna. More... | |
Protected Member Functions | |
SignalMonitor (int _inputid, ChannelBase *_channel, bool _release_stream, uint64_t wait_for_mask) | |
Initializes signal lock and signal values. More... | |
void | run (void) override |
Basic signal monitoring loop. More... | |
virtual void | UpdateValues (void) |
This should be overridden to actually do signal monitoring. More... | |
Protected Member Functions inherited from MThread | |
int | exec (void) |
Enters the qt event loop. call exit or quit to exit thread. More... | |
MThread (const QString &objectName) | |
Standard constructor. More... | |
MThread (const QString &objectName, QRunnable *runnable) | |
Use this constructor if you want the default run() method to run the QRunnable's run() method instead of entering the Qt event loop. More... | |
virtual | ~MThread () |
MThread (const MThread &)=delete | |
MThread & | operator= (const MThread &)=delete |
void | RunProlog (void) |
Sets up a thread, call this if you reimplement run(). More... | |
void | RunEpilog (void) |
Cleans up a thread's resources, call this if you reimplement run(). More... | |
QThread * | qthread (void) |
Returns the thread, this will always return the same pointer no matter how often you restart the thread. More... | |
void | setObjectName (const QString &name) |
QString | objectName (void) const |
void | setPriority (QThread::Priority priority) |
QThread::Priority | priority (void) const |
bool | isFinished (void) const |
bool | isRunning (void) const |
void | setStackSize (uint stackSize) |
uint | stackSize (void) const |
void | exit (int retcode=0) |
Use this to exit from the thread if you are using a Qt event loop. More... | |
void | start (QThread::Priority p=QThread::InheritPriority) |
Tell MThread to start running the thread in the near future. More... | |
void | terminate (void) |
Kill a thread unsafely. More... | |
void | quit (void) |
calls exit(0) More... | |
bool | wait (std::chrono::milliseconds time=std::chrono::milliseconds::max()) |
Wait for the MThread to exit, with a maximum timeout. More... | |
Protected Attributes | |
ChannelBase * | m_channel {nullptr} |
TVRec * | m_pParent {nullptr} |
int | m_inputid |
volatile uint64_t | m_flags |
bool | m_releaseStream |
std::chrono::milliseconds | m_updateRate {25ms} |
std::chrono::milliseconds | m_minimumUpdateRate {5ms} |
bool | m_updateDone {false} |
bool | m_notifyFrontend {true} |
bool | m_tablemon {false} |
bool | m_eitScan {false} |
QString | m_error |
SignalMonitorValue | m_signalLock |
SignalMonitorValue | m_signalStrength |
SignalMonitorValue | m_scriptStatus |
std::vector< SignalMonitorListener * > | m_listeners |
QMutex | m_startStopLock |
QWaitCondition | m_startStopWait |
volatile bool | m_running {false} |
volatile bool | m_exit {false} |
QRecursiveMutex | m_statusLock |
QMutex | m_listenerLock |
Protected Attributes inherited from MThread | |
MThreadInternal * | m_thread {nullptr} |
QRunnable * | m_runnable {nullptr} |
bool | m_prologExecuted {true} |
bool | m_epilogExecuted {true} |
Private Member Functions | |
Q_DECLARE_TR_FUNCTIONS (SignalMonitor) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from MThread | |
static void | setTerminationEnabled (bool enabled=true) |
static void | usleep (std::chrono::microseconds time) |
template<typename R , typename P > | |
static std::enable_if_t< std::chrono::treat_as_floating_point< R >::value, void > | usleep (std::chrono::duration< R, P > time) |
static void | ThreadSetup (const QString &name) |
This is to be called on startup in those few threads that haven't been ported to MThread. More... | |
static void | ThreadCleanup (void) |
This is to be called on exit in those few threads that haven't been ported to MThread. More... | |
static void | Cleanup (void) |
This will print out all the running threads, call exit(1) on each and then wait up to 5 seconds total for all the threads to exit. More... | |
static void | GetAllThreadNames (QStringList &list) |
static void | GetAllRunningThreadNames (QStringList &list) |
Signal monitoring base class.
Signal monitors should extend this to add signal monitoring to their recorder. All signal monitors must implement one signals, the StatusSignalLock(int) signal. The lock signal should only be set to true when it is absolutely safe to begin or to continue recording. The optional StatusSignalStrength signal should report the actual signal value.
Additional signals may be implemented, see DTVSignalMonitor and DVBSignalMonitor for example.
Definition at line 30 of file signalmonitor.h.
|
override |
Stops monitoring thread.
Definition at line 257 of file signalmonitor.cpp.
|
delete |
|
protected |
Initializes signal lock and signal values.
Start() must be called to actually begin continuous signal monitoring.
_inputid | Recorder number to monitor, if this is less than 0, SIGNAL events will not be sent to the frontend even if SetNotifyFrontend(true) is called. |
_channel | ChannelBase class for our monitoring |
wait_for_mask | SignalMonitorFlags to start with. |
Definition at line 235 of file signalmonitor.cpp.
|
private |
|
inlinestatic |
Returns true iff the card type supports signal monitoring.
Definition at line 310 of file signalmonitor.h.
Referenced by RemoteEncoder::GetSignalLockTimeout(), IsSupported(), and TVRec::TuningFrequency().
|
inlinestatic |
Definition at line 315 of file signalmonitor.h.
Referenced by TVRec::SetSignalMonitoringRate(), and TVRec::SetupSignalMonitor().
|
static |
Definition at line 91 of file signalmonitor.cpp.
Referenced by TVRec::SetupSignalMonitor().
|
virtual |
Start signal monitoring thread.
Definition at line 288 of file signalmonitor.cpp.
Referenced by ChannelScanSM::ScanTransport(), and TVRec::SetupSignalMonitor().
|
virtual |
Stop signal monitoring thread.
Reimplemented in FirewireSignalMonitor, DVBSignalMonitor, ExternalSignalMonitor, CetonSignalMonitor, V4L2encSignalMonitor, ASISignalMonitor, HDHRSignalMonitor, SatIPSignalMonitor, and IPTVSignalMonitor.
Definition at line 304 of file signalmonitor.cpp.
Referenced by ChannelScanSM::HandleActiveScan(), IPTVSignalMonitor::Stop(), HDHRSignalMonitor::Stop(), SatIPSignalMonitor::Stop(), ASISignalMonitor::Stop(), V4L2encSignalMonitor::Stop(), CetonSignalMonitor::Stop(), ExternalSignalMonitor::Stop(), DVBSignalMonitor::Stop(), FirewireSignalMonitor::Stop(), ChannelScanSM::StopScanner(), and ~SignalMonitor().
|
virtual |
Reimplemented in DTVSignalMonitor.
Definition at line 263 of file signalmonitor.cpp.
Referenced by DTVSignalMonitor::AddFlags().
|
virtual |
Reimplemented in DTVSignalMonitor.
Definition at line 269 of file signalmonitor.cpp.
Referenced by DTVSignalMonitor::RemoveFlags().
bool SignalMonitor::HasFlags | ( | uint64_t | _flags | ) | const |
Definition at line 275 of file signalmonitor.cpp.
Referenced by DVBSignalMonitor::DVBSignalMonitor(), DVBSignalMonitor::EmitStatus(), EmitStatus(), DVBSignalMonitor::GetStatusList(), GetStatusList(), FirewireSignalMonitor::HandlePMT(), ChannelScanner::PreScanCommon(), DVBStreamHandler::RetuneMonitor(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
bool SignalMonitor::HasAnyFlag | ( | uint64_t | _flags | ) | const |
Definition at line 280 of file signalmonitor.cpp.
Referenced by SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
inline |
Definition at line 59 of file signalmonitor.h.
|
inlinevirtual |
Definition at line 60 of file signalmonitor.h.
Referenced by TVRec::SetupSignalMonitor().
|
inline |
Returns whether or not a SIGNAL MythEvent is being sent regularly to the frontend.
Definition at line 67 of file signalmonitor.h.
|
inline |
Returns milliseconds between signal monitoring events.
Definition at line 69 of file signalmonitor.h.
|
virtual |
Returns QStringList containing all signals and their current values.
This serializes the signal monitoring values so that they can be passed from a backend to a frontend.
SignalMonitorValue::Parse(const QStringList&) will convert this to a vector of SignalMonitorValue instances.
Reimplemented in DVBSignalMonitor, and DTVSignalMonitor.
Definition at line 328 of file signalmonitor.cpp.
Referenced by DTVSignalMonitor::GetStatusList(), and run().
|
inline |
Definition at line 71 of file signalmonitor.h.
Referenced by ChannelScanSM::UpdateChannelInfo().
|
inline |
Returns true iff scriptStatus.IsGood() and signalLock.IsGood() return true.
Definition at line 75 of file signalmonitor.h.
Referenced by ChannelScanSM::HasTimedOut(), IsAllGood(), and ChannelScanSM::UpdateChannelInfo().
|
inlinevirtual |
Reimplemented in DTVSignalMonitor.
Definition at line 81 of file signalmonitor.h.
Referenced by DTVSignalMonitor::IsAllGood(), TVRec::TuningSignalCheck(), AnalogSignalMonitor::UpdateValues(), and ScriptSignalMonitor::UpdateValues().
|
inline |
Definition at line 82 of file signalmonitor.h.
Referenced by TVRec::TuningSignalCheck().
|
inline |
Enables or disables frontend notification of the current signal value.
notify | if true SIGNAL MythEvents are sent to the frontend, otherwise they are not. |
Definition at line 92 of file signalmonitor.h.
Referenced by TVRec::SetupSignalMonitor().
Indicate if table monitoring is needed.
parent | The TVRec* that this signal monitor is attached to. |
EITscan | Unused |
monitor | if true parent->SetupDTVSignalMonitor is called after the channel is tuned. |
Definition at line 100 of file signalmonitor.h.
|
inline |
Sets the number of milliseconds between signal monitoring attempts in the signal monitoring thread.
Defaults to 25 milliseconds.
msec | Milliseconds between signal monitoring events. |
Definition at line 109 of file signalmonitor.h.
Referenced by TVRec::SetupSignalMonitor().
void SignalMonitor::AddListener | ( | SignalMonitorListener * | listener | ) |
Definition at line 385 of file signalmonitor.cpp.
Referenced by ChannelScanner::PreScanCommon(), ChannelScanSM::SetAnalog(), and TVRec::SetupSignalMonitor().
void SignalMonitor::RemoveListener | ( | SignalMonitorListener * | listener | ) |
Definition at line 396 of file signalmonitor.cpp.
Referenced by ChannelScanSM::SetAnalog(), and ChannelScanSM::~ChannelScanSM().
void SignalMonitor::SendMessage | ( | SignalMonitorMessageType | type, |
const SignalMonitorValue & | val | ||
) |
Definition at line 410 of file signalmonitor.cpp.
Referenced by HDHRSignalMonitor::EmitStatus(), DVBSignalMonitor::EmitStatus(), and EmitStatus().
void SignalMonitor::SendMessageAllGood | ( | void | ) |
Definition at line 465 of file signalmonitor.cpp.
Referenced by AnalogSignalMonitor::UpdateValues(), ScriptSignalMonitor::UpdateValues(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
virtual |
Reimplemented in DVBSignalMonitor, and HDHRSignalMonitor.
Definition at line 472 of file signalmonitor.cpp.
Referenced by HDHRSignalMonitor::EmitStatus(), DVBSignalMonitor::EmitStatus(), AnalogSignalMonitor::UpdateValues(), ScriptSignalMonitor::UpdateValues(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), and FirewireSignalMonitor::UpdateValues().
|
overrideprotectedvirtual |
Basic signal monitoring loop.
Reimplemented from MThread.
Definition at line 342 of file signalmonitor.cpp.
|
protectedvirtual |
This should be overridden to actually do signal monitoring.
Reimplemented in DVBSignalMonitor, FirewireSignalMonitor, ExternalSignalMonitor, CetonSignalMonitor, IPTVSignalMonitor, V4L2encSignalMonitor, HDHRSignalMonitor, ASISignalMonitor, SatIPSignalMonitor, ScriptSignalMonitor, and AnalogSignalMonitor.
Definition at line 456 of file signalmonitor.cpp.
Referenced by run(), AnalogSignalMonitor::UpdateValues(), ScriptSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), and FirewireSignalMonitor::UpdateValues().
|
static |
We've seen a PAT, which maps MPEG program numbers to pids where we find PMTs.
Definition at line 133 of file signalmonitor.h.
Referenced by FirewireSignalMonitor::HandlePAT(), DTVSignalMonitor::HandlePAT(), DTVSignalMonitor::SetChannel(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a PMT, which maps program to audio, video and other stream PIDs.
Definition at line 136 of file signalmonitor.h.
Referenced by FirewireSignalMonitor::HandlePMT(), DTVSignalMonitor::HandlePMT(), DTVSignalMonitor::SetChannel(), DTVSignalMonitor::SetDVBService(), DTVSignalMonitor::SetProgramNumber(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a MGT, which tells us on which PIDs to find VCT and other ATSC tables.
Definition at line 139 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleMGT(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a VCT, which maps ATSC Channels to MPEG program numbers, and provides additional data.
Definition at line 142 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleCVCT(), DTVSignalMonitor::HandleTVCT(), DTVSignalMonitor::SetChannel(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a TVCT, the terrestrial version of the VCT.
Definition at line 144 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleTVCT(), and sm_flags_to_string().
|
static |
We've seen a CVCT, the cable version of the VCT.
Definition at line 146 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleCVCT(), and sm_flags_to_string().
|
static |
We've seen a NIT, which tells us where to find SDT and other DVB tables.
Definition at line 149 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleNIT(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a SDT, which maps DVB Channels to MPEG program numbers, and provides additional data.
Definition at line 152 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleSDT(), DTVSignalMonitor::SetDVBService(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen the FireWire STB power state.
Definition at line 154 of file signalmonitor.h.
Referenced by sm_flags_to_string(), and FirewireSignalMonitor::UpdateValues().
|
static |
We've seen something indicating whether the data stream is encrypted.
Definition at line 156 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleEncryptionStatus(), DTVSignalMonitor::SetChannel(), DTVSignalMonitor::SetDVBService(), DTVSignalMonitor::SetProgramNumber(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a PAT matching our requirements.
Definition at line 159 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandlePAT(), FirewireSignalMonitor::HandlePMT(), DTVSignalMonitor::SetChannel(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a PMT matching our requirements.
Definition at line 161 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandlePMT(), DTVSignalMonitor::SetChannel(), DTVSignalMonitor::SetDVBService(), DTVSignalMonitor::SetProgramNumber(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen an MGT matching our requirements.
Definition at line 163 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleMGT(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a VCT matching our requirements.
Definition at line 165 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleCVCT(), DTVSignalMonitor::HandleTVCT(), DTVSignalMonitor::SetChannel(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a TVCT matching our requirements.
Definition at line 167 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleTVCT(), and sm_flags_to_string().
|
static |
We've seen a CVCT matching our requirements.
Definition at line 169 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleCVCT(), and sm_flags_to_string().
|
static |
We've seen an NIT matching our requirements.
Definition at line 171 of file signalmonitor.h.
Referenced by sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen an SDT matching our requirements.
Definition at line 173 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleSDT(), DTVSignalMonitor::SetDVBService(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
We've seen a FireWire STB power state matching our requirements.
Definition at line 175 of file signalmonitor.h.
Referenced by sm_flags_to_string(), and FirewireSignalMonitor::UpdateValues().
|
static |
We've seen unencrypted data in data stream.
Definition at line 177 of file signalmonitor.h.
Referenced by DTVSignalMonitor::HandleEncryptionStatus(), DTVSignalMonitor::SetChannel(), DTVSignalMonitor::SetDVBService(), DTVSignalMonitor::SetProgramNumber(), sm_flags_to_string(), and DTVSignalMonitor::UpdateMonitorValues().
|
static |
Definition at line 179 of file signalmonitor.h.
Referenced by DTVSignalMonitor::GetStatusList(), DTVSignalMonitor::IsAllGood(), DTVSignalMonitor::SetChannel(), TVRec::SetupDTVSignalMonitor(), sm_flags_to_string(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
static |
Definition at line 180 of file signalmonitor.h.
Referenced by DTVSignalMonitor::GetStatusList(), DTVSignalMonitor::IsAllGood(), DTVSignalMonitor::SetDVBService(), DTVSignalMonitor::SetProgramNumber(), TVRec::SetupDTVSignalMonitor(), sm_flags_to_string(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
static |
Definition at line 181 of file signalmonitor.h.
Referenced by ChannelScanSM::ChannelScanSM(), DTVSignalMonitor::GetStatusList(), DTVSignalMonitor::IsAllGood(), TVRec::SetupDTVSignalMonitor(), sm_flags_to_string(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
static |
Definition at line 182 of file signalmonitor.h.
Referenced by ChannelScanSM::ChannelScanSM(), DTVSignalMonitor::GetStatusList(), DTVSignalMonitor::IsAllGood(), DTVSignalMonitor::SetChannel(), sm_flags_to_string(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
static |
Definition at line 183 of file signalmonitor.h.
Referenced by ChannelScanSM::ChannelScanSM(), DTVSignalMonitor::GetStatusList(), DTVSignalMonitor::IsAllGood(), sm_flags_to_string(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
static |
Definition at line 184 of file signalmonitor.h.
Referenced by ChannelScanSM::ChannelScanSM(), DTVSignalMonitor::GetStatusList(), DTVSignalMonitor::IsAllGood(), DTVSignalMonitor::SetDVBService(), TVRec::SetupDTVSignalMonitor(), sm_flags_to_string(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
static |
Definition at line 185 of file signalmonitor.h.
Referenced by CetonSignalMonitor::CetonSignalMonitor(), DVBSignalMonitor::DVBSignalMonitor(), EmitStatus(), FirewireSignalMonitor::FirewireSignalMonitor(), GetStatusList(), HDHRSignalMonitor::HDHRSignalMonitor(), SatIPSignalMonitor::SatIPSignalMonitor(), sm_flags_to_string(), ExternalSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
static |
Definition at line 186 of file signalmonitor.h.
Referenced by sm_flags_to_string(), and FirewireSignalMonitor::UpdateValues().
|
static |
Definition at line 187 of file signalmonitor.h.
Referenced by DTVSignalMonitor::GetStatusList(), DTVSignalMonitor::HandlePMT(), DTVSignalMonitor::IsAllGood(), and sm_flags_to_string().
|
static |
Definition at line 189 of file signalmonitor.h.
|
static |
Wait for the Signal to Noise Ratio to rise above a threshold.
Definition at line 192 of file signalmonitor.h.
Referenced by DVBSignalMonitor::DVBSignalMonitor(), DVBSignalMonitor::EmitStatus(), DVBSignalMonitor::GetStatusList(), sm_flags_to_string(), and DVBSignalMonitor::UpdateValues().
|
static |
Wait for the Bit Error Rate to fall below a threshold.
Definition at line 194 of file signalmonitor.h.
Referenced by DVBSignalMonitor::DVBSignalMonitor(), DVBSignalMonitor::EmitStatus(), DVBSignalMonitor::GetStatusList(), sm_flags_to_string(), and DVBSignalMonitor::UpdateValues().
|
static |
Wait for uncorrected FEC blocks to fall below a threshold.
Definition at line 196 of file signalmonitor.h.
Referenced by DVBSignalMonitor::DVBSignalMonitor(), DVBSignalMonitor::EmitStatus(), DVBSignalMonitor::GetStatusList(), sm_flags_to_string(), and DVBSignalMonitor::UpdateValues().
|
static |
Wait for rotor to complete turning the antenna.
Definition at line 198 of file signalmonitor.h.
Referenced by ChannelScanSM::ChannelScanSM(), DVBSignalMonitor::EmitStatus(), DVBSignalMonitor::GetStatusList(), DTVSignalMonitor::HandleSDT(), ChannelScanner::PreScanCommon(), DVBStreamHandler::RetuneMonitor(), TVRec::SetupDTVSignalMonitor(), sm_flags_to_string(), ChannelScanSM::Tune(), V4L2encSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
protected |
Definition at line 201 of file signalmonitor.h.
Referenced by AnalogSignalMonitor::AnalogSignalMonitor(), CetonSignalMonitor::CetonSignalMonitor(), ExternalSignalMonitor::ExternalSignalMonitor(), ASISignalMonitor::GetASIChannel(), CetonSignalMonitor::GetCetonChannel(), DTVSignalMonitor::GetDTVChannel(), DVBSignalMonitor::GetDVBChannel(), ExternalSignalMonitor::GetExternalChannel(), HDHRSignalMonitor::GetHDHRChannel(), IPTVSignalMonitor::GetIPTVChannel(), SatIPSignalMonitor::GetSatIPChannel(), V4L2encSignalMonitor::GetV4L2encChannel(), FirewireSignalMonitor::HandlePAT(), HDHRSignalMonitor::HDHRSignalMonitor(), FirewireSignalMonitor::RunTableMonitor(), SignalMonitor(), AnalogSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), UpdateValues(), and V4L2encSignalMonitor::V4L2encSignalMonitor().
|
protected |
Definition at line 202 of file signalmonitor.h.
Referenced by SetMonitoring().
|
protected |
Definition at line 203 of file signalmonitor.h.
Referenced by ASISignalMonitor::ASISignalMonitor(), CetonSignalMonitor::CetonSignalMonitor(), DVBSignalMonitor::DVBSignalMonitor(), ExternalSignalMonitor::ExternalSignalMonitor(), run(), SatIPSignalMonitor::SatIPSignalMonitor(), V4L2encSignalMonitor::UpdateValues(), ASISignalMonitor::~ASISignalMonitor(), CetonSignalMonitor::~CetonSignalMonitor(), DVBSignalMonitor::~DVBSignalMonitor(), ExternalSignalMonitor::~ExternalSignalMonitor(), HDHRSignalMonitor::~HDHRSignalMonitor(), SatIPSignalMonitor::~SatIPSignalMonitor(), and V4L2encSignalMonitor::~V4L2encSignalMonitor().
|
protected |
Definition at line 204 of file signalmonitor.h.
Referenced by AddFlags(), DVBSignalMonitor::DVBSignalMonitor(), GetFlags(), DTVSignalMonitor::GetStatusList(), HasAnyFlag(), HasFlags(), DTVSignalMonitor::IsAllGood(), RemoveFlags(), and DTVSignalMonitor::UpdateMonitorValues().
|
protected |
Definition at line 205 of file signalmonitor.h.
|
protected |
Definition at line 206 of file signalmonitor.h.
Referenced by GetUpdateRate(), run(), and SetUpdateRate().
|
protected |
Definition at line 207 of file signalmonitor.h.
Referenced by DVBSignalMonitor::DVBSignalMonitor(), and SetUpdateRate().
Definition at line 208 of file signalmonitor.h.
Referenced by SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
Definition at line 209 of file signalmonitor.h.
Referenced by GetNotifyFrontend(), run(), and SetNotifyFrontend().
Definition at line 210 of file signalmonitor.h.
Referenced by SetMonitoring().
Definition at line 211 of file signalmonitor.h.
Referenced by SetMonitoring().
|
protected |
Definition at line 214 of file signalmonitor.h.
Referenced by ExternalSignalMonitor::GetLockTimeout(), ExternalSignalMonitor::GetSignalStrengthPercent(), DTVSignalMonitor::GetStatusList(), ExternalSignalMonitor::HasLock(), IsErrored(), SatIPSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
protected |
Definition at line 216 of file signalmonitor.h.
Referenced by DVBSignalMonitor::DVBSignalMonitor(), EmitStatus(), GetStatusList(), HasSignalLock(), IPTVSignalMonitor::IPTVSignalMonitor(), ScriptSignalMonitor::ScriptSignalMonitor(), AnalogSignalMonitor::UpdateValues(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
protected |
Definition at line 217 of file signalmonitor.h.
Referenced by CetonSignalMonitor::CetonSignalMonitor(), DVBSignalMonitor::DVBSignalMonitor(), EmitStatus(), FirewireSignalMonitor::FirewireSignalMonitor(), GetSignalStrength(), GetStatusList(), AnalogSignalMonitor::handleHDPVR(), HDHRSignalMonitor::HDHRSignalMonitor(), IPTVSignalMonitor::IPTVSignalMonitor(), SatIPSignalMonitor::SatIPSignalMonitor(), ScriptSignalMonitor::ScriptSignalMonitor(), AnalogSignalMonitor::UpdateValues(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), DVBSignalMonitor::UpdateValues(), and V4L2encSignalMonitor::V4L2encSignalMonitor().
|
protected |
Definition at line 218 of file signalmonitor.h.
Referenced by EmitStatus(), ExternalSignalMonitor::ExternalSignalMonitor(), GetStatusList(), HasSignalLock(), SignalMonitor(), AnalogSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and UpdateValues().
|
protected |
Definition at line 220 of file signalmonitor.h.
Referenced by AddListener(), RemoveListener(), SendMessage(), and SendMessageAllGood().
|
protected |
Definition at line 222 of file signalmonitor.h.
|
protected |
Definition at line 223 of file signalmonitor.h.
Definition at line 224 of file signalmonitor.h.
Referenced by run(), Start(), Stop(), AnalogSignalMonitor::UpdateValues(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
Definition at line 225 of file signalmonitor.h.
Referenced by run(), Start(), Stop(), AnalogSignalMonitor::UpdateValues(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
|
mutableprotected |
Definition at line 227 of file signalmonitor.h.
Referenced by DVBSignalMonitor::GetRotorStatus(), DTVSignalMonitor::GetStatusList(), DVBSignalMonitor::GetStatusList(), GetStatusList(), AnalogSignalMonitor::handleHDPVR(), HasSignalLock(), DTVSignalMonitor::IsAllGood(), SendMessage(), DVBSignalMonitor::SetRotorTarget(), DVBSignalMonitor::SetRotorValue(), DTVSignalMonitor::UpdateMonitorValues(), AnalogSignalMonitor::UpdateValues(), SatIPSignalMonitor::UpdateValues(), ASISignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), V4L2encSignalMonitor::UpdateValues(), IPTVSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), ExternalSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), DVBSignalMonitor::UpdateValues(), and UpdateValues().
|
mutableprotected |
Definition at line 228 of file signalmonitor.h.
Referenced by AddListener(), RemoveListener(), SendMessage(), and SendMessageAllGood().