#include <atscstreamdata.h>

Definition at line 22 of file atscstreamdata.h.
| ATSCStreamData::ATSCStreamData | ( | int | desiredMajorChannel, | |
| int | desiredMinorChannel, | |||
| bool | cacheTables = false | |||
| ) |
Initializes ATSCStreamData.
This adds the PID of the PAT and ATSC PSIP tables to "_pids_listening"
| desiredMajorChannel | If you want rewritten PAT and PMTs for a desired channel set this to a value greater than zero. | |
| desiredMinorChannel | If you want rewritten PAT and PMTs for a desired channel set this to a value greater than zero. | |
| cacheTables | If true important tables will be cached. |
Definition at line 31 of file atscstreamdata.cpp.
| ATSCStreamData::~ATSCStreamData | ( | ) |
Definition at line 45 of file atscstreamdata.cpp.
| void ATSCStreamData::Reset | ( | void | ) | [inline, virtual] |
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 30 of file atscstreamdata.h.
Referenced by ScanStreamData::Reset(), SetDesiredChannel(), TVRec::SetupDTVSignalMonitor(), and ~ATSCStreamData().
| void ATSCStreamData::Reset | ( | int | desiredProgram | ) | [virtual] |
| void ATSCStreamData::Reset | ( | int | desiredMajorChannel, | |
| int | desiredMinorChannel | |||
| ) |
Definition at line 114 of file atscstreamdata.cpp.
| void ATSCStreamData::SetDesiredChannel | ( | int | major, | |
| int | minor | |||
| ) |
Definition at line 55 of file atscstreamdata.cpp.
Referenced by DTVSignalMonitor::SetChannel(), HDHRRecorder::SetStreamData(), DVBRecorder::SetStreamData(), and TVRec::TuningFrequency().
Assembles PSIP packets and processes them.
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 197 of file atscstreamdata.cpp.
Referenced by ScanStreamData::HandleTables().
Returns true if table already seen.
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 157 of file atscstreamdata.cpp.
Referenced by HandleTables(), and ScanStreamData::IsRedundant().
| uint ATSCStreamData::GPSOffset | ( | void | ) | const [inline] |
Current UTC to GPS time offset in seconds.
Definition at line 40 of file atscstreamdata.h.
Referenced by HandleTables().
| bool ATSCStreamData::HasATSCMajorMinorMap | ( | void | ) | const [inline] |
Definition at line 157 of file atscstreamdata.h.
| bool ATSCStreamData::HasEITPIDChanges | ( | const uint_vec_t & | in_use_pid | ) | const [virtual] |
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 381 of file atscstreamdata.cpp.
| bool ATSCStreamData::GetEITPIDChanges | ( | const uint_vec_t & | in_use_pid, | |
| uint_vec_t & | pids_to_add, | |||
| uint_vec_t & | pids_to_del | |||
| ) | const [virtual] |
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 389 of file atscstreamdata.cpp.
| void ATSCStreamData::SetVersionMGT | ( | int | version | ) | [inline] |
| void ATSCStreamData::SetVersionTVCT | ( | uint | tsid, | |
| int | version | |||
| ) | [inline] |
Definition at line 52 of file atscstreamdata.h.
Referenced by HandleTables(), and DTVSignalMonitor::HandleTVCT().
| void ATSCStreamData::SetVersionCVCT | ( | uint | tsid, | |
| int | version | |||
| ) | [inline] |
Definition at line 54 of file atscstreamdata.h.
Referenced by DTVSignalMonitor::HandleCVCT(), and HandleTables().
| int ATSCStreamData::VersionMGT | ( | ) | const [inline] |
| int ATSCStreamData::VersionTVCT | ( | uint | tsid | ) | const [inline] |
| int ATSCStreamData::VersionCVCT | ( | uint | tsid | ) | const [inline] |
Definition at line 179 of file atscstreamdata.h.
Referenced by HandleTables(), IsRedundant(), and SetVersionEIT().
| const MasterGuideTable * ATSCStreamData::GetCachedMGT | ( | bool | current = true |
) | const |
Definition at line 615 of file atscstreamdata.cpp.
Referenced by GetPidsToCache(), SIScan::HandlePostInsertion(), and SetDesiredChannel().
| const tvct_ptr_t ATSCStreamData::GetCachedTVCT | ( | uint | pid, | |
| bool | current = true | |||
| ) | const |
Definition at line 628 of file atscstreamdata.cpp.
| const cvct_ptr_t ATSCStreamData::GetCachedCVCT | ( | uint | pid, | |
| bool | current = true | |||
| ) | const |
Definition at line 644 of file atscstreamdata.cpp.
| tvct_vec_t ATSCStreamData::GetAllCachedTVCTs | ( | bool | current = true |
) | const |
Definition at line 660 of file atscstreamdata.cpp.
Referenced by MPEGStreamData::CreatePMTSingleProgram(), SIScan::HandleATSCDBInsertion(), HasChannel(), and SetDesiredChannel().
| cvct_vec_t ATSCStreamData::GetAllCachedCVCTs | ( | bool | current = true |
) | const |
Definition at line 680 of file atscstreamdata.cpp.
Referenced by SIScan::HandleATSCDBInsertion(), HasChannel(), and SetDesiredChannel().
| void ATSCStreamData::ReturnCachedTVCTTables | ( | tvct_vec_t & | tvcts | ) | const |
Definition at line 764 of file atscstreamdata.cpp.
Referenced by MPEGStreamData::CreatePMTSingleProgram(), SIScan::HandleATSCDBInsertion(), HasChannel(), and SetDesiredChannel().
| void ATSCStreamData::ReturnCachedCVCTTables | ( | cvct_vec_t & | cvcts | ) | const |
Definition at line 771 of file atscstreamdata.cpp.
Referenced by MPEGStreamData::CreatePMTSingleProgram(), SIScan::HandleATSCDBInsertion(), HasChannel(), and SetDesiredChannel().
| int ATSCStreamData::DesiredMajorChannel | ( | void | ) | const [inline] |
Definition at line 95 of file atscstreamdata.h.
Referenced by HDHRRecorder::SetStreamData(), and DVBRecorder::SetStreamData().
| int ATSCStreamData::DesiredMinorChannel | ( | void | ) | const [inline] |
Definition at line 96 of file atscstreamdata.h.
Referenced by HDHRRecorder::SetStreamData(), and DVBRecorder::SetStreamData().
| void ATSCStreamData::AddATSCMainListener | ( | ATSCMainStreamListener * | val | ) |
Definition at line 778 of file atscstreamdata.cpp.
Referenced by DTVSignalMonitor::SetStreamData(), and SIScan::SIScan().
| void ATSCStreamData::AddATSCAuxListener | ( | ATSCAuxStreamListener * | val | ) |
| void ATSCStreamData::AddATSCEITListener | ( | ATSCEITStreamListener * | val | ) |
Definition at line 832 of file atscstreamdata.cpp.
| void ATSCStreamData::RemoveATSCMainListener | ( | ATSCMainStreamListener * | val | ) |
| void ATSCStreamData::RemoveATSCAuxListener | ( | ATSCAuxStreamListener * | val | ) |
| void ATSCStreamData::RemoveATSCEITListener | ( | ATSCEITStreamListener * | val | ) |
Definition at line 844 of file atscstreamdata.cpp.
| void ATSCStreamData::ProcessMGT | ( | const MasterGuideTable * | mgt | ) | [private] |
Definition at line 431 of file atscstreamdata.cpp.
Referenced by HandleTables(), and SetDesiredChannel().
| void ATSCStreamData::ProcessVCT | ( | uint | tsid, | |
| const VirtualChannelTable * | vct | |||
| ) | [private] |
| void ATSCStreamData::ProcessTVCT | ( | uint | tsid, | |
| const TerrestrialVirtualChannelTable * | vct | |||
| ) | [private] |
Definition at line 495 of file atscstreamdata.cpp.
Referenced by HandleTables(), and SetDesiredChannel().
| void ATSCStreamData::ProcessCVCT | ( | uint | tsid, | |
| const CableVirtualChannelTable * | vct | |||
| ) | [private] |
Definition at line 504 of file atscstreamdata.cpp.
Referenced by HandleTables(), and SetDesiredChannel().
| void ATSCStreamData::CacheMGT | ( | MasterGuideTable * | mgt | ) | [private] |
| void ATSCStreamData::CacheTVCT | ( | uint | pid, | |
| TerrestrialVirtualChannelTable * | tvct | |||
| ) | [private] |
| void ATSCStreamData::CacheCVCT | ( | uint | pid, | |
| CableVirtualChannelTable * | cvct | |||
| ) | [private] |
| void ATSCStreamData::DeleteCachedTable | ( | PSIPTable * | psip | ) | const [protected, virtual] |
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 724 of file atscstreamdata.cpp.
Referenced by CacheCVCT(), CacheMGT(), CacheTVCT(), ScanStreamData::DeleteCachedTable(), and Reset().
uint ATSCStreamData::_GPS_UTC_offset [private] |
bool ATSCStreamData::_atsc_eit_reset [mutable, private] |
Definition at line 121 of file atscstreamdata.h.
Referenced by GetEITPIDChanges(), HasEITPIDChanges(), and ProcessMGT().
Definition at line 122 of file atscstreamdata.h.
Referenced by GetEITPIDChanges(), HasEITPIDChanges(), ProcessMGT(), and Reset().
Definition at line 123 of file atscstreamdata.h.
Referenced by GetEITPIDChanges(), HasEITPIDChanges(), ProcessMGT(), and Reset().
QMap<uint,uint> ATSCStreamData::_sourceid_to_atsc_maj_min [private] |
Definition at line 125 of file atscstreamdata.h.
Referenced by GetATSCMajorMinor(), HasATSCMajorMinorMap(), ProcessVCT(), and Reset().
Definition at line 129 of file atscstreamdata.h.
Referenced by AddATSCMainListener(), HandleTables(), ProcessMGT(), ProcessVCT(), RemoveATSCMainListener(), and ~ATSCStreamData().
Definition at line 130 of file atscstreamdata.h.
Referenced by AddATSCAuxListener(), HandleTables(), ProcessCVCT(), ProcessTVCT(), RemoveATSCAuxListener(), and ~ATSCStreamData().
Definition at line 131 of file atscstreamdata.h.
Referenced by AddATSCEITListener(), HandleTables(), RemoveATSCEITListener(), and ~ATSCStreamData().
int ATSCStreamData::_mgt_version [private] |
Definition at line 134 of file atscstreamdata.h.
Referenced by Reset(), SetVersionMGT(), and VersionMGT().
QMap<uint, int> ATSCStreamData::_tvct_version [private] |
Definition at line 135 of file atscstreamdata.h.
Referenced by Reset(), SetVersionTVCT(), and VersionTVCT().
QMap<uint, int> ATSCStreamData::_cvct_version [private] |
Definition at line 136 of file atscstreamdata.h.
Referenced by Reset(), SetVersionCVCT(), and VersionCVCT().
QMap<uint, int> ATSCStreamData::_eit_version [private] |
Definition at line 137 of file atscstreamdata.h.
Referenced by Reset(), SetVersionEIT(), and VersionEIT().
Definition at line 138 of file atscstreamdata.h.
Referenced by EITSectionSeen(), Reset(), SetEITSectionSeen(), and SetVersionEIT().
MasterGuideTable* ATSCStreamData::_cached_mgt [mutable, private] |
Definition at line 141 of file atscstreamdata.h.
Referenced by CacheMGT(), DeleteCachedTable(), GetCachedMGT(), HasCachedAllCVCTs(), HasCachedAllTVCTs(), HasCachedMGT(), and Reset().
tvct_cache_t ATSCStreamData::_cached_tvcts [mutable, private] |
Definition at line 142 of file atscstreamdata.h.
Referenced by CacheTVCT(), DeleteCachedTable(), GetAllCachedTVCTs(), GetCachedTVCT(), HasCachedTVCT(), and Reset().
cvct_cache_t ATSCStreamData::_cached_cvcts [mutable, private] |
Definition at line 143 of file atscstreamdata.h.
Referenced by CacheCVCT(), DeleteCachedTable(), GetAllCachedCVCTs(), GetCachedCVCT(), HasCachedCVCT(), and Reset().
int ATSCStreamData::_desired_major_channel [private] |
Definition at line 146 of file atscstreamdata.h.
Referenced by DesiredMajorChannel(), Reset(), and SetDesiredChannel().
int ATSCStreamData::_desired_minor_channel [private] |
Definition at line 147 of file atscstreamdata.h.
Referenced by DesiredMinorChannel(), Reset(), and SetDesiredChannel().
1.5.5