MythTV  master
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DTVSignalMonitor Class Reference

This class is intended to detect the presence of needed tables. More...

#include <dtvsignalmonitor.h>

Inheritance diagram for DTVSignalMonitor:
Inheritance graph
[legend]
Collaboration diagram for DTVSignalMonitor:
Collaboration graph
[legend]

Public Member Functions

 DTVSignalMonitor (int db_cardnum, DTVChannel *_channel, bool _release_stream, uint64_t wait_for_mask)
 
virtual ~DTVSignalMonitor ()
 
QStringList GetStatusList (void) const override
 Returns QStringList containing all signals and their current values. More...
 
void SetChannel (int major, int minor)
 
int GetMajorChannel () const
 
int GetMinorChannel () const
 
void SetProgramNumber (int progNum)
 
int GetProgramNumber () const
 
void SetDVBService (uint network_id, uint transport_id, int service_id)
 
uint GetTransportID (void) const
 
uint GetNetworkID (void) const
 
int GetServiceID (void) const
 
uint GetDetectedNetworkID (void) const
 
uint GetDetectedTransportID (void) const
 
virtual void SetRotorTarget (float)
 Sets rotor target pos from 0.0 to 1.0. More...
 
virtual void GetRotorStatus (bool &was_moving, bool &is_moving)
 
virtual void SetRotorValue (int)
 
void AddFlags (uint64_t _flags) override
 
void RemoveFlags (uint64_t _flags) override
 
virtual void SetStreamData (MPEGStreamData *data)
 Sets the MPEG stream data for DTVSignalMonitor to use, and connects the table signals to the monitor. More...
 
MPEGStreamDataGetStreamData ()
 Returns the MPEG stream data if it exists. More...
 
ATSCStreamDataGetATSCStreamData ()
 Returns the ATSC stream data if it exists. More...
 
DVBStreamDataGetDVBStreamData ()
 Returns the DVB stream data if it exists. More...
 
ScanStreamDataGetScanStreamData ()
 Returns the scan stream data if it exists. More...
 
const MPEGStreamDataGetStreamData () const
 Returns the MPEG stream data if it exists. More...
 
const ATSCStreamDataGetATSCStreamData () const
 Returns the ATSC stream data if it exists. More...
 
const DVBStreamDataGetDVBStreamData () const
 Returns the DVB stream data if it exists. More...
 
const ScanStreamDataGetScanStreamData () const
 Returns the scan stream data if it exists. More...
 
bool IsAllGood (void) const override
 
void HandlePAT (const ProgramAssociationTable *) override
 
void HandleCAT (const ConditionalAccessTable *) override
 
void HandlePMT (uint, const ProgramMapTable *) override
 
void HandleEncryptionStatus (uint, bool enc_status) override
 
void HandleSTT (const SystemTimeTable *) override
 
void HandleVCT (uint, const VirtualChannelTable *) override
 
void HandleMGT (const MasterGuideTable *) override
 
void HandleTVCT (uint, const TerrestrialVirtualChannelTable *) override
 
void HandleCVCT (uint, const CableVirtualChannelTable *) override
 
void HandleRRT (const RatingRegionTable *) override
 
void HandleDCCT (const DirectedChannelChangeTable *) override
 
void HandleDCCSCT (const DirectedChannelChangeSelectionCodeTable *) override
 
void HandleTDT (const TimeDateTable *) override
 
void HandleNIT (const NetworkInformationTable *) override
 
void HandleSDT (uint, const ServiceDescriptionTable *) override
 
void IgnoreEncrypted (bool ignore)
 
- Public Member Functions inherited from SignalMonitor
virtual ~SignalMonitor ()
 Stops monitoring thread. More...
 
virtual void Start ()
 Start signal monitoring thread. More...
 
virtual void Stop ()
 Stop signal monitoring thread. More...
 
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...
 
int GetUpdateRate () const
 Returns milliseconds between signal monitoring events. More...
 
