MythTV
master
|
#include <scheduler.h>
Public Types | |
enum | SchedSortColumn { kSortTitle, kSortLastRecorded, kSortNextRecording, kSortPriority, kSortType } |
Public Member Functions | |
Scheduler (bool runthread, QMap< int, EncoderLink * > *tvList, const QString &tmptable="record", Scheduler *master_sched=nullptr) | |
~Scheduler () | |
void | Stop (void) |
void | Wait (void) |
void | SetExpirer (AutoExpire *autoExpirer) |
void | Reschedule (const QStringList &request) |
void | RescheduleMatch (uint recordid, uint sourceid, uint mplexid, const QDateTime &maxstarttime, const QString &why) |
void | RescheduleCheck (const RecordingInfo &recinfo, const QString &why) |
void | ReschedulePlace (const QString &why) |
void | AddRecording (const RecordingInfo &) |
void | AddRecording (const ProgramInfo &prog) |
void | FillRecordListFromDB (uint recordid=0) |
void | FillRecordListFromMaster (void) |
void | UpdateRecStatus (RecordingInfo *pginfo) |
void | UpdateRecStatus (uint cardid, uint chanid, const QDateTime &startts, RecStatus::Type recstatus, const QDateTime &recendts) |
bool | GetAllPending (RecList &retList, int recRuleId=0) const |
bool | GetAllPending (ProgramList &retList, int recRuleId=0) const |
void | GetAllPending (QStringList &strList) const override |
QMap< QString, ProgramInfo * > | GetRecording (void) const override |
void | getConflicting (RecordingInfo *pginfo, QStringList &strlist) |
void | getConflicting (RecordingInfo *pginfo, RecList *retlist) |
void | PrintList (bool onlyFutureRecordings=false) |
void | SetMainServer (MainServer *ms) |
void | SlaveConnected (RecordingList &slavelist) |
void | SlaveDisconnected (uint cardid) |
void | DisableScheduling (void) |
void | EnableScheduling (void) |
void | GetNextLiveTVDir (uint cardid) |
void | ResetIdleTime (void) |
RecStatus::Type | GetRecStatus (const ProgramInfo &pginfo) |
int | GetError (void) const |
void | AddChildInput (uint parentid, uint inputid) |
void | DelayShutdown () |
![]() | |
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... | |
![]() | |
MythScheduler ()=default | |
virtual | ~MythScheduler ()=default |
Static Public Member Functions | |
static void | GetAllScheduled (QStringList &strList, SchedSortColumn sortBy=kSortTitle, bool ascending=true) |
Returns all scheduled programs serialized into a QStringList. More... | |
static void | GetAllScheduled (RecList &proglist, SchedSortColumn sortBy=kSortTitle, bool ascending=true) |
Returns all scheduled programs. More... | |
static void | PrintList (RecList &list, bool onlyFutureRecordings=false) |
static void | PrintRec (const RecordingInfo *p, const QString &prefix="") |
static bool | WasStartedAutomatically () |
![]() | |
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) |
Protected Member Functions | |
void | run (void) override |
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead. More... | |
![]() | |
int | exec (void) |
Enters the qt event loop. call exit or quit to exit thread. More... | |
Private Types | |
enum | OpenEndType { openEndNever = 0, openEndDiffChannel = 1, openEndAlways = 2 } |
using | IsSameKey = pair< const RecordingInfo *, const RecordingInfo * > |
using | IsSameCacheType = QMap< IsSameKey, bool > |
Private Member Functions | |
bool | InitInputInfoMap (void) |
void | CreateTempTables (void) |
void | DeleteTempTables (void) |
void | UpdateDuplicates (void) |
bool | FillRecordList (void) |
void | UpdateMatches (uint recordid, uint sourceid, uint mplexid, const QDateTime &maxstarttime) |
void | UpdateManuals (uint recordid) |
void | BuildWorkList (void) |
bool | ClearWorkList (void) |
void | AddNewRecords (void) |
void | AddNotListed (void) |
void | BuildNewRecordsQueries (uint recordid, QStringList &from, QStringList &where, MSqlBindings &bindings) |
void | PruneOverlaps (void) |
void | BuildListMaps (void) |
void | ClearListMaps (void) |
bool | IsBusyRecording (const RecordingInfo *rcinfo) |
bool | IsSameProgram (const RecordingInfo *a, const RecordingInfo *b) const |
bool | FindNextConflict (const RecList &cardlist, const RecordingInfo *p, RecConstIter &iter, OpenEndType openEnd=openEndNever, uint *paffinity=nullptr) const |
const RecordingInfo * | FindConflict (const RecordingInfo *p, OpenEndType openEnd=openEndNever, uint *affinity=nullptr, bool checkAll=false) const |
void | MarkOtherShowings (RecordingInfo *p) |
void | MarkShowingsList (RecList &showinglist, RecordingInfo *p) |
void | BackupRecStatus (void) |
void | RestoreRecStatus (void) |
bool | TryAnotherShowing (RecordingInfo *p, bool samePriority, bool livetv=false) |
void | SchedNewRecords (void) |
void | SchedNewFirstPass (RecIter &start, const RecIter &end, int recpriority, int recpriority2) |
void | SchedNewRetryPass (const RecIter &start, const RecIter &end, bool samePriority, bool livetv=false) |
void | SchedLiveTV (void) |
void | PruneRedundants (void) |
void | UpdateNextRecord (void) |
bool | ChangeRecordingEnd (RecordingInfo *oldp, RecordingInfo *newp) |
void | ShutdownServer (int prerollseconds, QDateTime &idleSince) |
void | PutInactiveSlavesToSleep (void) |
bool | WakeUpSlave (const QString &slaveHostname, bool setWakingStatus=true) |
void | WakeUpSlaves (void) |
int | FillRecordingDir (const QString &title, const QString &hostname, const QString &storagegroup, const QDateTime &recstartts, const QDateTime &recendts, uint cardid, QString &recording_dir, const RecList &reclist) |
void | FillDirectoryInfoCache (void) |
void | OldRecordedFixups (void) |
void | ResetDuplicates (uint recordid, uint findid, const QString &title, const QString &subtitle, const QString &descrip, const QString &programid) |
bool | HandleReschedule (void) |
bool | HandleRunSchedulerStartup (int prerollseconds, int idleWaitForRecordingTime) |
void | HandleWakeSlave (RecordingInfo &ri, int prerollseconds) |
bool | HandleRecording (RecordingInfo &ri, bool &statuschanged, QDateTime &nextStartTime, QDateTime &nextWakeTime, int prerollseconds) |
void | HandleRecordingStatusChange (RecordingInfo &ri, RecStatus::Type recStatus, const QString &details) |
bool | AssignGroupInput (RecordingInfo &ri, int prerollseconds) |
void | HandleIdleShutdown (bool &blockShutdown, QDateTime &idleSince, int prerollseconds, int idleTimeoutSecs, int idleWaitForRecordingTime, bool &statuschanged) |
void | EnqueueMatch (uint recordid, uint sourceid, uint mplexid, const QDateTime &maxstarttime, const QString &why) |
void | EnqueueCheck (const RecordingInfo &recinfo, const QString &why) |
void | EnqueuePlace (const QString &why) |
bool | HaveQueuedRequests (void) |
void | ClearRequestQueue (void) |
bool | CreateConflictLists (void) |
Static Private Member Functions | |
static bool | VerifyCards (void) |
static bool | CheckShutdownServer (int prerollseconds, QDateTime &idleSince, bool &blockShutdown, uint logmask) |
Additional Inherited Members | |
![]() | |
static const int | kDefaultStartTimeout |
![]() | |
static void | setTerminationEnabled (bool enabled=true) |
static void | sleep (unsigned long time) |
static void | msleep (unsigned long time) |
static void | usleep (unsigned long time) |
![]() | |
MThreadInternal * | m_thread {nullptr} |
QRunnable * | m_runnable {nullptr} |
bool | m_prologExecuted {true} |
bool | m_epilogExecuted {true} |
Definition at line 48 of file scheduler.h.
|
private |
Definition at line 289 of file scheduler.h.
|
private |
Definition at line 290 of file scheduler.h.
Enumerator | |
---|---|
kSortTitle | |
kSortLastRecorded | |
kSortNextRecording | |
kSortPriority | |
kSortType |
Definition at line 87 of file scheduler.h.
|
private |
Enumerator | |
---|---|
openEndNever | |
openEndDiffChannel | |
openEndAlways |
Definition at line 127 of file scheduler.h.
Scheduler::Scheduler | ( | bool | runthread, |
QMap< int, EncoderLink * > * | tvList, | ||
const QString & | tmptable = "record" , |
||
Scheduler * | master_sched = nullptr |
||
) |
Definition at line 58 of file scheduler.cpp.
Scheduler::~Scheduler | ( | ) |
Definition at line 102 of file scheduler.cpp.
void Scheduler::Stop | ( | void | ) |
Definition at line 138 of file scheduler.cpp.
Referenced by MainServer::Stop().
|
inline |
Definition at line 56 of file scheduler.h.
Referenced by MainServer::Stop().
|
inline |
Definition at line 58 of file scheduler.h.
Referenced by run_backend().
void Scheduler::Reschedule | ( | const QStringList & | request | ) |
Definition at line 1857 of file scheduler.cpp.
Referenced by MainServer::customEvent(), and MainServer::HandleRescheduleRecordings().
|
inline |
Definition at line 61 of file scheduler.h.
Referenced by MainServer::HandleGetPendingRecordings().
|
inline |
Definition at line 65 of file scheduler.h.
Referenced by MainServer::DoHandleDeleteRecording(), and MainServer::DoHandleUndeleteRecording().
|
inline |
Definition at line 67 of file scheduler.h.
Referenced by MainServer::HandleAnnounce(), MainServer::HandleFreeTuner(), MainServer::HandleLockTuner(), and MainServer::HandleSlaveDisconnectedEvent().
void Scheduler::AddRecording | ( | const RecordingInfo & | pi | ) |
Definition at line 1864 of file scheduler.cpp.
Referenced by MainServer::customEvent().
|
inline |
Definition at line 71 of file scheduler.h.
void Scheduler::FillRecordListFromDB | ( | uint | recordid = 0 | ) |
recordid | Record ID of recording that has changed, or 0 if anything might have been changed. |
Definition at line 479 of file scheduler.cpp.
Referenced by handle_command(), and MainServer::HandleGetPendingRecordings().
void Scheduler::FillRecordListFromMaster | ( | void | ) |
Definition at line 568 of file scheduler.cpp.
Referenced by handle_command().
void Scheduler::UpdateRecStatus | ( | RecordingInfo * | pginfo | ) |
Definition at line 637 of file scheduler.cpp.
Referenced by MainServer::customEvent(), and MainServer::DoHandleStopRecording().
void Scheduler::UpdateRecStatus | ( | uint | cardid, |
uint | chanid, | ||
const QDateTime & | startts, | ||
RecStatus::Type | recstatus, | ||
const QDateTime & | recendts | ||
) |
Definition at line 695 of file scheduler.cpp.
Definition at line 1747 of file scheduler.cpp.
Referenced by HttpStatus::FillStatusXML(), GetAllPending(), MainServer::HandleGetPendingRecordings(), ProgramInfo::LoadFromScheduler(), Scheduler(), and MainServer::UpdateSystemdStatus().
bool Scheduler::GetAllPending | ( | ProgramList & | retList, |
int | recRuleId = 0 |
||
) | const |
Definition at line 1766 of file scheduler.cpp.
|
overridevirtual |
Implements MythScheduler.
Definition at line 1821 of file scheduler.cpp.
|
overridevirtual |
Implements MythScheduler.
Definition at line 1786 of file scheduler.cpp.
Referenced by MainServer::HandleQueryRecordings().
|
static |
Returns all scheduled programs serialized into a QStringList.
Definition at line 1839 of file scheduler.cpp.
Referenced by Dvr::GetRecordScheduleList(), and MainServer::HandleGetScheduledRecordings().
|
static |
Returns all scheduled programs.
Definition at line 4862 of file scheduler.cpp.
void Scheduler::getConflicting | ( | RecordingInfo * | pginfo, |
QStringList & | strlist | ||
) |
Definition at line 1718 of file scheduler.cpp.
Referenced by MainServer::HandleGetConflictingRecordings().
void Scheduler::getConflicting | ( | RecordingInfo * | pginfo, |
RecList * | retlist | ||
) |
Definition at line 1734 of file scheduler.cpp.
Definition at line 99 of file scheduler.h.
Referenced by handle_command(), and HandleReschedule().
Definition at line 581 of file scheduler.cpp.
|
static |
Definition at line 609 of file scheduler.cpp.
Referenced by PrintList(), SchedNewFirstPass(), SchedNewRetryPass(), and TryAnotherShowing().
void Scheduler::SetMainServer | ( | MainServer * | ms | ) |
Definition at line 145 of file scheduler.cpp.
Referenced by MainServer::MainServer(), and MainServer::Stop().
void Scheduler::SlaveConnected | ( | RecordingList & | slavelist | ) |
Definition at line 822 of file scheduler.cpp.
Referenced by MainServer::HandleAnnounce().
void Scheduler::SlaveDisconnected | ( | uint | cardid | ) |
Definition at line 901 of file scheduler.cpp.
Referenced by MainServer::HandleSlaveDisconnectedEvent().
|
inline |
Definition at line 109 of file scheduler.h.
Referenced by run_backend().
|
inline |
Definition at line 110 of file scheduler.h.
void Scheduler::GetNextLiveTVDir | ( | uint | cardid | ) |
Definition at line 5057 of file scheduler.cpp.
Referenced by MainServer::customEvent().
void Scheduler::ResetIdleTime | ( | void | ) |
Definition at line 150 of file scheduler.cpp.
Referenced by MainServer::customEvent().
|
static |
Definition at line 5656 of file scheduler.cpp.
Referenced by HandleRunSchedulerStartup().
RecStatus::Type Scheduler::GetRecStatus | ( | const ProgramInfo & | pginfo | ) |
Definition at line 1802 of file scheduler.cpp.
Referenced by MainServer::customEvent().
|
inline |
Definition at line 118 of file scheduler.h.
Referenced by run_backend().
Definition at line 5834 of file scheduler.cpp.
Referenced by MainServer::HandleAddChildInput().
void Scheduler::DelayShutdown | ( | void | ) |
Definition at line 3062 of file scheduler.cpp.
|
overrideprotectedvirtual |
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
Reimplemented from MThread.
Definition at line 2028 of file scheduler.cpp.
|
staticprivate |
Definition at line 157 of file scheduler.cpp.
Referenced by Scheduler().
|
private |
Definition at line 5791 of file scheduler.cpp.
Referenced by Scheduler().
|
private |
Definition at line 4137 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
private |
Definition at line 4185 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
private |
Definition at line 4201 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
private |
Definition at line 428 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
private |
Definition at line 3964 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
private |
Definition at line 3692 of file scheduler.cpp.
Referenced by BuildNewRecordsQueries().
|
private |
Definition at line 934 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 947 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 4309 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 4733 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 3802 of file scheduler.cpp.
Referenced by UpdateMatches().
|
private |
Definition at line 992 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 1016 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 1052 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 1906 of file scheduler.cpp.
Referenced by HandleRecording().
|
private |
Definition at line 1061 of file scheduler.cpp.
Referenced by MarkShowingsList(), and TryAnotherShowing().
|
private |
Definition at line 1077 of file scheduler.cpp.
Referenced by ChangeRecordingEnd(), FindConflict(), getConflicting(), SchedNewRetryPass(), and TryAnotherShowing().
|
private |
Definition at line 1177 of file scheduler.cpp.
Referenced by SchedNewFirstPass(), and TryAnotherShowing().
|
private |
Definition at line 1197 of file scheduler.cpp.
Referenced by SchedNewFirstPass(), SchedNewRecords(), SchedNewRetryPass(), and TryAnotherShowing().
|
private |
Definition at line 1216 of file scheduler.cpp.
Referenced by MarkOtherShowings().
|
private |
Definition at line 1243 of file scheduler.cpp.
Referenced by SchedNewRetryPass().
|
private |
Definition at line 1252 of file scheduler.cpp.
Referenced by SchedNewRetryPass().
|
private |
Definition at line 1261 of file scheduler.cpp.
Referenced by SchedNewRetryPass().
|
private |
Definition at line 1371 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 1440 of file scheduler.cpp.
Referenced by SchedNewRecords().
|
private |
Definition at line 1518 of file scheduler.cpp.
Referenced by SchedLiveTV(), and SchedNewRecords().
|
private |
Definition at line 5601 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 1570 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 1651 of file scheduler.cpp.
Referenced by HandleRecordingStatusChange(), and HandleReschedule().
|
private |
Definition at line 744 of file scheduler.cpp.
Referenced by AddNewRecords().
|
staticprivate |
Definition at line 3282 of file scheduler.cpp.
Referenced by HandleIdleShutdown().
|
private |
Definition at line 3340 of file scheduler.cpp.
Referenced by HandleIdleShutdown().
|
private |
Definition at line 3454 of file scheduler.cpp.
Referenced by run().
Definition at line 3608 of file scheduler.cpp.
Referenced by HandleWakeSlave(), and WakeUpSlaves().
|
private |
Definition at line 3659 of file scheduler.cpp.
Referenced by Scheduler().
|
private |
Definition at line 5084 of file scheduler.cpp.
Referenced by GetNextLiveTVDir(), and HandleRecording().
|
private |
Definition at line 5579 of file scheduler.cpp.
Referenced by FillRecordingDir().
|
private |
Definition at line 1983 of file scheduler.cpp.
Referenced by run().
|
private |
Definition at line 2227 of file scheduler.cpp.
Referenced by HandleReschedule().
|
private |
Definition at line 2304 of file scheduler.cpp.
Referenced by run().
|
private |
Definition at line 2479 of file scheduler.cpp.
Referenced by run().
|
private |
Definition at line 2530 of file scheduler.cpp.
Referenced by run().
|
private |
Definition at line 2636 of file scheduler.cpp.
Referenced by run().
|
private |
Definition at line 2886 of file scheduler.cpp.
Referenced by HandleRecording().
|
private |
Definition at line 2924 of file scheduler.cpp.
Referenced by HandleRecording().
|
private |
Definition at line 3067 of file scheduler.cpp.
Referenced by run().
|
inlineprivate |
Definition at line 222 of file scheduler.h.
Referenced by AddRecording(), and run().
|
inlineprivate |
Definition at line 226 of file scheduler.h.
Referenced by UpdateRecStatus().
|
inlineprivate |
Definition at line 229 of file scheduler.h.
Referenced by HandleRecording(), HandleReschedule(), and HandleWakeSlave().
|
inlineprivate |
Definition at line 232 of file scheduler.h.
Referenced by HandleReschedule(), and run().
|
inlineprivate |
Definition at line 234 of file scheduler.h.
Referenced by run().
|
private |
Definition at line 5701 of file scheduler.cpp.
Referenced by InitInputInfoMap().
|
private |
Definition at line 133 of file scheduler.h.
Referenced by AddNewRecords(), AddNotListed(), BuildNewRecordsQueries(), CreateTempTables(), DeleteTempTables(), ResetDuplicates(), Scheduler(), UpdateDuplicates(), UpdateManuals(), and UpdateMatches().
|
private |
Definition at line 134 of file scheduler.h.
Referenced by AddNewRecords(), and Scheduler().
|
private |
Definition at line 239 of file scheduler.h.
Referenced by HandleReschedule(), and Reschedule().
|
mutableprivate |
Definition at line 240 of file scheduler.h.
Referenced by AddRecording(), AssignGroupInput(), ChangeRecordingEnd(), FillRecordList(), FillRecordListFromDB(), FillRecordListFromMaster(), GetAllPending(), getConflicting(), GetNextLiveTVDir(), GetRecording(), GetRecStatus(), HandleRecording(), HandleReschedule(), HandleRunSchedulerStartup(), Reschedule(), run(), Scheduler(), ShutdownServer(), SlaveConnected(), SlaveDisconnected(), Stop(), UpdateRecStatus(), and ~Scheduler().
|
private |
Definition at line 241 of file scheduler.h.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
private |
Definition at line 242 of file scheduler.h.
Referenced by AddRecording(), Reschedule(), run(), Scheduler(), Stop(), UpdateRecStatus(), and ~Scheduler().
|
private |
Definition at line 243 of file scheduler.h.
Referenced by AddRecording(), AssignGroupInput(), BuildWorkList(), ChangeRecordingEnd(), ClearWorkList(), FillRecordListFromDB(), FillRecordListFromMaster(), GetAllPending(), getConflicting(), GetNextLiveTVDir(), GetRecording(), GetRecStatus(), HandleIdleShutdown(), HandleRecording(), HandleReschedule(), HandleRunSchedulerStartup(), HandleWakeSlave(), PutInactiveSlavesToSleep(), run(), Scheduler(), ShutdownServer(), SlaveConnected(), SlaveDisconnected(), UpdateNextRecord(), UpdateRecStatus(), and ~Scheduler().
|
private |
Definition at line 244 of file scheduler.h.
Referenced by AddNewRecords(), AddNotListed(), BackupRecStatus(), BuildListMaps(), BuildWorkList(), ClearWorkList(), FillRecordList(), PruneOverlaps(), PruneRedundants(), RestoreRecStatus(), SchedNewRecords(), and ~Scheduler().
|
private |
Definition at line 245 of file scheduler.h.
Referenced by SchedLiveTV(), and TryAnotherShowing().
|
private |
Definition at line 246 of file scheduler.h.
Referenced by AddChildInput(), AddRecording(), AssignGroupInput(), BuildListMaps(), CreateConflictLists(), FindConflict(), FindNextConflict(), InitInputInfoMap(), IsBusyRecording(), SchedLiveTV(), SchedNewRetryPass(), SlaveConnected(), and ~Scheduler().
|
private |
Definition at line 247 of file scheduler.h.
Referenced by ClearListMaps(), CreateConflictLists(), and ~Scheduler().
Definition at line 248 of file scheduler.h.
Referenced by BuildListMaps(), ClearListMaps(), MarkOtherShowings(), and TryAnotherShowing().
|
private |
Definition at line 249 of file scheduler.h.
Referenced by BuildListMaps(), ClearListMaps(), and MarkOtherShowings().
|
private |
Definition at line 251 of file scheduler.h.
Referenced by AddNewRecords(), AddNotListed(), FillRecordList(), HandleRecording(), HandleReschedule(), PruneRedundants(), SchedLiveTV(), and TryAnotherShowing().
Definition at line 252 of file scheduler.h.
Referenced by AddRecording(), AssignGroupInput(), ChangeRecordingEnd(), ClearWorkList(), HandleRecording(), run(), SlaveConnected(), SlaveDisconnected(), and UpdateRecStatus().
|
private |
Definition at line 254 of file scheduler.h.
Referenced by AddNewRecords(), ChangeRecordingEnd(), and UpdateNextRecord().
Definition at line 255 of file scheduler.h.
Referenced by HandleRecording().
|
private |
Definition at line 256 of file scheduler.h.
Referenced by AddNewRecords(), and HandleRecordingStatusChange().
|
private |
Definition at line 258 of file scheduler.h.
Referenced by AddNewRecords(), FillRecordingDir(), GetNextLiveTVDir(), HandleIdleShutdown(), HandleRecording(), HandleWakeSlave(), IsBusyRecording(), PutInactiveSlavesToSleep(), SchedLiveTV(), WakeUpSlave(), and WakeUpSlaves().
|
private |
Definition at line 259 of file scheduler.h.
Referenced by FillRecordingDir(), GetNextLiveTVDir(), and HandleRecording().
|
private |
Definition at line 261 of file scheduler.h.
Referenced by AddNewRecords().
|
private |
Definition at line 263 of file scheduler.h.
Referenced by AddNewRecords(), run(), Scheduler(), Stop(), and ~Scheduler().
|
private |
Definition at line 265 of file scheduler.h.
Referenced by FillDirectoryInfoCache(), FillRecordingDir(), HandleIdleShutdown(), run(), SetMainServer(), and ShutdownServer().
|
private |
Definition at line 267 of file scheduler.h.
Referenced by HandleIdleShutdown(), and ResetIdleTime().
Definition at line 268 of file scheduler.h.
Referenced by HandleIdleShutdown(), and ResetIdleTime().
Definition at line 270 of file scheduler.h.
Referenced by HandleIdleShutdown(), and ShutdownServer().
|
private |
Definition at line 271 of file scheduler.h.
Referenced by AddNewRecords(), AddNotListed(), BuildNewRecordsQueries(), CreateTempTables(), DeleteTempTables(), FillRecordListFromDB(), HandleReschedule(), OldRecordedFixups(), ResetDuplicates(), run(), Scheduler(), UpdateDuplicates(), UpdateManuals(), UpdateMatches(), and UpdateNextRecord().
|
private |
Definition at line 273 of file scheduler.h.
Referenced by FillDirectoryInfoCache(), and FillRecordingDir().
|
private |
Definition at line 275 of file scheduler.h.
|
private |
Definition at line 277 of file scheduler.h.
Referenced by HandleWakeSlave().
|
private |
Definition at line 280 of file scheduler.h.
Referenced by SchedLiveTV(), SchedNewFirstPass(), SchedNewRecords(), SchedNewRetryPass(), and TryAnotherShowing().
|
private |
Definition at line 282 of file scheduler.h.
Referenced by HandleRecording().
|
private |
Definition at line 284 of file scheduler.h.
Referenced by DelayShutdown(), and HandleIdleShutdown().
|
private |
Definition at line 286 of file scheduler.h.
Referenced by SchedNewFirstPass(), and SchedNewRecords().
|
mutableprivate |
Definition at line 291 of file scheduler.h.
Referenced by ClearListMaps(), and IsSameProgram().
|
private |
Definition at line 292 of file scheduler.h.
Referenced by HandleIdleShutdown().