|
MythTV master
|
#include <mythbackend/scheduler.h>
Public Types | |
| enum | SchedSortColumn : std::uint8_t { kSortTitle , kSortLastRecorded , kSortNextRecording , kSortPriority , kSortType } |
Public Member Functions | |
| Scheduler (bool runthread, QMap< int, EncoderLink * > *_tvList, const QString &tmptable="record", Scheduler *master_sched=nullptr) | |
| ~Scheduler () override | |
| void | Stop (void) |
| void | Wait (void) |
| void | SetExpirer (AutoExpire *autoExpirer) |
| AutoExpire * | GetExpirer () |
| 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 &pi) |
| 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 |
| virtual RecordingInfo * | GetRecording (uint recordedid) const |
| void | getConflicting (RecordingInfo *pginfo, QStringList &strlist) |
| void | getConflicting (RecordingInfo *pginfo, RecList *retlist) |
| void | PrintList (bool onlyFutureRecordings=false) |
| void | SetMainServer (MainServer *ms) |
| MainServer * | GetMainServer () |
| void | SlaveConnected (const RecordingList &slavelist) |
| void | SlaveDisconnected (uint cardid) |
| void | DisableScheduling (void) |
| void | EnableScheduling (void) |
| bool | QueryScheduling (void) const |
| void | GetNextLiveTVDir (uint cardid) |
| void | ResetIdleTime (void) |
| RecStatus::Type | GetRecStatus (const ProgramInfo &pginfo) |
| int | GetError (void) const |
| void | AddChildInput (uint parentid, uint childid) |
| void | DelayShutdown () |
Public Member Functions inherited from MThread | |
| 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 () |
| MThread (const MThread &)=delete | |
| MThread & | operator= (const MThread &)=delete |
| 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 p=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 (std::chrono::milliseconds time=std::chrono::milliseconds::max()) |
| Wait for the MThread to exit, with a maximum timeout. More... | |
Public Member Functions inherited from MythScheduler | |
| MythScheduler ()=default | |
| virtual | ~MythScheduler ()=default |
| virtual void | GetAllPending (QStringList &strList) const =0 |
| virtual QMap< QString, ProgramInfo * > | GetRecording (void) const =0 |
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 (const RecList &list, bool onlyFutureRecordings=false) |
| static void | PrintRec (const RecordingInfo *p, const QString &prefix="") |
| static bool | WasStartedAutomatically () |
Static Public Member Functions inherited from MThread | |
| static void | ThreadSetup (const QString &name) |
| 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... | |
Protected Member Functions inherited from MThread | |
| virtual void | run (void) |
| 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 : std::uint8_t { openEndNever = 0 , openEndDiffChannel = 1 , openEndAlways = 2 } |
| using | IsSameKey = std::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, bool ignoreinput=false) const |
| const RecordingInfo * | FindConflict (const RecordingInfo *p, OpenEndType openEnd=openEndNever, uint *affinity=nullptr, bool checkAll=false) const |
| void | MarkOtherShowings (RecordingInfo *p) |
| void | MarkShowingsList (const 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 (std::chrono::seconds 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 (std::chrono::seconds prerollseconds, std::chrono::minutes idleWaitForRecordingTime) |
| void | HandleWakeSlave (RecordingInfo &ri, std::chrono::seconds prerollseconds) |
| bool | HandleRecording (RecordingInfo &ri, bool &statuschanged, QDateTime &nextStartTime, QDateTime &nextWakeTime, std::chrono::seconds prerollseconds) |
| void | HandleRecordingStatusChange (RecordingInfo &ri, RecStatus::Type recStatus, const QString &details) |
| bool | AssignGroupInput (RecordingInfo &ri, std::chrono::seconds prerollseconds) |
| void | HandleIdleShutdown (bool &blockShutdown, QDateTime &idleSince, std::chrono::seconds prerollseconds, std::chrono::seconds idleTimeoutSecs, std::chrono::minutes 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 (std::chrono::seconds prerollseconds, QDateTime &idleSince, bool &blockShutdown, uint logmask) |
Additional Inherited Members | |
Static Protected Member Functions inherited from MThread | |
| static void | setTerminationEnabled (bool enabled=true) |
| static void | usleep (std::chrono::microseconds time) |
| template<typename R , typename P > | |
| static std::enable_if_t< std::chrono::treat_as_floating_point< R >::value, void > | usleep (std::chrono::duration< R, P > time) |
Protected Attributes inherited from MThread | |
| MThreadInternal * | m_thread {nullptr} |
| QRunnable * | m_runnable {nullptr} |
| bool | m_prologExecuted {true} |
| bool | m_epilogExecuted {true} |
Definition at line 44 of file scheduler.h.
|
private |
Definition at line 292 of file scheduler.h.
|
private |
Definition at line 291 of file scheduler.h.
|
private |
| Enumerator | |
|---|---|
| openEndNever | |
| openEndDiffChannel | |
| openEndAlways | |
Definition at line 128 of file scheduler.h.
| enum Scheduler::SchedSortColumn : std::uint8_t |
| Enumerator | |
|---|---|
| kSortTitle | |
| kSortLastRecorded | |
| kSortNextRecording | |
| kSortPriority | |
| kSortType | |
Definition at line 85 of file scheduler.h.
| Scheduler::Scheduler | ( | bool | runthread, |
| QMap< int, EncoderLink * > * | _tvList, | ||
| const QString & | tmptable = "record", |
||
| Scheduler * | master_sched = nullptr |
||
| ) |
Definition at line 67 of file scheduler.cpp.
|
override |
Definition at line 107 of file scheduler.cpp.
Definition at line 5956 of file scheduler.cpp.
Referenced by MainServer::HandleAddChildInput().
|
private |
Definition at line 4387 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 4827 of file scheduler.cpp.
Referenced by FillRecordList().
|
inline |
Definition at line 68 of file scheduler.h.
| void Scheduler::AddRecording | ( | const RecordingInfo & | pi | ) |
Definition at line 1877 of file scheduler.cpp.
Referenced by AddRecording(), and MainServer::customEvent().
|
private |
Definition at line 2956 of file scheduler.cpp.
Referenced by HandleRecording().
|
private |
Definition at line 1251 of file scheduler.cpp.
Referenced by SchedNewRetryPass().
|
private |
Definition at line 1022 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 3883 of file scheduler.cpp.
Referenced by UpdateMatches().
|
private |
Definition at line 941 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 759 of file scheduler.cpp.
Referenced by AddNewRecords().
|
staticprivate |
Definition at line 3325 of file scheduler.cpp.
Referenced by HandleIdleShutdown().
|
private |
Definition at line 1057 of file scheduler.cpp.
Referenced by FillRecordList().
|
inlineprivate |
Definition at line 236 of file scheduler.h.
Referenced by run().
|
private |
Definition at line 953 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 5822 of file scheduler.cpp.
Referenced by InitInputInfoMap().
|
private |
Definition at line 4215 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
| void Scheduler::DelayShutdown | ( | ) |
Definition at line 3095 of file scheduler.cpp.
Referenced by V2Myth::DelayShutdown().
|
private |
Definition at line 4263 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
inline |
Definition at line 109 of file scheduler.h.
Referenced by run_backend().
|
inline |
Definition at line 110 of file scheduler.h.
|
inlineprivate |
Definition at line 228 of file scheduler.h.
Referenced by UpdateRecStatus().
|
inlineprivate |
Definition at line 224 of file scheduler.h.
Referenced by AddRecording(), and run().
|
inlineprivate |
Definition at line 231 of file scheduler.h.
Referenced by HandleRecording(), HandleReschedule(), and HandleWakeSlave().
|
private |
Definition at line 5701 of file scheduler.cpp.
Referenced by FillRecordingDir().
|
private |
Definition at line 5200 of file scheduler.cpp.
Referenced by GetNextLiveTVDir(), and HandleRecording().
|
private |
Definition at line 445 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
| 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 496 of file scheduler.cpp.
Referenced by handle_command(), and MainServer::HandleGetPendingRecordings().
| void Scheduler::FillRecordListFromMaster | ( | void | ) |
Definition at line 579 of file scheduler.cpp.
Referenced by handle_command().
|
private |
Definition at line 1187 of file scheduler.cpp.
Referenced by SchedNewFirstPass(), and TryAnotherShowing().
|
private |
Definition at line 1082 of file scheduler.cpp.
Referenced by ChangeRecordingEnd(), FindConflict(), getConflicting(), SchedNewRetryPass(), and TryAnotherShowing().
| bool Scheduler::GetAllPending | ( | ProgramList & | retList, |
| int | recRuleId = 0 |
||
| ) | const |
Definition at line 1769 of file scheduler.cpp.
|
overridevirtual |
Implements MythScheduler.
Definition at line 1834 of file scheduler.cpp.
Definition at line 1750 of file scheduler.cpp.
Referenced by HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), FillUpcomingList(), GetAllPending(), V2Guide::GetProgramGuide(), V2Guide::GetProgramList(), MainServer::HandleGetPendingRecordings(), ProgramInfo::LoadFromScheduler(), Scheduler(), and MainServer::UpdateSystemdStatus().
|
static |
Returns all scheduled programs serialized into a QStringList.
Definition at line 1852 of file scheduler.cpp.
Referenced by GetAllScheduled(), V2Dvr::GetRecordScheduleList(), and MainServer::HandleGetScheduledRecordings().
|
static |
Returns all scheduled programs.
Definition at line 4959 of file scheduler.cpp.
| void Scheduler::getConflicting | ( | RecordingInfo * | pginfo, |
| QStringList & | strlist | ||
| ) |
Definition at line 1720 of file scheduler.cpp.
Referenced by getConflicting(), and MainServer::HandleGetConflictingRecordings().
| void Scheduler::getConflicting | ( | RecordingInfo * | pginfo, |
| RecList * | retlist | ||
| ) |
Definition at line 1736 of file scheduler.cpp.
|
inline |
Definition at line 119 of file scheduler.h.
Referenced by run_backend().
|
inline |
Definition at line 55 of file scheduler.h.
|
inline |
Definition at line 104 of file scheduler.h.
Referenced by V2Status::V2Status().
| void Scheduler::GetNextLiveTVDir | ( | uint | cardid | ) |
Definition at line 5173 of file scheduler.cpp.
Referenced by MainServer::customEvent().
|
virtual |
Definition at line 1805 of file scheduler.cpp.
|
overridevirtual |
Implements MythScheduler.
Definition at line 1789 of file scheduler.cpp.
Referenced by MainServer::HandleQueryRecordings(), RecordingExtender::processActiveRecordings(), and RecordingExtender::processNewRecordings().
| RecStatus::Type Scheduler::GetRecStatus | ( | const ProgramInfo & | pginfo | ) |
Definition at line 1815 of file scheduler.cpp.
Referenced by MainServer::customEvent().
|
private |
Definition at line 3100 of file scheduler.cpp.
Referenced by run().
|
private |
Definition at line 2662 of file scheduler.cpp.
Referenced by run().
|
private |
Definition at line 2917 of file scheduler.cpp.
Referenced by HandleRecording().
|
private |
Definition at line 2337 of file scheduler.cpp.
Referenced by run().
|
private |
Definition at line 2507 of file scheduler.cpp.
Referenced by run().
|
private |
Definition at line 2559 of file scheduler.cpp.
Referenced by run().
|
inlineprivate |
Definition at line 234 of file scheduler.h.
Referenced by HandleReschedule(), and run().
|
private |
Definition at line 5912 of file scheduler.cpp.
Referenced by Scheduler().
|
private |
Definition at line 1918 of file scheduler.cpp.
Referenced by HandleRecording().
|
private |
Definition at line 1066 of file scheduler.cpp.
Referenced by MarkShowingsList(), and TryAnotherShowing().
|
private |
Definition at line 1207 of file scheduler.cpp.
Referenced by SchedNewFirstPass(), SchedNewRecords(), SchedNewRetryPass(), and TryAnotherShowing().
|
private |
Definition at line 1226 of file scheduler.cpp.
Referenced by MarkOtherShowings().
|
private |
Definition at line 1995 of file scheduler.cpp.
Referenced by run().
Definition at line 98 of file scheduler.h.
Referenced by handle_command(), HandleReschedule(), and PrintList().
Definition at line 591 of file scheduler.cpp.
|
static |
Definition at line 616 of file scheduler.cpp.
Referenced by PrintList(), SchedNewFirstPass(), SchedNewRetryPass(), and TryAnotherShowing().
|
private |
Definition at line 998 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 1572 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 3500 of file scheduler.cpp.
Referenced by run().
|
inline |
Definition at line 111 of file scheduler.h.
| void Scheduler::Reschedule | ( | const QStringList & | request | ) |
Definition at line 1870 of file scheduler.cpp.
Referenced by MainServer::customEvent(), MainServer::HandleRescheduleRecordings(), RescheduleCheck(), RescheduleMatch(), and ReschedulePlace().
|
inline |
Definition at line 62 of file scheduler.h.
Referenced by MainServer::DoHandleDeleteRecording(), and MainServer::DoHandleUndeleteRecording().
|
inline |
Definition at line 58 of file scheduler.h.
Referenced by MainServer::HandleGetPendingRecordings().
|
inline |
Definition at line 64 of file scheduler.h.
Referenced by MainServer::HandleAnnounce(), MainServer::HandleFreeTuner(), MainServer::HandleLockTuner(), and MainServer::HandleSlaveDisconnectedEvent().
|
private |
Definition at line 2260 of file scheduler.cpp.
Referenced by HandleReschedule().
| void Scheduler::ResetIdleTime | ( | void | ) |
Definition at line 155 of file scheduler.cpp.
Referenced by MainServer::customEvent().
|
private |
Definition at line 1259 of file scheduler.cpp.
Referenced by SchedNewRetryPass().
|
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 2040 of file scheduler.cpp.
|
private |
Definition at line 5722 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 1444 of file scheduler.cpp.
Referenced by SchedNewRecords().
|
private |
Definition at line 1375 of file scheduler.cpp.
Referenced by FillRecordList().
|
private |
Definition at line 1522 of file scheduler.cpp.
Referenced by SchedLiveTV(), and SchedNewRecords().
|
inline |
Definition at line 54 of file scheduler.h.
Referenced by run_backend().
| void Scheduler::SetMainServer | ( | MainServer * | ms | ) |
Definition at line 150 of file scheduler.cpp.
Referenced by MainServer::MainServer(), and MainServer::Stop().
|
private |
Definition at line 3385 of file scheduler.cpp.
Referenced by HandleIdleShutdown().
| void Scheduler::SlaveConnected | ( | const RecordingList & | slavelist | ) |
Definition at line 836 of file scheduler.cpp.
Referenced by MainServer::HandleAnnounce().
| void Scheduler::SlaveDisconnected | ( | uint | cardid | ) |
Definition at line 911 of file scheduler.cpp.
Referenced by MainServer::HandleSlaveDisconnectedEvent().
| void Scheduler::Stop | ( | void | ) |
Definition at line 143 of file scheduler.cpp.
Referenced by MainServer::Stop().
|
private |
Definition at line 1267 of file scheduler.cpp.
Referenced by SchedNewRetryPass().
|
private |
Definition at line 4279 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
private |
Definition at line 3721 of file scheduler.cpp.
Referenced by BuildNewRecordsQueries().
|
private |
Definition at line 4045 of file scheduler.cpp.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
private |
Definition at line 1653 of file scheduler.cpp.
Referenced by HandleRecordingStatusChange(), and HandleReschedule().
| void Scheduler::UpdateRecStatus | ( | RecordingInfo * | pginfo | ) |
Definition at line 654 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 711 of file scheduler.cpp.
|
staticprivate |
Definition at line 162 of file scheduler.cpp.
Referenced by Scheduler().
|
inline |
Definition at line 52 of file scheduler.h.
Referenced by MainServer::Stop().
Definition at line 3644 of file scheduler.cpp.
Referenced by HandleWakeSlave(), and WakeUpSlaves().
|
private |
Definition at line 3691 of file scheduler.cpp.
Referenced by Scheduler().
|
static |
Definition at line 5774 of file scheduler.cpp.
Referenced by HandleRunSchedulerStartup().
|
mutableprivate |
Definition at line 293 of file scheduler.h.
Referenced by ClearListMaps(), and IsSameProgram().
|
private |
Definition at line 249 of file scheduler.h.
Referenced by ClearListMaps(), CreateConflictLists(), and ~Scheduler().
|
private |
Definition at line 273 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 286 of file scheduler.h.
Referenced by DelayShutdown(), and HandleIdleShutdown().
Definition at line 265 of file scheduler.h.
Referenced by AddNewRecords(), run(), Scheduler(), Stop(), and ~Scheduler().
|
private |
Definition at line 277 of file scheduler.h.
Referenced by GetError().
|
private |
Definition at line 261 of file scheduler.h.
Referenced by FillRecordingDir(), GetExpirer(), GetNextLiveTVDir(), HandleRecording(), and SetExpirer().
|
private |
Definition at line 275 of file scheduler.h.
Referenced by FillDirectoryInfoCache(), and FillRecordingDir().
Definition at line 272 of file scheduler.h.
Referenced by HandleIdleShutdown(), and ShutdownServer().
|
private |
Definition at line 284 of file scheduler.h.
Referenced by HandleRecording().
|
private |
Definition at line 247 of file scheduler.h.
Referenced by SchedLiveTV(), and TryAnotherShowing().
|
private |
Definition at line 282 of file scheduler.h.
Referenced by SchedLiveTV(), SchedNewFirstPass(), SchedNewRecords(), SchedNewRetryPass(), and TryAnotherShowing().
|
private |
Definition at line 267 of file scheduler.h.
Referenced by FillDirectoryInfoCache(), FillRecordingDir(), GetMainServer(), HandleIdleShutdown(), run(), SetMainServer(), and ShutdownServer().
|
private |
Definition at line 288 of file scheduler.h.
Referenced by SchedNewFirstPass(), and SchedNewRecords().
|
private |
Definition at line 135 of file scheduler.h.
Referenced by AddNewRecords(), and Scheduler().
|
private |
Definition at line 245 of file scheduler.h.
Referenced by AddRecording(), AssignGroupInput(), BuildWorkList(), ChangeRecordingEnd(), ClearWorkList(), FillRecordListFromDB(), FillRecordListFromMaster(), GetAllPending(), getConflicting(), GetNextLiveTVDir(), GetRecording(), GetRecStatus(), HandleIdleShutdown(), HandleRecording(), HandleReschedule(), HandleRunSchedulerStartup(), HandleWakeSlave(), PrintList(), PutInactiveSlavesToSleep(), run(), Scheduler(), ShutdownServer(), SlaveConnected(), SlaveDisconnected(), UpdateNextRecord(), UpdateRecStatus(), and ~Scheduler().
Definition at line 254 of file scheduler.h.
Referenced by AddRecording(), AssignGroupInput(), ChangeRecordingEnd(), ClearWorkList(), HandleIdleShutdown(), HandleRecording(), run(), SlaveConnected(), SlaveDisconnected(), and UpdateRecStatus().
Definition at line 250 of file scheduler.h.
Referenced by BuildListMaps(), ClearListMaps(), MarkOtherShowings(), and TryAnotherShowing().
|
private |
Definition at line 243 of file scheduler.h.
Referenced by FillRecordListFromDB(), and HandleReschedule().
|
private |
Definition at line 134 of file scheduler.h.
Referenced by AddNewRecords(), AddNotListed(), BuildNewRecordsQueries(), CreateTempTables(), DeleteTempTables(), ResetDuplicates(), Scheduler(), UpdateDuplicates(), UpdateManuals(), and UpdateMatches().
|
private |
Definition at line 241 of file scheduler.h.
Referenced by ClearRequestQueue(), EnqueueCheck(), EnqueueMatch(), EnqueuePlace(), HandleReschedule(), HaveQueuedRequests(), and Reschedule().
|
private |
Definition at line 244 of file scheduler.h.
Referenced by AddRecording(), Reschedule(), run(), Scheduler(), Stop(), UpdateRecStatus(), and ~Scheduler().
Definition at line 270 of file scheduler.h.
Referenced by HandleIdleShutdown(), and ResetIdleTime().
|
private |
Definition at line 269 of file scheduler.h.
Referenced by HandleIdleShutdown(), and ResetIdleTime().
|
private |
Definition at line 258 of file scheduler.h.
Referenced by AddNewRecords(), and HandleRecordingStatusChange().
|
mutableprivate |
Definition at line 242 of file scheduler.h.
Referenced by AddRecording(), AssignGroupInput(), ChangeRecordingEnd(), FillRecordList(), FillRecordListFromDB(), FillRecordListFromMaster(), GetAllPending(), getConflicting(), GetNextLiveTVDir(), GetRecording(), GetRecStatus(), HandleIdleShutdown(), HandleRecording(), HandleReschedule(), HandleRunSchedulerStartup(), Reschedule(), run(), Scheduler(), ShutdownServer(), SlaveConnected(), SlaveDisconnected(), Stop(), UpdateRecStatus(), and ~Scheduler().
|
private |
Definition at line 263 of file scheduler.h.
Referenced by AddNewRecords().
|
private |
Definition at line 253 of file scheduler.h.
Referenced by AddNewRecords(), AddNotListed(), FillRecordList(), HandleRecording(), HandleReschedule(), PruneRedundants(), SchedLiveTV(), and TryAnotherShowing().
Definition at line 257 of file scheduler.h.
Referenced by DisableScheduling(), EnableScheduling(), HandleRecording(), and QueryScheduling().
|
private |
Definition at line 248 of file scheduler.h.
Referenced by AddChildInput(), AddRecording(), AssignGroupInput(), BuildListMaps(), CreateConflictLists(), FindConflict(), FindNextConflict(), InitInputInfoMap(), IsBusyRecording(), SchedLiveTV(), SchedNewRetryPass(), SlaveConnected(), and ~Scheduler().
Definition at line 256 of file scheduler.h.
Referenced by AddNewRecords(), ChangeRecordingEnd(), and UpdateNextRecord().
|
private |
Definition at line 279 of file scheduler.h.
Referenced by HandleWakeSlave().
|
private |
Definition at line 251 of file scheduler.h.
Referenced by BuildListMaps(), ClearListMaps(), and MarkOtherShowings().
|
private |
Definition at line 294 of file scheduler.h.
Referenced by HandleIdleShutdown().
|
private |
Definition at line 260 of file scheduler.h.
Referenced by AddNewRecords(), FillRecordingDir(), GetNextLiveTVDir(), HandleIdleShutdown(), HandleRecording(), HandleWakeSlave(), IsBusyRecording(), PutInactiveSlavesToSleep(), SchedLiveTV(), WakeUpSlave(), and WakeUpSlaves().
|
private |
Definition at line 246 of file scheduler.h.
Referenced by AddNewRecords(), AddNotListed(), BackupRecStatus(), BuildListMaps(), BuildWorkList(), ClearWorkList(), FillRecordList(), PruneOverlaps(), PruneRedundants(), RestoreRecStatus(), SchedNewRecords(), and ~Scheduler().