bool HasSignalLock (void) const
 Returns true iff scriptStatus.IsGood() and signalLock.IsGood() return true. More...
 
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 (int 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)
 
- Public Member Functions inherited from MPEGStreamListener
virtual void HandleSplice (const SpliceInformationTable *)
 

Protected Member Functions

DTVChannelGetDTVChannel (void)
 
void UpdateMonitorValues (void)
 
void UpdateListeningForEIT (void)
 
- Protected Member Functions inherited from SignalMonitor
 SignalMonitor (int _inputid, ChannelBase *_channel, bool _release_stream, uint64_t wait_for_mask)
 Initializes signal lock and signal values. More...
 
 SignalMonitor (int, ChannelBase *, uint64_t, bool)=delete
 
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 ()
 
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=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 (unsigned long time=ULONG_MAX)
 Wait for the MThread to exit, with a maximum timeout. More...
 
- Protected Member Functions inherited from MPEGStreamListener
virtual ~MPEGStreamListener ()=default
 
- Protected Member Functions inherited from ATSCMainStreamListener
virtual ~ATSCMainStreamListener ()=default
 
- Protected Member Functions inherited from ATSCAuxStreamListener
virtual ~ATSCAuxStreamListener ()=default
 
- Protected Member Functions inherited from DVBMainStreamListener
virtual ~DVBMainStreamListener ()=default
 

Protected Attributes

MPEGStreamDatam_stream_data {nullptr}
 
vector< uintm_eit_pids
 
SignalMonitorValue m_seenPAT
 
SignalMonitorValue m_seenPMT
 
SignalMonitorValue m_seenMGT
 
SignalMonitorValue m_seenVCT
 
SignalMonitorValue m_seenNIT
 
SignalMonitorValue m_seenSDT
 
SignalMonitorValue m_seenCrypt
 
SignalMonitorValue m_matchingPAT
 
SignalMonitorValue m_matchingPMT
 
SignalMonitorValue m_matchingMGT
 
SignalMonitorValue m_matchingVCT
 
SignalMonitorValue m_matchingNIT
 
SignalMonitorValue m_matchingSDT
 
SignalMonitorValue m_matchingCrypt
 
int m_majorChannel {-1}
 
int m_minorChannel {-1}
 
uint m_networkID {0}
 
uint m_transportID {0}
 
uint m_detectedNetworkID {0}
 
uint m_detectedTransportID {0}
 
int m_programNumber {-1}
 
QList< uint64_t > m_seen_table_crc
 
bool m_ignore_encrypted {false}
 
- Protected Attributes inherited from SignalMonitor
ChannelBasem_channel {nullptr}
 
TVRecm_pParent {nullptr}
 
int m_inputid
 
volatile uint64_t m_flags
 
bool m_release_stream
 
int m_update_rate {25}
 
uint m_minimum_update_rate {5}
 
bool m_update_done {false}
 
bool m_notify_frontend {true}
 
bool m_tablemon {false}
 
bool m_eit_scan {false}
 
QString m_error
 
SignalMonitorValue m_signalLock
 
SignalMonitorValue m_signalStrength
 
SignalMonitorValue m_scriptStatus
 
vector< SignalMonitorListener * > m_listeners
 
QMutex m_startStopLock
 
QWaitCondition m_startStopWait
 
volatile bool m_running {false}
 
volatile bool m_exit {false}
 
QMutex m_statusLock {QMutex::Recursive}
 
QMutex m_listenerLock
 
- Protected Attributes inherited from MThread
MThreadInternalm_thread {nullptr}
 
QRunnable * m_runnable {nullptr}
 
bool m_prolog_executed {true}
 
bool m_epilog_executed {true}
 

Additional Inherited Members

- Static Public Member Functions inherited from SignalMonitor
static bool IsRequired (const QString &cardtype)
 Returns true iff the card type supports signal monitoring. More...
 
static bool IsSupported (const QString &cardtype)
 
static SignalMonitorInit (const QString &cardtype, int db_cardnum, ChannelBase *channel, bool release_stream)
 
