Kstars
scheduler.h
51 * @brief The Ekos scheduler is a simple scheduler class to orchestrate automated multi object observation jobs.
144 * @brief select the error handling strategy (no restart, restart after all terminated, restart immediately)
182 * @brief addToQueue Construct a SchedulerJob and add it to the queue or save job settings from current form values.
242 /** @internal Enables signal watch on SchedulerJob form values in order to apply changes to current job.
256 * @brief updateJobTable Update the job's row in the job table. If the row does not exist, it will
277 * @brief checkInterfaceReady Sometimes syncProperties() is not sufficient since the ready signal could have fired already
278 * and cannot be relied on to know once a module interface is ready. Therefore, we explicitly check if the module interface
364 void queueTableSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
413 * @param job SchedulerJob for which to display the next dawn and dusk, or the job currently selected if null, or today's next dawn and dusk if no job is selected.
423 * @brief resumeCheckStatus If the scheduler primary loop was suspended due to weather or sleep event, resume it again.
428 * @brief checkWeather Check weather status and act accordingly depending on the current status of the scheduler and running jobs.
511 * @brief syncSettings When checkboxes, comboboxes, or spin boxes are updated, save their values in the
531 * @brief checkJobInputComplete Check if all inputs are filled such that a new job could be added.
537 // Interface strings for the dbus. Changeable for mocks when testing. Private so only tests can change.
The SchedulerProcess class holds the entire business logic for controlling the execution of the EKOS ...
Definition schedulerprocess.h:34
The Ekos scheduler is a simple scheduler class to orchestrate automated multi object observation jobs...
Definition scheduler.h:56
ErrorHandlingStrategy getErrorHandlingStrategy()
retrieve the error handling strategy from the UI
Definition scheduler.cpp:2197
void checkTwilightWarning(bool enabled)
checkWeather Check weather status and act accordingly depending on the current status of the schedule...
Definition scheduler.cpp:2246
void saveJob(SchedulerJob *job=nullptr)
addToQueue Construct a SchedulerJob and add it to the queue or save job settings from current form va...
Definition scheduler.cpp:964
void setJobManipulation(bool can_reorder, bool can_delete, bool is_lead)
setJobManipulation Enable or disable job manipulation buttons.
Definition scheduler.cpp:1359
void updateSchedulerURL(const QString &fileURL)
updateSchedulerURL Update scheduler URL after succesful loading a new file.
Definition scheduler.cpp:1285
void settleSettings()
settleSettings Run this function after timeout from debounce timer to update database and emit settin...
Definition scheduler.cpp:2739
Q_INVOKABLE void addJob(SchedulerJob *job=nullptr)
addJob Add a new job from form values
Definition scheduler.cpp:816
void insertJobTableRow(int row, bool above=true)
insertJobTableRow Insert a new row (empty) into the job table
Definition scheduler.cpp:1767
Q_INVOKABLE bool load(bool clearQueue, const QString &filename=QString())
load Open a file dialog to select an ESL file, and load its contents.
Definition scheduler.cpp:1991
void resumeCheckStatus()
resumeCheckStatus If the scheduler primary loop was suspended due to weather or sleep event,...
Definition scheduler.cpp:2190
void handleSchedulerSleeping(bool shutdown, bool sleep)
handleSchedulerSleeping Update UI if scheduler is set to sleep
Definition scheduler.cpp:2416
bool importMosaic(const QJsonObject &payload)
importMosaic Import mosaic into planner and generate jobs for the scheduler.
Definition scheduler.cpp:2470
bool reorderJobs(QList< SchedulerJob * > reordered_sublist)
reorderJobs Change the order of jobs in the UI based on a subset of its jobs.
Definition scheduler.cpp:1406
void syncGUIToGeneralSettings()
syncGUIToGeneralSettings set all UI fields that are not job specific
Definition scheduler.cpp:1189
void updateNightTime(SchedulerJob const *job=nullptr)
updateNightTime update the Twilight restriction with the argument job properties.
Definition scheduler.cpp:1215
void handleSchedulerStateChanged(SchedulerState newState)
handleSchedulerStateChanged Update UI when the scheduler state changes
Definition scheduler.cpp:2427
bool fillJobFromUI(SchedulerJob *job)
createJob Create a new job from form values.
Definition scheduler.cpp:866
void setSequence(const QString &sequenceFileURL)
Set the file URL pointing to the capture sequence file.
Definition scheduler.cpp:764
Q_INVOKABLE void updateJob(int index=-1)
addJob Add a new job from form values
Definition scheduler.cpp:850
void syncGUIToJob(SchedulerJob *job)
set all GUI fields to the values of the given scheduler job
Definition scheduler.cpp:1075
void schedulerStopped()
schedulerStopped React when the process engine has stopped the scheduler
Definition scheduler.cpp:1940
void updateCellStyle(SchedulerJob *job, QTableWidgetItem *cell)
Update the style of a cell, depending on the job's state.
Definition scheduler.cpp:1808
Q_INVOKABLE void clearJobTable()
clearJobTable delete all rows in the job table
Definition scheduler.cpp:2041
void setJobAddApply(bool add_mode)
setJobAddApply Set first button state to add new job or apply changes.
Definition scheduler.cpp:1342
void handleConfigChanged()
handleConfigChanged Update UI after changes to the global configuration
Definition scheduler.cpp:615
void setErrorHandlingStrategy(ErrorHandlingStrategy strategy)
select the error handling strategy (no restart, restart after all terminated, restart immediately)
Definition scheduler.cpp:2208
void clickQueueTable(QModelIndex index)
jobSelectionChanged Update UI state when the job list is clicked once.
Definition scheduler.cpp:1326
void updateJobTable(SchedulerJob *job=nullptr)
updateJobTable Update the job's row in the job table.
Definition scheduler.cpp:1578
void interfaceReady(QDBusInterface *iface)
checkInterfaceReady Sometimes syncProperties() is not sufficient since the ready signal could have fi...
Definition scheduler.cpp:2299
void queueTableSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
Update scheduler parameters to the currently selected scheduler job.
Definition scheduler.cpp:1292
Contains all relevant information for specifying a location on Earth: City Name, State/Province name,...
Definition geolocation.h:28
The QProgressIndicator class lets an application display a progress indicator to show that a long tas...
Definition QProgressIndicator.h:24
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:50
ErrorHandlingStrategy
options what should happen if an error or abort occurs
Definition schedulertypes.h:58
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
QWidget(QWidget *parent, Qt::WindowFlags f)
enabled
void show()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:56:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:56:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.