Kstars

astapastrometryparser.h
1 /*
2  SPDX-FileCopyrightText: 2019 Jasem Mutlaq <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "astrometryparser.h"
10 #include "indi/indicamera.h"
11 
12 #include <QPointer>
13 #include <QProcess>
14 
15 namespace Ekos
16 {
17 class Align;
18 
19 /**
20  * @class ASTAPAstrometryParser
21  * ASTAPAstrometryParser invokes the local ASTAP solver.
22  *
23  * @author Jasem Mutlaq
24  */
26 {
27  Q_OBJECT
28 
29  public:
31  virtual ~ASTAPAstrometryParser() override = default;
32 
33  virtual void setAlign(Align *_align) override
34  {
35  align = _align;
36  }
37  virtual bool init() override;
38  virtual void verifyIndexFiles(double fov_x, double fov_y) override;
39  virtual bool startSolver(const QString &filename, const QStringList &args, bool generated = true) override;
40  virtual bool stopSolver() override;
41 
42  public slots:
43  void solverComplete(int exitCode, QProcess::ExitStatus exitStatus);
44 
45  private:
46  Align *align { nullptr };
47  QTime solverTimer;
48  QPointer<QProcess> solver;
49 };
50 }
Q_OBJECTQ_OBJECT
Ekos is an advanced Astrophotography tool for Linux. It is based on a modular extensible framework to...
Definition: align.cpp:70
Align class handles plate-solving and polar alignment measurement and correction using astrometry....
Definition: align.h:73
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Aug 13 2022 04:01:50 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.