This class is intended to detect the presence of needed tables. More...
#include <dtvsignalmonitor.h>
This class is intended to detect the presence of needed tables.
Definition at line 15 of file dtvsignalmonitor.h.
| DTVSignalMonitor::DTVSignalMonitor | ( | int | db_cardnum, | |
| DTVChannel * | _channel, | |||
| uint64_t | wait_for_mask | |||
| ) |
Definition at line 43 of file dtvsignalmonitor.cpp.
| DTVSignalMonitor::~DTVSignalMonitor | ( | ) | [virtual] |
Definition at line 71 of file dtvsignalmonitor.cpp.
| QStringList DTVSignalMonitor::GetStatusList | ( | void | ) | const [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 from SignalMonitor.
Reimplemented in DVBSignalMonitor.
Definition at line 81 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::SetChannel | ( | int | major, | |
| int | minor | |||
| ) |
Definition at line 202 of file dtvsignalmonitor.cpp.
Referenced by ChannelScanSM::ScanTransport(), and TVRec::SetupDTVSignalMonitor().
| int DTVSignalMonitor::GetMajorChannel | ( | void | ) | const [inline] |
Definition at line 31 of file dtvsignalmonitor.h.
| int DTVSignalMonitor::GetMinorChannel | ( | void | ) | const [inline] |
Definition at line 32 of file dtvsignalmonitor.h.
| void DTVSignalMonitor::SetProgramNumber | ( | int | progNum | ) |
Definition at line 219 of file dtvsignalmonitor.cpp.
Referenced by HandleCVCT(), HandlePAT(), HandleTVCT(), and TVRec::SetupDTVSignalMonitor().
| int DTVSignalMonitor::GetProgramNumber | ( | void | ) | const [inline] |
Definition at line 35 of file dtvsignalmonitor.h.
Definition at line 234 of file dtvsignalmonitor.cpp.
Referenced by TVRec::SetupDTVSignalMonitor().
| uint DTVSignalMonitor::GetTransportID | ( | void | ) | const [inline] |
Definition at line 38 of file dtvsignalmonitor.h.
| uint DTVSignalMonitor::GetNetworkID | ( | void | ) | const [inline] |
Definition at line 39 of file dtvsignalmonitor.h.
| int DTVSignalMonitor::GetServiceID | ( | void | ) | const [inline] |
Definition at line 40 of file dtvsignalmonitor.h.
| uint DTVSignalMonitor::GetDetectedNetworkID | ( | void | ) | const [inline] |
Definition at line 42 of file dtvsignalmonitor.h.
| uint DTVSignalMonitor::GetDetectedTransportID | ( | void | ) | const [inline] |
Definition at line 43 of file dtvsignalmonitor.h.
| virtual void DTVSignalMonitor::SetRotorTarget | ( | float | ) | [inline, virtual] |
Sets rotor target pos from 0.0 to 1.0.
Reimplemented in DVBSignalMonitor.
Definition at line 46 of file dtvsignalmonitor.h.
Referenced by TVRec::SetupDTVSignalMonitor().
| virtual void DTVSignalMonitor::GetRotorStatus | ( | bool & | was_moving, | |
| bool & | is_moving | |||
| ) | [inline, virtual] |
Reimplemented in DVBSignalMonitor.
Definition at line 47 of file dtvsignalmonitor.h.
Referenced by DVBStreamHandler::RetuneMonitor().
| virtual void DTVSignalMonitor::SetRotorValue | ( | int | ) | [inline, virtual] |
Reimplemented in DVBSignalMonitor.
Definition at line 49 of file dtvsignalmonitor.h.
Referenced by DVBStreamHandler::RetuneMonitor().
| void DTVSignalMonitor::AddFlags | ( | uint64_t | _flags | ) | [virtual] |
Reimplemented from SignalMonitor.
Definition at line 147 of file dtvsignalmonitor.cpp.
Referenced by CetonSignalMonitor::CetonSignalMonitor(), ChannelScanSM::ChannelScanSM(), FirewireSignalMonitor::FirewireSignalMonitor(), HandleCVCT(), HandleEncryptionStatus(), HandleMGT(), HandleNIT(), FirewireSignalMonitor::HandlePAT(), HandlePAT(), FirewireSignalMonitor::HandlePMT(), HandlePMT(), HandleSDT(), HandleTVCT(), HDHRSignalMonitor::HDHRSignalMonitor(), SetChannel(), SetDVBService(), SetProgramNumber(), TVRec::SetupDTVSignalMonitor(), ChannelScanSM::Tune(), FirewireSignalMonitor::UpdateValues(), and DVBSignalMonitor::UpdateValues().
| void DTVSignalMonitor::RemoveFlags | ( | uint64_t | _flags | ) | [virtual] |
Reimplemented from SignalMonitor.
Definition at line 153 of file dtvsignalmonitor.cpp.
Referenced by DVBSignalMonitor::DVBSignalMonitor(), HandleSDT(), SetChannel(), SetDVBService(), SetProgramNumber(), and DVBSignalMonitor::UpdateValues().
| void DTVSignalMonitor::SetStreamData | ( | MPEGStreamData * | data | ) |
Sets the MPEG stream data for DTVSignalMonitor to use, and connects the table signals to the monitor.
Definition at line 262 of file dtvsignalmonitor.cpp.
Referenced by ChannelScanSM::ChannelScanSM(), TVRec::SetupDTVSignalMonitor(), and ~DTVSignalMonitor().
| MPEGStreamData* DTVSignalMonitor::GetStreamData | ( | void | ) | [inline] |
Returns the MPEG stream data if it exists.
Definition at line 59 of file dtvsignalmonitor.h.
Referenced by IPTVSignalMonitor::AddData(), FirewireSignalMonitor::AddData(), FirewireSignalMonitor::HandlePAT(), HandlePAT(), FirewireSignalMonitor::HandlePMT(), HandlePMT(), DVBSignalMonitor::HandleSTT(), HandleSTT(), DVBSignalMonitor::HandleTDT(), HandleTDT(), IPTVSignalMonitor::RunTableMonitor(), FirewireSignalMonitor::RunTableMonitor(), SetProgramNumber(), TVRec::SetupDTVSignalMonitor(), HDHRSignalMonitor::Stop(), DVBSignalMonitor::Stop(), CetonSignalMonitor::Stop(), ASISignalMonitor::Stop(), ChannelScanSM::TestNextProgramEncryption(), TVRec::TuningFrequency(), TVRec::TuningShutdowns(), TVRec::TuningSignalCheck(), UpdateListeningForEIT(), IPTVSignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), DVBSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), and ASISignalMonitor::UpdateValues().
| ATSCStreamData * DTVSignalMonitor::GetATSCStreamData | ( | ) |
Returns the ATSC stream data if it exists.
Definition at line 507 of file dtvsignalmonitor.cpp.
Referenced by ApplyCachedPids(), GetPidsToCache(), HandleCVCT(), HandleMGT(), HandleTVCT(), SetChannel(), and SetStreamData().
| DVBStreamData * DTVSignalMonitor::GetDVBStreamData | ( | ) |
Returns the DVB stream data if it exists.
Definition at line 512 of file dtvsignalmonitor.cpp.
Referenced by HandleNIT(), HandleSDT(), ChannelScanSM::HandleSDT(), SetDVBService(), and SetStreamData().
| ScanStreamData * DTVSignalMonitor::GetScanStreamData | ( | ) |
Returns the scan stream data if it exists.
Definition at line 517 of file dtvsignalmonitor.cpp.
Referenced by ChannelScanSM::HandlePAT(), ChannelScanSM::HandleSDT(), ChannelScanSM::HasTimedOut(), ChannelScanSM::ScanTransport(), ChannelScanSM::UpdateChannelInfo(), and ChannelScanSM::~ChannelScanSM().
| const MPEGStreamData* DTVSignalMonitor::GetStreamData | ( | void | ) | const [inline] |
Returns the MPEG stream data if it exists.
Definition at line 68 of file dtvsignalmonitor.h.
| const ATSCStreamData * DTVSignalMonitor::GetATSCStreamData | ( | ) | const |
Returns the ATSC stream data if it exists.
Definition at line 522 of file dtvsignalmonitor.cpp.
| const DVBStreamData * DTVSignalMonitor::GetDVBStreamData | ( | ) | const |
Returns the DVB stream data if it exists.
Definition at line 527 of file dtvsignalmonitor.cpp.
| const ScanStreamData * DTVSignalMonitor::GetScanStreamData | ( | ) | const |
Returns the scan stream data if it exists.
Definition at line 532 of file dtvsignalmonitor.cpp.
| bool DTVSignalMonitor::IsAllGood | ( | void | ) | const [virtual] |
Reimplemented from SignalMonitor.
Definition at line 537 of file dtvsignalmonitor.cpp.
Referenced by IPTVSignalMonitor::UpdateValues(), HDHRSignalMonitor::UpdateValues(), FirewireSignalMonitor::UpdateValues(), DVBSignalMonitor::UpdateValues(), CetonSignalMonitor::UpdateValues(), and ASISignalMonitor::UpdateValues().
| void DTVSignalMonitor::HandlePAT | ( | const ProgramAssociationTable * | pat | ) | [virtual] |
Implements MPEGStreamListener.
Reimplemented in FirewireSignalMonitor.
Definition at line 295 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::HandleCAT | ( | const ConditionalAccessTable * | ) | [inline, virtual] |
Implements MPEGStreamListener.
Definition at line 80 of file dtvsignalmonitor.h.
| void DTVSignalMonitor::HandlePMT | ( | uint | , | |
| const ProgramMapTable * | pmt | |||
| ) | [virtual] |
Implements MPEGStreamListener.
Reimplemented in DVBSignalMonitor, and FirewireSignalMonitor.
Definition at line 334 of file dtvsignalmonitor.cpp.
Implements MPEGStreamListener.
Definition at line 500 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::HandleSTT | ( | const SystemTimeTable * | ) | [virtual] |
Implements ATSCMainStreamListener.
Reimplemented in DVBSignalMonitor.
Definition at line 388 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::HandleVCT | ( | uint | , | |
| const VirtualChannelTable * | ||||
| ) | [inline, virtual] |
Implements ATSCMainStreamListener.
Definition at line 86 of file dtvsignalmonitor.h.
| void DTVSignalMonitor::HandleMGT | ( | const MasterGuideTable * | mgt | ) | [virtual] |
Implements ATSCMainStreamListener.
Definition at line 394 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::HandleTVCT | ( | uint | , | |
| const TerrestrialVirtualChannelTable * | tvct | |||
| ) | [virtual] |
Implements ATSCAuxStreamListener.
Definition at line 412 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::HandleCVCT | ( | uint | , | |
| const CableVirtualChannelTable * | cvct | |||
| ) | [virtual] |
Implements ATSCAuxStreamListener.
Definition at line 441 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::HandleRRT | ( | const RatingRegionTable * | ) | [inline, virtual] |
Implements ATSCAuxStreamListener.
Definition at line 92 of file dtvsignalmonitor.h.
| void DTVSignalMonitor::HandleDCCT | ( | const DirectedChannelChangeTable * | ) | [inline, virtual] |
Implements ATSCAuxStreamListener.
Definition at line 93 of file dtvsignalmonitor.h.
| void DTVSignalMonitor::HandleDCCSCT | ( | const DirectedChannelChangeSelectionCodeTable * | ) | [inline, virtual] |
Implements ATSCAuxStreamListener.
Definition at line 94 of file dtvsignalmonitor.h.
| void DTVSignalMonitor::HandleTDT | ( | const TimeDateTable * | ) | [virtual] |
Implements DVBMainStreamListener.
Reimplemented in DVBSignalMonitor.
Definition at line 466 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::HandleNIT | ( | const NetworkInformationTable * | nit | ) | [virtual] |
Implements DVBMainStreamListener.
Definition at line 472 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::HandleSDT | ( | uint | , | |
| const ServiceDescriptionTable * | sdt | |||
| ) | [virtual] |
Implements DVBMainStreamListener.
Definition at line 480 of file dtvsignalmonitor.cpp.
| void DTVSignalMonitor::IgnoreEncrypted | ( | bool | ignore | ) | [inline] |
Definition at line 102 of file dtvsignalmonitor.h.
Referenced by TVRec::SetupDTVSignalMonitor(), and TVRec::TuningFrequency().
| DTVChannel * DTVSignalMonitor::GetDTVChannel | ( | void | ) | [protected] |
Definition at line 76 of file dtvsignalmonitor.cpp.
Referenced by HandlePMT().
| void DTVSignalMonitor::UpdateMonitorValues | ( | void | ) | [protected] |
Definition at line 159 of file dtvsignalmonitor.cpp.
Referenced by AddFlags(), and RemoveFlags().
| void DTVSignalMonitor::UpdateListeningForEIT | ( | void | ) | [protected] |
Definition at line 178 of file dtvsignalmonitor.cpp.
MPEGStreamData* DTVSignalMonitor::stream_data [protected] |
Definition at line 110 of file dtvsignalmonitor.h.
Referenced by GetATSCStreamData(), GetDVBStreamData(), GetScanStreamData(), GetStreamData(), and SetStreamData().
vector<uint> DTVSignalMonitor::eit_pids [protected] |
Definition at line 111 of file dtvsignalmonitor.h.
Referenced by UpdateListeningForEIT().
SignalMonitorValue DTVSignalMonitor::seenPAT [protected] |
Definition at line 112 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::seenPMT [protected] |
Definition at line 113 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::seenMGT [protected] |
Definition at line 114 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::seenVCT [protected] |
Definition at line 115 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::seenNIT [protected] |
Definition at line 116 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::seenSDT [protected] |
Definition at line 117 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::seenCrypt [protected] |
Definition at line 118 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::matchingPAT [protected] |
Definition at line 119 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::matchingPMT [protected] |
Definition at line 120 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::matchingMGT [protected] |
Definition at line 121 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::matchingVCT [protected] |
Definition at line 122 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::matchingNIT [protected] |
Definition at line 123 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::matchingSDT [protected] |
Definition at line 124 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().
SignalMonitorValue DTVSignalMonitor::matchingCrypt [protected] |
Definition at line 125 of file dtvsignalmonitor.h.
Referenced by GetStatusList(), IsAllGood(), and UpdateMonitorValues().
int DTVSignalMonitor::majorChannel [protected] |
Definition at line 128 of file dtvsignalmonitor.h.
Referenced by GetMajorChannel(), HandleCVCT(), HandleTVCT(), and SetChannel().
int DTVSignalMonitor::minorChannel [protected] |
Definition at line 129 of file dtvsignalmonitor.h.
Referenced by GetMinorChannel(), HandleCVCT(), HandleTVCT(), and SetChannel().
uint DTVSignalMonitor::networkID [protected] |
Definition at line 131 of file dtvsignalmonitor.h.
Referenced by GetNetworkID(), HandleSDT(), and SetDVBService().
uint DTVSignalMonitor::transportID [protected] |
Definition at line 132 of file dtvsignalmonitor.h.
Referenced by GetTransportID(), HandleSDT(), and SetDVBService().
uint DTVSignalMonitor::detectedNetworkID [protected] |
Definition at line 134 of file dtvsignalmonitor.h.
Referenced by GetDetectedNetworkID(), and HandleSDT().
uint DTVSignalMonitor::detectedTransportID [protected] |
Definition at line 135 of file dtvsignalmonitor.h.
Referenced by GetDetectedTransportID(), and HandleSDT().
int DTVSignalMonitor::programNumber [protected] |
Definition at line 137 of file dtvsignalmonitor.h.
Referenced by GetProgramNumber(), GetServiceID(), HandlePAT(), DVBSignalMonitor::HandlePMT(), HandlePMT(), SetDVBService(), and SetProgramNumber().
QList<uint64_t> DTVSignalMonitor::seen_table_crc [protected] |
Definition at line 139 of file dtvsignalmonitor.h.
Referenced by HandleCVCT(), HandlePAT(), HandlePMT(), HandleTVCT(), SetChannel(), SetDVBService(), and SetProgramNumber().
bool DTVSignalMonitor::ignore_encrypted [protected] |
Definition at line 141 of file dtvsignalmonitor.h.
Referenced by HandlePMT(), and IgnoreEncrypted().
1.6.3