- Static Public Attributes inherited from SignalMonitor
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...
 
- Static Protected Member Functions inherited from MThread
static void setTerminationEnabled (bool enabled=true)
 
static void sleep (unsigned long time)
 
static void msleep (unsigned long time)
 
static void usleep (unsigned long time)
 
static void ThreadSetup (const QString &)
 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)
 
- Static Protected Attributes inherited from MThread
static const int kDefaultStartTimeout
 

Detailed Description

This class is intended to detect the presence of needed tables.

Definition at line 15 of file dtvsignalmonitor.h.

Constructor & Destructor Documentation

◆ DTVSignalMonitor()

DTVSignalMonitor::DTVSignalMonitor ( int  db_cardnum,
DTVChannel _channel,
bool  _release_stream,
uint64_t  wait_for_mask 
)

Definition at line 44 of file dtvsignalmonitor.cpp.

◆ ~DTVSignalMonitor()

DTVSignalMonitor::~DTVSignalMonitor ( )
virtual

Definition at line 67 of file dtvsignalmonitor.cpp.

Member Function Documentation

◆ GetStatusList()

QStringList DTVSignalMonitor::GetStatusList ( void  ) const
overridevirtual

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 from SignalMonitor.

Reimplemented in DVBSignalMonitor.

Definition at line 77 of file dtvsignalmonitor.cpp.

Referenced by DVBSignalMonitor::GetStatusList().

◆ SetChannel()

void DTVSignalMonitor::SetChannel ( int  major,
int  minor 
)

◆ GetMajorChannel()

int DTVSignalMonitor::GetMajorChannel ( ) const
inline

Definition at line 32 of file dtvsignalmonitor.h.

◆ GetMinorChannel()

int DTVSignalMonitor::GetMinorChannel ( ) const
inline

Definition at line 33 of file dtvsignalmonitor.h.

◆ SetProgramNumber()

void DTVSignalMonitor::SetProgramNumber ( int  progNum)

◆ GetProgramNumber()

int DTVSignalMonitor::GetProgramNumber ( void  ) const
inline

Definition at line 36 of file dtvsignalmonitor.h.

◆ SetDVBService()

void DTVSignalMonitor::SetDVBService ( uint  network_id,
uint  transport_id,
int  service_id 
)

◆ GetTransportID()

uint DTVSignalMonitor::GetTransportID ( void  ) const
inline

Definition at line 39 of file dtvsignalmonitor.h.

◆ GetNetworkID()

uint DTVSignalMonitor::GetNetworkID ( void  ) const
inline

Definition at line 40 of file dtvsignalmonitor.h.

◆ GetServiceID()

int DTVSignalMonitor::GetServiceID ( void  ) const
inline

Definition at line 41 of file dtvsignalmonitor.h.

◆ GetDetectedNetworkID()

uint DTVSignalMonitor::GetDetectedNetworkID ( void  ) const
inline

Definition at line 43 of file dtvsignalmonitor.h.

◆ GetDetectedTransportID()

uint DTVSignalMonitor::GetDetectedTransportID ( void  ) const
inline

Definition at line 44 of file dtvsignalmonitor.h.

◆ SetRotorTarget()

virtual void DTVSignalMonitor::SetRotorTarget ( float  )
inlinevirtual

Sets rotor target pos from 0.0 to 1.0.

Reimplemented in DVBSignalMonitor.

Definition at line 47 of file dtvsignalmonitor.h.

Referenced by TVRec::SetupDTVSignalMonitor().

◆ GetRotorStatus()

virtual void DTVSignalMonitor::GetRotorStatus ( bool was_moving,
bool is_moving 
)
inlinevirtual

Reimplemented in DVBSignalMonitor.

Definition at line 48 of file dtvsignalmonitor.h.

Referenced by DVBStreamHandler::RetuneMonitor().

◆ SetRotorValue()

virtual void DTVSignalMonitor::SetRotorValue ( int  )
inlinevirtual

Reimplemented in DVBSignalMonitor.

