Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/scheduler/scheduler.h
Show First 20 Lines • Show All 645 Lines • ▼ Show 20 Line(s) | 643 | /** | |||
---|---|---|---|---|---|
646 | */ | 646 | */ | ||
647 | void updateCompletedJobsCount(bool forced = false); | 647 | void updateCompletedJobsCount(bool forced = false); | ||
648 | 648 | | |||
649 | SequenceJob *processJobInfo(XMLEle *root, SchedulerJob *schedJob); | 649 | SequenceJob *processJobInfo(XMLEle *root, SchedulerJob *schedJob); | ||
650 | bool loadSequenceQueue(const QString &fileURL, SchedulerJob *schedJob, QList<SequenceJob *> &jobs, | 650 | bool loadSequenceQueue(const QString &fileURL, SchedulerJob *schedJob, QList<SequenceJob *> &jobs, | ||
651 | bool &hasAutoFocus); | 651 | bool &hasAutoFocus); | ||
652 | int getCompletedFiles(const QString &path, const QString &seqPrefix); | 652 | int getCompletedFiles(const QString &path, const QString &seqPrefix); | ||
653 | 653 | | |||
654 | // retrieve the guiding status | ||||
655 | GuideState getGuidingStatus(); | ||||
656 | | ||||
657 | | ||||
654 | Ekos::Scheduler *ui { nullptr }; | 658 | Ekos::Scheduler *ui { nullptr }; | ||
655 | //DBus interfaces | 659 | //DBus interfaces | ||
656 | QPointer<QDBusInterface> focusInterface { nullptr }; | 660 | QPointer<QDBusInterface> focusInterface { nullptr }; | ||
657 | QPointer<QDBusInterface> ekosInterface { nullptr }; | 661 | QPointer<QDBusInterface> ekosInterface { nullptr }; | ||
658 | QPointer<QDBusInterface> captureInterface { nullptr }; | 662 | QPointer<QDBusInterface> captureInterface { nullptr }; | ||
659 | QPointer<QDBusInterface> mountInterface { nullptr }; | 663 | QPointer<QDBusInterface> mountInterface { nullptr }; | ||
660 | QPointer<QDBusInterface> alignInterface { nullptr }; | 664 | QPointer<QDBusInterface> alignInterface { nullptr }; | ||
661 | QPointer<QDBusInterface> guideInterface { nullptr }; | 665 | QPointer<QDBusInterface> guideInterface { nullptr }; | ||
▲ Show 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | |||||
734 | /// Call checkWeather when weatherTimer time expires. It is equal to the UpdatePeriod time in INDI::Weather device. | 738 | /// Call checkWeather when weatherTimer time expires. It is equal to the UpdatePeriod time in INDI::Weather device. | ||
735 | //QTimer weatherTimer; | 739 | //QTimer weatherTimer; | ||
736 | /// Timer to put the scheduler into sleep mode until a job is ready | 740 | /// Timer to put the scheduler into sleep mode until a job is ready | ||
737 | QTimer sleepTimer; | 741 | QTimer sleepTimer; | ||
738 | /// To call checkStatus | 742 | /// To call checkStatus | ||
739 | QTimer schedulerTimer; | 743 | QTimer schedulerTimer; | ||
740 | /// To call checkJobStage | 744 | /// To call checkJobStage | ||
741 | QTimer jobTimer; | 745 | QTimer jobTimer; | ||
746 | /// Delay for restarting the guider | ||||
747 | QTimer restartGuidingTimer; | ||||
742 | 748 | | |||
743 | /// Generic time to track timeout of current operation in progress | 749 | /// Generic time to track timeout of current operation in progress | ||
744 | QTime currentOperationTime; | 750 | QTime currentOperationTime; | ||
745 | 751 | | |||
746 | QUrl dirPath; | 752 | QUrl dirPath; | ||
747 | 753 | | |||
748 | QMap<QString, uint16_t> capturedFramesCount; | 754 | QMap<QString, uint16_t> capturedFramesCount; | ||
749 | 755 | | |||
Show All 14 Lines |