9#include "../auxiliary/dome.h"
10#include "observatoryweathermodel.h"
18class ObservatoryDomeModel:
public QObject
23 ObservatoryDomeModel() =
default;
25 void initModel(Dome *dome);
26 bool isActive() {
return initialized;}
28 ISD::Dome::Status status();
29 ISD::Dome::ShutterStatus shutterStatus();
34 return (domeInterface !=
nullptr && domeInterface->canPark());
38 ISD::ParkStatus parkStatus();
40 double azimuthPosition()
42 return domeInterface->azimuthPosition();
44 void setAzimuthPosition(
double position)
46 domeInterface->setAzimuthPosition(position);
49 bool canAbsoluteMove()
51 return (domeInterface !=
nullptr && domeInterface->canAbsoluteMove());
54 void setRelativePosition(
double position)
56 domeInterface->setRelativePosition(position);
59 bool canRelativeMove()
61 return (domeInterface !=
nullptr && domeInterface->canRelativeMove());
66 return (domeInterface !=
nullptr && domeInterface->isRolloffRoof());
71 return (domeInterface !=
nullptr && domeInterface->isAutoSync());
74 void setAutoSync(
bool activate);
80 return (domeInterface !=
nullptr && domeInterface->hasShutter());
85 bool moveDome(
bool moveCW,
bool start);
88 void execute(WeatherActions actions);
93 bool initialized =
false;
96 void newStatus(ISD::Dome::Status state);
97 void newParkStatus(ISD::ParkStatus status);
98 void newShutterStatus(ISD::Dome::ShutterStatus status);
99 void newAutoSyncStatus(
bool enabled);
100 void azimuthPositionChanged(
double position);
103 void newLog(
const QString &text);
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 Mon Nov 4 2024 16:38:43 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.