Definition at line 50 of file dtvsignalmonitor.h.

Referenced by DVBStreamHandler::RetuneMonitor().

◆ AddFlags()

void DTVSignalMonitor::AddFlags ( uint64_t  _flags)
overridevirtual

◆ RemoveFlags()

void DTVSignalMonitor::RemoveFlags ( uint64_t  _flags)
overridevirtual

◆ SetStreamData()

void DTVSignalMonitor::SetStreamData ( MPEGStreamData data)
virtual

Sets the MPEG stream data for DTVSignalMonitor to use, and connects the table signals to the monitor.

Reimplemented in IPTVSignalMonitor.

Definition at line 258 of file dtvsignalmonitor.cpp.

Referenced by ChannelScanSM::ChannelScanSM(), IPTVSignalMonitor::SetStreamData(), TVRec::SetupDTVSignalMonitor(), and ~DTVSignalMonitor().

◆ GetStreamData() [1/2]

MPEGStreamData* DTVSignalMonitor::GetStreamData ( void  )
inline

◆ GetATSCStreamData() [1/2]

ATSCStreamData * DTVSignalMonitor::GetATSCStreamData ( )

Returns the ATSC stream data if it exists.

Definition at line 527 of file dtvsignalmonitor.cpp.

Referenced by ApplyCachedPids(), GetPidsToCache(), HandleCVCT(), HandleMGT(), HandleTVCT(), SetChannel(), and SetStreamData().

◆ GetDVBStreamData() [1/2]

DVBStreamData * DTVSignalMonitor::GetDVBStreamData ( )

Returns the DVB stream data if it exists.

Definition at line 532 of file dtvsignalmonitor.cpp.

Referenced by HandleNIT(), HandleSDT(), ChannelScanSM::HandleSDT(), SetDVBService(), and SetStreamData().

◆ GetScanStreamData() [1/2]

ScanStreamData * DTVSignalMonitor::GetScanStreamData ( )

◆ GetStreamData() [2/2]

const MPEGStreamData* DTVSignalMonitor::GetStreamData ( void  ) const
inline

Returns the MPEG stream data if it exists.

Definition at line 69 of file dtvsignalmonitor.h.

◆ GetATSCStreamData() [2/2]

const ATSCStreamData * DTVSignalMonitor::GetATSCStreamData ( ) const

Returns the ATSC stream data if it exists.

Definition at line 542 of file dtvsignalmonitor.cpp.

◆ GetDVBStreamData() [2/2]

const DVBStreamData * DTVSignalMonitor::GetDVBStreamData ( ) const

Returns the DVB stream data if it exists.

Definition at line 547 of file dtvsignalmonitor.cpp.

◆ GetScanStreamData() [2/2]

const ScanStreamData * DTVSignalMonitor::GetScanStreamData ( ) const

Returns the scan stream data if it exists.

Definition at line 552 of file dtvsignalmonitor.cpp.

◆ IsAllGood()

bool DTVSignalMonitor::IsAllGood ( void  ) const
overridevirtual

◆ HandlePAT()

void DTVSignalMonitor::HandlePAT ( const ProgramAssociationTable pat)
overridevirtual

◆ HandleCAT()

void DTVSignalMonitor::HandleCAT ( const ConditionalAccessTable )
inlineoverridevirtual

Implements MPEGStreamListener.

Definition at line 81 of file dtvsignalmonitor.h.

◆ HandlePMT()

void DTVSignalMonitor::HandlePMT ( uint  ,
const ProgramMapTable pmt 
)
overridevirtual

◆ HandleEncryptionStatus()

void DTVSignalMonitor::HandleEncryptionStatus ( uint  ,
bool  enc_status 
)
overridevirtual

Implements MPEGStreamListener.

Definition at line 520 of file dtvsignalmonitor.cpp.

◆ HandleSTT()

void DTVSignalMonitor::HandleSTT ( const SystemTimeTable )
overridevirtual

Implements ATSCMainStreamListener.

