Kstars
scheduler.h
50 * @brief The Ekos scheduler is a simple scheduler class to orchestrate automated multi object observation jobs.
143 * @brief select the error handling strategy (no restart, restart after all terminated, restart immediately)
181 * @brief addToQueue Construct a SchedulerJob and add it to the queue or save job settings from current form values.
241 /** @internal Enables signal watch on SchedulerJob form values in order to apply changes to current job.
255 * @brief updateJobTable Update the job's row in the job table. If the row does not exist, it will
276 * @brief checkInterfaceReady Sometimes syncProperties() is not sufficient since the ready signal could have fired already
277 * and cannot be relied on to know once a module interface is ready. Therefore, we explicitly check if the module interface
363 void queueTableSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
412 * @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.
422 * @brief resumeCheckStatus If the scheduler primary loop was suspended due to weather or sleep event, resume it again.
427 * @brief checkWeather Check weather status and act accordingly depending on the current status of the scheduler and running jobs.
510 * @brief syncSettings When checkboxes, comboboxes, or spin boxes are updated, save their values in the
530 * @brief checkJobInputComplete Check if all inputs are filled such that a new job could be added.
536 // 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:55
ErrorHandlingStrategy getErrorHandlingStrategy()
retrieve the error handling strategy from the UI
Definition scheduler.cpp:2192
void checkTwilightWarning(bool enabled)
checkWeather Check weather status and act accordingly depending on the current status of the schedule...
Definition scheduler.cpp:2241
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:966
void setJobManipulation(bool can_reorder, bool can_delete, bool is_lead)
setJobManipulation Enable or disable job manipulation buttons.
Definition scheduler.cpp:1354
void updateSchedulerURL(const QString &fileURL)
updateSchedulerURL Update scheduler URL after succesful loading a new file.
Definition scheduler.cpp:1287
void settleSettings()
settleSettings Run this function after timeout from debounce timer to update database and emit settin...
Definition scheduler.cpp:2735
Q_INVOKABLE void addJob(SchedulerJob *job=nullptr)
addJob Add a new job from form values
Definition scheduler.cpp:818
void insertJobTableRow(int row, bool above=true)
insertJobTableRow Insert a new row (empty) into the job table
Definition scheduler.cpp:1762
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:1986
void resumeCheckStatus()
resumeCheckStatus If the scheduler primary loop was suspended due to weather or sleep event,...
Definition scheduler.cpp:2185
void handleSchedulerSleeping(bool shutdown, bool sleep)
handleSchedulerSleeping Update UI if scheduler is set to sleep
Definition scheduler.cpp:2411
bool importMosaic(const QJsonObject &payload)
importMosaic Import mosaic into planner and generate jobs for the scheduler.
Definition scheduler.cpp:2466
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:1401
void syncGUIToGeneralSettings()
syncGUIToGeneralSettings set all UI fields that are not job specific
Definition scheduler.cpp:1191
void updateNightTime(SchedulerJob const *job=nullptr)
updateNightTime update the Twilight restriction with the argument job properties.
Definition scheduler.cpp:1217
void handleSchedulerStateChanged(SchedulerState newState)
handleSchedulerStateChanged Update UI when the scheduler state changes
Definition scheduler.cpp:2422
bool fillJobFromUI(SchedulerJob *job)
createJob Create a new job from form values.
Definition scheduler.cpp:868
void setSequence(const QString &sequenceFileURL)
Set the file URL pointing to the capture sequence file.
Definition scheduler.cpp:766
Q_INVOKABLE void updateJob(int index=-1)
addJob Add a new job from form values
Definition scheduler.cpp:852
void syncGUIToJob(SchedulerJob *job)
set all GUI fields to the values of the given scheduler job
Definition scheduler.cpp:1077
void schedulerStopped()
schedulerStopped React when the process engine has stopped the scheduler
Definition scheduler.cpp:1935
void updateCellStyle(SchedulerJob *job, QTableWidgetItem *cell)
Update the style of a cell, depending on the job's state.
Definition scheduler.cpp:1803
Q_INVOKABLE void clearJobTable()
clearJobTable delete all rows in the job table
Definition scheduler.cpp:2036
void setJobAddApply(bool add_mode)
setJobAddApply Set first button state to add new job or apply changes.
Definition scheduler.cpp:1337
void handleConfigChanged()
handleConfigChanged Update UI after changes to the global configuration
Definition scheduler.cpp:617
void setErrorHandlingStrategy(ErrorHandlingStrategy strategy)
select the error handling strategy (no restart, restart after all terminated, restart immediately)
Definition scheduler.cpp:2203
void clickQueueTable(QModelIndex index)
jobSelectionChanged Update UI state when the job list is clicked once.
Definition scheduler.cpp:1329
void updateJobTable(SchedulerJob *job=nullptr)
updateJobTable Update the job's row in the job table.
Definition scheduler.cpp:1573
void interfaceReady(QDBusInterface *iface)
checkInterfaceReady Sometimes syncProperties() is not sufficient since the ready signal could have fi...
Definition scheduler.cpp:2294
void queueTableSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
Update scheduler parameters to the currently selected scheduler job.
Definition scheduler.cpp:1294
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 Mar 21 2025 11:59:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Mar 21 2025 11:59:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.