#include <eithelper.h>
Definition at line 52 of file eithelper.h.
Public Member Functions | |
| EITHelper () | |
| virtual | ~EITHelper () |
| uint | GetListSize (void) const |
| uint | ProcessEvents (void) |
| Inserts events in EIT list. | |
| uint | GetGPSOffset (void) const |
| void | SetGPSOffset (uint _gps_offset) |
| void | SetFixup (uint atsc_major, uint atsc_minor, uint eitfixup) |
| void | SetLanguagePreferences (const QStringList &langPref) |
| void | SetSourceID (uint _sourceid) |
| void | AddEIT (uint atsc_major, uint atsc_minor, const EventInformationTable *eit) |
| void | AddETT (uint atsc_major, uint atsc_minor, const ExtendedTextTable *ett) |
| void | AddEIT (const DVBEventInformationTable *eit) |
| void | AddEIT (const PremiereContentInformationTable *eit) |
| void | AddEIT (uint, uint, const EventInformationTable *) |
| void | AddETT (uint, uint, const ExtendedTextTable *) |
| void | AddEIT (const DVBEventInformationTable *) |
| void | AddEIT (const PremiereContentInformationTable *) |
| void | PruneEITCache (uint timestamp) |
| void | WriteEITCache (void) |
Private Member Functions | |
| uint | GetChanID (uint atsc_major, uint atsc_minor) |
| uint | GetChanID (uint serviceid, uint networkid, uint transportid) |
| void | CompleteEvent (uint atsc_major, uint atsc_minor, const ATSCEvent &event, const QString &ett) |
Private Attributes | |
| QMutex | eitList_lock |
| EIT List lock. | |
| ServiceToChanID | srv_to_chanid |
| EITFixUp * | eitfixup |
| int | gps_offset |
| int | utc_offset |
| uint | sourceid |
| QMap< uint64_t, uint > | fixup |
| ATSCSRCToEvents | incomplete_events |
| ATSCSRCToETTs | unmatched_etts |
| MythDeque< DBEvent * > | db_events |
| QMap< uint, uint > | languagePreferences |
Static Private Attributes | |
| static EITCache * | eitcache = new EITCache() |
| static const uint | kChunkSize = 20 |
| Maximum number of DB inserts per ProcessEvents call. | |
| EITHelper::EITHelper | ( | ) |
Definition at line 40 of file eithelper.cpp.
| EITHelper::~EITHelper | ( | ) | [virtual] |
Definition at line 60 of file eithelper.cpp.
| uint EITHelper::GetListSize | ( | void | ) | const |
| uint EITHelper::ProcessEvents | ( | void | ) |
Inserts events in EIT list.
Definition at line 80 of file eithelper.cpp.
Referenced by EITScanner::RunEventLoop().
| uint EITHelper::GetGPSOffset | ( | void | ) | const [inline] |
| void EITHelper::SetGPSOffset | ( | uint | _gps_offset | ) | [inline] |
Definition at line 121 of file eithelper.cpp.
| void EITHelper::SetLanguagePreferences | ( | const QStringList & | langPref | ) |
| void EITHelper::SetSourceID | ( | uint | _sourceid | ) |
Definition at line 145 of file eithelper.cpp.
Referenced by EITScanner::StartPassiveScan(), and EITScanner::StopPassiveScan().
| void EITHelper::AddEIT | ( | uint | atsc_major, | |
| uint | atsc_minor, | |||
| const EventInformationTable * | eit | |||
| ) |
Definition at line 151 of file eithelper.cpp.
Referenced by DVBStreamData::HandleTables(), and ATSCStreamData::HandleTables().
| void EITHelper::AddETT | ( | uint | atsc_major, | |
| uint | atsc_minor, | |||
| const ExtendedTextTable * | ett | |||
| ) |
| void EITHelper::AddEIT | ( | const DVBEventInformationTable * | eit | ) |
Definition at line 301 of file eithelper.cpp.
| void EITHelper::AddEIT | ( | const PremiereContentInformationTable * | eit | ) |
Definition at line 415 of file eithelper.cpp.
| void EITHelper::AddEIT | ( | uint | , | |
| uint | , | |||
| const EventInformationTable * | ||||
| ) | [inline] |
Definition at line 76 of file eithelper.h.
| void EITHelper::AddETT | ( | uint | , | |
| uint | , | |||
| const ExtendedTextTable * | ||||
| ) | [inline] |
Definition at line 77 of file eithelper.h.
| void EITHelper::AddEIT | ( | const DVBEventInformationTable * | ) | [inline] |
Definition at line 78 of file eithelper.h.
| void EITHelper::AddEIT | ( | const PremiereContentInformationTable * | ) | [inline] |
Definition at line 79 of file eithelper.h.
| void EITHelper::PruneEITCache | ( | uint | timestamp | ) |
| void EITHelper::WriteEITCache | ( | void | ) |
Definition at line 524 of file eithelper.cpp.
Referenced by EITScanner::RunEventLoop(), and EITScanner::StopPassiveScan().
Definition at line 598 of file eithelper.cpp.
QMutex EITHelper::eitList_lock [mutable, private] |
EIT List lock.
Definition at line 95 of file eithelper.h.
Referenced by CompleteEvent(), GetListSize(), ProcessEvents(), SetFixup(), SetLanguagePreferences(), SetSourceID(), and ~EITHelper().
ServiceToChanID EITHelper::srv_to_chanid [mutable, private] |
EITFixUp* EITHelper::eitfixup [private] |
EITCache * EITHelper::eitcache = new EITCache() [static, private] |
Definition at line 99 of file eithelper.h.
Referenced by AddEIT(), PruneEITCache(), and WriteEITCache().
int EITHelper::gps_offset [private] |
Definition at line 101 of file eithelper.h.
Referenced by CompleteEvent(), GetGPSOffset(), and SetGPSOffset().
int EITHelper::utc_offset [private] |
uint EITHelper::sourceid [private] |
QMap<uint64_t,uint> EITHelper::fixup [private] |
Definition at line 104 of file eithelper.h.
Referenced by AddEIT(), CompleteEvent(), EITHelper(), and SetFixup().
ATSCSRCToEvents EITHelper::incomplete_events [private] |
ATSCSRCToETTs EITHelper::unmatched_etts [private] |
MythDeque<DBEvent*> EITHelper::db_events [private] |
Definition at line 108 of file eithelper.h.
Referenced by AddEIT(), CompleteEvent(), GetListSize(), ProcessEvents(), and ~EITHelper().
QMap<uint,uint> EITHelper::languagePreferences [private] |
Definition at line 110 of file eithelper.h.
Referenced by AddEIT(), AddETT(), and SetLanguagePreferences().
const uint EITHelper::kChunkSize = 20 [static, private] |
Maximum number of DB inserts per ProcessEvents call.
Definition at line 113 of file eithelper.h.
Referenced by ProcessEvents().
1.5.5