Reimplemented in DVBSignalMonitor.

Definition at line 398 of file dtvsignalmonitor.cpp.

Referenced by DVBSignalMonitor::HandleSTT().

◆ HandleVCT()

void DTVSignalMonitor::HandleVCT ( uint  ,
const VirtualChannelTable  
)
inlineoverridevirtual

Implements ATSCMainStreamListener.

Definition at line 87 of file dtvsignalmonitor.h.

◆ HandleMGT()

void DTVSignalMonitor::HandleMGT ( const MasterGuideTable mgt)
overridevirtual

Implements ATSCMainStreamListener.

Definition at line 404 of file dtvsignalmonitor.cpp.

◆ HandleTVCT()

void DTVSignalMonitor::HandleTVCT ( uint  ,
const TerrestrialVirtualChannelTable tvct 
)
overridevirtual

Implements ATSCAuxStreamListener.

Definition at line 422 of file dtvsignalmonitor.cpp.

◆ HandleCVCT()

void DTVSignalMonitor::HandleCVCT ( uint  ,
const CableVirtualChannelTable cvct 
)
overridevirtual

Implements ATSCAuxStreamListener.

Definition at line 451 of file dtvsignalmonitor.cpp.

◆ HandleRRT()

void DTVSignalMonitor::HandleRRT ( const RatingRegionTable )
inlineoverridevirtual

Implements ATSCAuxStreamListener.

Definition at line 93 of file dtvsignalmonitor.h.

◆ HandleDCCT()

void DTVSignalMonitor::HandleDCCT ( const DirectedChannelChangeTable )
inlineoverridevirtual

Implements ATSCAuxStreamListener.

Definition at line 94 of file dtvsignalmonitor.h.

◆ HandleDCCSCT()

void DTVSignalMonitor::HandleDCCSCT ( const DirectedChannelChangeSelectionCodeTable )
inlineoverridevirtual

Implements ATSCAuxStreamListener.

Definition at line 95 of file dtvsignalmonitor.h.

◆ HandleTDT()

void DTVSignalMonitor::HandleTDT ( const TimeDateTable )
overridevirtual

Implements DVBMainStreamListener.

Reimplemented in DVBSignalMonitor.

Definition at line 476 of file dtvsignalmonitor.cpp.

Referenced by DVBSignalMonitor::HandleTDT().

◆ HandleNIT()

void DTVSignalMonitor::HandleNIT ( const NetworkInformationTable nit)
overridevirtual

Implements DVBMainStreamListener.

Definition at line 482 of file dtvsignalmonitor.cpp.

◆ HandleSDT()

void DTVSignalMonitor::HandleSDT ( uint  ,
const ServiceDescriptionTable sdt 
)
overridevirtual

Implements DVBMainStreamListener.

Definition at line 490 of file dtvsignalmonitor.cpp.

◆ IgnoreEncrypted()

void DTVSignalMonitor::IgnoreEncrypted ( bool  ignore)
inline

Definition at line 103 of file dtvsignalmonitor.h.

Referenced by TVRec::SetupDTVSignalMonitor(), and TVRec::TuningFrequency().

◆ GetDTVChannel()

DTVChannel * DTVSignalMonitor::GetDTVChannel ( void  )
protected

Definition at line 72 of file dtvsignalmonitor.cpp.

Referenced by HandlePMT().

◆ UpdateMonitorValues()

void DTVSignalMonitor::UpdateMonitorValues ( void  )
protected

Definition at line 155 of file dtvsignalmonitor.cpp.

Referenced by AddFlags(), and RemoveFlags().

◆ UpdateListeningForEIT()

void DTVSignalMonitor::UpdateListeningForEIT ( void  )
protected

Definition at line 174 of file dtvsignalmonitor.cpp.

Member Data Documentation

◆ m_stream_data

MPEGStreamData* DTVSignalMonitor::m_stream_data {nullptr}
protected

◆ m_eit_pids

vector<uint> DTVSignalMonitor::m_eit_pids
protected

