9#include "../guideinterface.h"
11#include <QAbstractSocket>
32 SET_GUIDER_SQUARE_POS,
41 SET_GUIDER_RETICLE_POS,
46 typedef enum { IDLE, GUIDING } LinGuiderState;
47 typedef enum { DISCONNECTED, CONNECTING, CONNECTED } LinGuiderConnection;
52 bool Connect()
override;
53 bool Disconnect()
override;
54 bool isConnected()
override {
return (connection == CONNECTED); }
56 bool calibrate()
override;
57 bool guide()
override;
58 bool abort()
override;
59 bool suspend()
override;
60 bool resume()
override;
61 bool dither(
double pixels)
override;
62 bool clearCalibration()
override {
return true;}
71 void sendCommand(LinGuiderCommand command,
const QString &args =
QString());
72 void processResponse(LinGuiderCommand command,
const QString &reply);
77 LinGuiderState state { IDLE };
78 LinGuiderConnection connection { DISCONNECTED };
Interface skeleton for implementation of different guiding applications and/or routines.
Uses external LinGuider for guiding.
Ekos is an advanced Astrophotography tool for Linux.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:51:45 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.