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.
236 /** @internal Enables signal watch on SchedulerJob form values in order to apply changes to current job.
250 * @brief updateJobTable Update the job's row in the job table. If the row does not exist, it will
271 * @brief checkInterfaceReady Sometimes syncProperties() is not sufficient since the ready signal could have fired already
272 * and cannot be relied on to know once a module interface is ready. Therefore, we explicitly check if the module interface
358 void queueTableSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
407 * @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.
417 * @brief resumeCheckStatus If the scheduler primary loop was suspended due to weather or sleep event, resume it again.
422 * @brief checkWeather Check weather status and act accordingly depending on the current status of the scheduler and running jobs.
490 * @brief syncSettings When checkboxes, comboboxes, or spin boxes are updated, save their values in the
510 * @brief checkJobInputComplete Check if all inputs are filled such that a new job could be added.
516 // Interface strings for the dbus. Changeable for mocks when testing. Private so only tests can change.
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:2143
void checkTwilightWarning(bool enabled)
checkWeather Check weather status and act accordingly depending on the current status of the schedule...
Definition scheduler.cpp:2192
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:919
void setJobManipulation(bool can_reorder, bool can_delete, bool is_lead)
setJobManipulation Enable or disable job manipulation buttons.
Definition scheduler.cpp:1305
void updateSchedulerURL(const QString &fileURL)
updateSchedulerURL Update scheduler URL after succesful loading a new file.
Definition scheduler.cpp:1231
Q_INVOKABLE void addJob(SchedulerJob *job=nullptr)
addJob Add a new job from form values
Definition scheduler.cpp:779
void insertJobTableRow(int row, bool above=true)
insertJobTableRow Insert a new row (empty) into the job table
Definition scheduler.cpp:1713
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:1937
void resumeCheckStatus()
resumeCheckStatus If the scheduler primary loop was suspended due to weather or sleep event,...
Definition scheduler.cpp:2136
void handleSchedulerSleeping(bool shutdown, bool sleep)
handleSchedulerSleeping Update UI if scheduler is set to sleep
Definition scheduler.cpp:2361
bool importMosaic(const QJsonObject &payload)
importMosaic Import mosaic into planner and generate jobs for the scheduler.
Definition scheduler.cpp:2415
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:1352
void syncGUIToGeneralSettings()
syncGUIToGeneralSettings set all UI fields that are not job specific
Definition scheduler.cpp:1135
void updateNightTime(SchedulerJob const *job=nullptr)
updateNightTime update the Twilight restriction with the argument job properties.
Definition scheduler.cpp:1161
void handleSchedulerStateChanged(SchedulerState newState)
handleSchedulerStateChanged Update UI when the scheduler state changes
Definition scheduler.cpp:2372
bool fillJobFromUI(SchedulerJob *job)
createJob Create a new job from form values.
Definition scheduler.cpp:829
void setSequence(const QString &sequenceFileURL)
Set the file URL pointing to the capture sequence file.
Definition scheduler.cpp:727
Q_INVOKABLE void updateJob(int index=-1)
addJob Add a new job from form values
Definition scheduler.cpp:813
void syncGUIToJob(SchedulerJob *job)
set all GUI fields to the values of the given scheduler job
Definition scheduler.cpp:1030
void schedulerStopped()
schedulerStopped React when the process engine has stopped the scheduler
Definition scheduler.cpp:1886
void updateCellStyle(SchedulerJob *job, QTableWidgetItem *cell)
Update the style of a cell, depending on the job's state.
Definition scheduler.cpp:1754
Q_INVOKABLE void clearJobTable()
clearJobTable delete all rows in the job table
Definition scheduler.cpp:1987
void setJobAddApply(bool add_mode)
setJobAddApply Set first button state to add new job or apply changes.
Definition scheduler.cpp:1288
void handleConfigChanged()
handleConfigChanged Update UI after changes to the global configuration
Definition scheduler.cpp:593
void setErrorHandlingStrategy(ErrorHandlingStrategy strategy)
select the error handling strategy (no restart, restart after all terminated, restart immediately)
Definition scheduler.cpp:2154
void clickQueueTable(QModelIndex index)
jobSelectionChanged Update UI state when the job list is clicked once.
Definition scheduler.cpp:1272
void updateJobTable(SchedulerJob *job=nullptr)
updateJobTable Update the job's row in the job table.
Definition scheduler.cpp:1524
void interfaceReady(QDBusInterface *iface)
checkInterfaceReady Sometimes syncProperties() is not sufficient since the ready signal could have fi...
Definition scheduler.cpp:2245
void queueTableSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
Update scheduler parameters to the currently selected scheduler job.
Definition scheduler.cpp:1238
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
The SchedulerState class holds all attributes defining the scheduler's state.
Sequence Job is a container for the details required to capture a series of images.
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
ErrorHandlingStrategy
options what should happen if an error or abort occurs
Definition schedulertypes.h:58
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
enabled
void show()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.