Definition at line 112 of file dtvsignalmonitor.h.

Referenced by UpdateListeningForEIT().

◆ m_seenPAT

SignalMonitorValue DTVSignalMonitor::m_seenPAT
protected

Definition at line 113 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), and UpdateMonitorValues().

◆ m_seenPMT

SignalMonitorValue DTVSignalMonitor::m_seenPMT
protected

Definition at line 114 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), and UpdateMonitorValues().

◆ m_seenMGT

SignalMonitorValue DTVSignalMonitor::m_seenMGT
protected

Definition at line 115 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), and UpdateMonitorValues().

◆ m_seenVCT

SignalMonitorValue DTVSignalMonitor::m_seenVCT
protected

Definition at line 116 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), and UpdateMonitorValues().

◆ m_seenNIT

SignalMonitorValue DTVSignalMonitor::m_seenNIT
protected

Definition at line 117 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), and UpdateMonitorValues().

◆ m_seenSDT

SignalMonitorValue DTVSignalMonitor::m_seenSDT
protected

Definition at line 118 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), and UpdateMonitorValues().

◆ m_seenCrypt

SignalMonitorValue DTVSignalMonitor::m_seenCrypt
protected

Definition at line 119 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), and UpdateMonitorValues().

◆ m_matchingPAT

SignalMonitorValue DTVSignalMonitor::m_matchingPAT
protected

Definition at line 120 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().

◆ m_matchingPMT

SignalMonitorValue DTVSignalMonitor::m_matchingPMT
protected

Definition at line 121 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().

◆ m_matchingMGT

SignalMonitorValue DTVSignalMonitor::m_matchingMGT
protected

Definition at line 122 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().

◆ m_matchingVCT

SignalMonitorValue DTVSignalMonitor::m_matchingVCT
protected

Definition at line 123 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().

◆ m_matchingNIT

SignalMonitorValue DTVSignalMonitor::m_matchingNIT
protected

Definition at line 124 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().

◆ m_matchingSDT

SignalMonitorValue DTVSignalMonitor::m_matchingSDT
protected

Definition at line 125 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().

◆ m_matchingCrypt

SignalMonitorValue DTVSignalMonitor::m_matchingCrypt
protected

Definition at line 126 of file dtvsignalmonitor.h.

Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().

◆ m_majorChannel

int DTVSignalMonitor::m_majorChannel {-1}
protected

Definition at line 129 of file dtvsignalmonitor.h.

Referenced by HandleCVCT(), HandleTVCT(), and SetChannel().

◆ m_minorChannel

int DTVSignalMonitor::m_minorChannel {-1}
protected

Definition at line 130 of file dtvsignalmonitor.h.

Referenced by HandleCVCT(), HandleTVCT(), and SetChannel().

◆ m_networkID

uint DTVSignalMonitor::m_networkID {0}
protected

Definition at line 132 of file dtvsignalmonitor.h.

Referenced by HandleSDT(), and SetDVBService().

◆ m_transportID

uint DTVSignalMonitor::m_transportID {0}
protected

Definition at line 133 of file dtvsignalmonitor.h.

Referenced by HandleSDT(), and SetDVBService().

◆ m_detectedNetworkID

uint DTVSignalMonitor::m_detectedNetworkID {0}
protected

Definition at line 135 of file dtvsignalmonitor.h.

Referenced by HandleSDT().

◆ m_detectedTransportID

uint DTVSignalMonitor::m_detectedTransportID {0}
protected

Definition at line 136 of file dtvsignalmonitor.h.

Referenced by HandleSDT().

◆ m_programNumber

int DTVSignalMonitor::m_programNumber {-1}
protected

◆ m_seen_table_crc

QList<uint64_t> DTVSignalMonitor::m_seen_table_crc
protected

◆ m_ignore_encrypted

bool DTVSignalMonitor::m_ignore_encrypted {false}
protected

Definition at line 142 of file dtvsignalmonitor.h.

Referenced by HandlePMT().


The documentation for this class was generated from the following files: