Go to the documentation of this file.
10 #include <sys/select.h>
24 #define LOC QString("ASISigMon[%1](%2): ") \
25 .arg(m_inputid).arg(m_channel->GetDevice())
47 LOG(VB_CHANNEL, LOG_INFO,
LOC +
"ctor");
56 LOG(VB_CHANNEL, LOG_INFO,
LOC +
"dtor");
66 LOG(VB_CHANNEL, LOG_INFO,
LOC +
"Stop() -- begin");
72 LOG(VB_CHANNEL, LOG_INFO,
LOC +
"Stop() -- end");
104 bool isLocked =
true;
void SetValue(int _value)
ASIChannel * GetASIChannel(void)
~ASISignalMonitor() override
Stops signal monitoring and table monitoring threads.
static const uint64_t kDTVSigMon_WaitForMGT
MPEGStreamData * GetStreamData()
Returns the MPEG stream data if it exists.
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
bool HasAnyFlag(uint64_t _flags) const
virtual void RemoveListener(MPEGStreamData *data)
QRecursiveMutex m_statusLock
ASIStreamHandler * m_streamHandler
SignalMonitorValue m_signalStrength
static ASIStreamHandler * Get(const QString &devname, int inputid)
SignalMonitorValue m_signalLock
void SendMessageAllGood(void)
static const uint64_t kDTVSigMon_WaitForPMT
static const uint64_t kDTVSigMon_WaitForPAT
static const uint64_t kDTVSigMon_WaitForNIT
virtual void EmitStatus(void)
static const uint64_t kDTVSigMon_WaitForSDT
static void Return(ASIStreamHandler *&ref, int inputid)
QString GetDevice(void) const override
Returns String representing device, useful for debugging.
void UpdateValues(void) override
Fills in frontend stats and emits status Qt signals.
void AddListener(MPEGStreamData *data, bool=false, bool=false, const QString &output_file=QString()) override
void Stop(void) override
Stop signal monitoring and table monitoring threads.
bool m_streamHandlerStarted
This class is intended to detect the presence of needed tables.
virtual void Stop()
Stop signal monitoring thread.
bool IsAllGood(void) const override
static const uint64_t kDTVSigMon_WaitForVCT