|
MythTV
0.26-pre
|
#include <eitcache.h>
Public Member Functions | |
| EITCache () | |
| ~EITCache () | |
| bool | IsNewEIT (uint chanid, uint tableid, uint version, uint eventid, uint endtime) |
| uint | PruneOldEntries (uint utc_timestamp) |
| Prunes entries that describe events ending before timestamp time. | |
| void | WriteToDB (void) |
| void | ResetStatistics (void) |
| QString | GetStatistics (void) const |
Static Public Member Functions | |
| static MTV_PUBLIC void | ClearChannelLocks (void) |
| removes old channel locks, use it only at master b<ackend start | |
Private Member Functions | |
| event_map_t * | LoadChannel (uint chanid) |
| void | WriteChannelToDB (uint chanid) |
Private Attributes | |
| key_map_t | channelMap |
| QMutex | eventMapLock |
| uint | lastPruneTime |
| uint | accessCnt |
| uint | hitCnt |
| uint | tblChgCnt |
| uint | verChgCnt |
| uint | entryCnt |
| uint | pruneCnt |
| uint | prunedHitCnt |
| uint | wrongChannelHitCnt |
Static Private Attributes | |
| static const uint | kVersionMax = 31 |
Definition at line 22 of file eitcache.h.
Definition at line 20 of file eitcache.cpp.
Definition at line 28 of file eitcache.cpp.
Definition at line 310 of file eitcache.cpp.
Referenced by EITHelper::AddEIT().
| uint EITCache::PruneOldEntries | ( | uint | timestamp | ) |
Prunes entries that describe events ending before timestamp time.
Definition at line 378 of file eitcache.cpp.
Referenced by EITHelper::PruneEITCache().
Definition at line 296 of file eitcache.cpp.
Referenced by IsNewEIT(), PruneOldEntries(), EITHelper::WriteEITCache(), and ~EITCache().
Definition at line 33 of file eitcache.cpp.
| QString EITCache::GetStatistics | ( | void | ) | const |
Definition at line 45 of file eitcache.cpp.
Referenced by IsNewEIT().
| event_map_t * EITCache::LoadChannel | ( | uint | chanid | ) | [private] |
Definition at line 218 of file eitcache.cpp.
Referenced by IsNewEIT().
| void EITCache::WriteChannelToDB | ( | uint | chanid | ) | [private] |
Definition at line 264 of file eitcache.cpp.
Referenced by WriteToDB().
| void EITCache::ClearChannelLocks | ( | void | ) | [static] |
removes old channel locks, use it only at master b<ackend start
Definition at line 404 of file eitcache.cpp.
Referenced by HouseKeeper::RunStartupTasks().
key_map_t EITCache::channelMap [private] |
Definition at line 42 of file eitcache.h.
Referenced by IsNewEIT(), WriteChannelToDB(), and WriteToDB().
QMutex EITCache::eventMapLock [mutable, private] |
Definition at line 44 of file eitcache.h.
Referenced by GetStatistics(), IsNewEIT(), and WriteToDB().
uint EITCache::lastPruneTime [private] |
Definition at line 45 of file eitcache.h.
Referenced by EITCache(), IsNewEIT(), LoadChannel(), PruneOldEntries(), and WriteChannelToDB().
uint EITCache::accessCnt [private] |
Definition at line 48 of file eitcache.h.
Referenced by GetStatistics(), IsNewEIT(), and ResetStatistics().
uint EITCache::hitCnt [private] |
Definition at line 49 of file eitcache.h.
Referenced by GetStatistics(), IsNewEIT(), and ResetStatistics().
uint EITCache::tblChgCnt [private] |
Definition at line 50 of file eitcache.h.
Referenced by GetStatistics(), IsNewEIT(), and ResetStatistics().
uint EITCache::verChgCnt [private] |
Definition at line 51 of file eitcache.h.
Referenced by GetStatistics(), IsNewEIT(), and ResetStatistics().
uint EITCache::entryCnt [private] |
Definition at line 52 of file eitcache.h.
Referenced by GetStatistics(), IsNewEIT(), LoadChannel(), and ResetStatistics().
uint EITCache::pruneCnt [private] |
Definition at line 53 of file eitcache.h.
Referenced by GetStatistics(), and ResetStatistics().
uint EITCache::prunedHitCnt [private] |
Definition at line 54 of file eitcache.h.
Referenced by GetStatistics(), IsNewEIT(), and ResetStatistics().
uint EITCache::wrongChannelHitCnt [private] |
Definition at line 55 of file eitcache.h.
Referenced by GetStatistics(), IsNewEIT(), and ResetStatistics().
const uint EITCache::kVersionMax = 31 [static, private] |
Definition at line 57 of file eitcache.h.
Referenced by IsNewEIT().
1.7.6.1