Kstars
schedulerjob.h
222 /** @brief Iteration the scheduler job has achieved. This only makes sense for jobs that repeat. */
233 * Setting state to JOB_INVALID automatically resets the startup characteristics and the duration estimation.
234 * @see SchedulerJob::setStartupCondition, SchedulerJob::setFileStartupCondition, SchedulerJob::setStartupTime
426 * @warning This is a weak comparison, but that's what the scheduler looks at to decide completion.
433 /** @brief Compare ::SchedulerJob instances based on altitude and movement in sky at startup time.
436 * @arg when is the date/time to use to calculate the altitude to sort with, defaulting to a's startup time.
437 * @note To obtain proper sort between several SchedulerJobs, all should have the same startup time.
444 static bool decreasingAltitudeOrder(SchedulerJob const *a, SchedulerJob const *b, QDateTime const &when = QDateTime());
459 QDateTime calculateNextTime(QDateTime const &when, bool checkIfConstraintsAreMet = true, int increment = 1,
460 QString *reason = nullptr, bool runningJob = false, const QDateTime &until = QDateTime()) const;
461 QDateTime getNextPossibleStartTime(const QDateTime &when, int increment = 1, bool runningJob = false,
488 * @param time uses the time given for the check, or, if not valid (the default) uses the job's startup time.
489 * @return true if the next dawn/dusk event after this observation is the astronomical dawn, else false.
490 * @note This function relies on the guarantee that dawn and dusk are calculated to be the first events after this observation.
492 bool runsDuringAstronomicalNightTime(const QDateTime &time = QDateTime(), QDateTime *nextPossibleSuccess = nullptr) const;
495 * @brief satisfiesAltitudeConstraint sees if altitude is allowed for this job at the given azimuth.
501 bool satisfiesAltitudeConstraint(double azimuth, double altitude, QString *altitudeReason = nullptr) const;
504 * @brief setInitialFilter Set initial filter used in the capture sequence. This is used to pass to focus module.
547 /** @brief Setter used in the unit test to fix the local time. Otherwise getter gets from KStars instance. */
552 /** @brief Setter used in testing to fix the artificial horizon. Otherwise getter gets from KStars instance. */
Represents custom area from the horizon upwards which represent blocked views from the vantage point ...
Definition artificialhorizoncomponent.h:62
Contains all relevant information for specifying a location on Earth: City Name, State/Province name,...
Definition geolocation.h:28
Extension of QDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day,...
Definition kstarsdatetime.h:36
Sequence Job is a container for the details required to capture a series of images.
Type type(const QSqlDatabase &db)
QMap< QString, uint16_t > CapturedFramesMap
mapping signature --> frames count
Definition schedulertypes.h:131
KGuiItem properties()
void append(QList< T > &&value)
void clear()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.