Ekos::Mount

Search for usage in LXR

#include <mount.h>

Inheritance diagram for Ekos::Mount:

Public Types

enum  MeridianFlipStatus {
  FLIP_NONE, FLIP_PLANNED, FLIP_WAITING, FLIP_ACCEPTED,
  FLIP_RUNNING, FLIP_COMPLETED, FLIP_ERROR, FLIP_INACTIVE
}
 
- Public Types inherited from QWidget
enum  RenderFlag
 
- Public Types inherited from QPaintDevice
enum  PaintDeviceMetric
 

Properties

QList< double > altitudeLimits
 
bool altitudeLimitsEnabled
 
bool autoParkEnabled
 
bool canPark
 
QList< double > equatorialCoords
 
QList< double > horizontalCoords
 
double hourAngle
 
double hourAngleLimit
 
bool hourAngleLimitEnabled
 
QStringList logText
 
ISD::ParkStatus parkStatus
 
ISD::Mount::PierSide pierSide
 
int slewRate
 
int slewStatus
 
ISD::Mount::Status status
 
QList< double > telescopeInfo
 
- Properties inherited from QWidget
 acceptDrops
 
 accessibleDescription
 
 accessibleName
 
 autoFillBackground
 
 baseSize
 
 childrenRect
 
 childrenRegion
 
 contextMenuPolicy
 
 cursor
 
 enabled
 
 focus
 
 focusPolicy
 
 font
 
 frameGeometry
 
 frameSize
 
 fullScreen
 
 geometry
 
 height
 
 inputMethodHints
 
 isActiveWindow
 
 layoutDirection
 
 locale
 
 maximized
 
 maximumHeight
 
 maximumSize
 
 maximumWidth
 
 minimized
 
 minimumHeight
 
 minimumSize
 
 minimumSizeHint
 
 minimumWidth
 
 modal
 
 mouseTracking
 
 normalGeometry
 
 palette
 
 pos
 
 rect
 
 size
 
 sizeHint
 
 sizeIncrement
 
 sizePolicy
 
 statusTip
 
 styleSheet
 
 tabletTracking
 
 toolTip
 
 toolTipDuration
 
 updatesEnabled
 
 visible
 
 whatsThis
 
 width
 
 windowFilePath
 
 windowFlags
 
 windowIcon
 
 windowIconText
 
 windowModality
 
 windowModified
 
 windowOpacity
 
 windowTitle
 
 x
 
 y
 
- Properties inherited from QObject
 objectName
 

Signals

void newCoords (const SkyPoint &position, ISD::Mount::PierSide pierSide, const dms &ha)
 
void newLog (const QString &text)
 
void newMeridianFlipStatus (MeridianFlipStatus status)
 
void newMeridianFlipText (const QString &text)
 
void newParkStatus (ISD::ParkStatus status)
 
void newStatus (ISD::Mount::Status status)
 
void newTarget (SkyPoint &currentCoord)
 
void newTargetName (const QString &name)
 
void pierSideChanged (ISD::Mount::PierSide side)
 
void ready ()
 
void slewRateChanged (int index)
 

Public Slots

void disableAltLimits ()
 
void disableHaLimits ()
 
void doPulse (GuideDirection ra_dir, int ra_msecs, GuideDirection dec_dir, int dec_msecs)
 
void enableAltitudeLimits (bool enable)
 
void enableAltLimits ()
 
void enableHaLimits ()
 
void enableHourAngleLimits (bool enable)
 
bool gotoTarget (const SkyPoint &target)
 
void meridianFlipStatusChanged (MeridianFlipStatus status)
 
void motionCommand (int command, int NS, int WE)
 
void paaStageChanged (int stage)
 
void registerNewModule (const QString &name)
 
void save ()
 
void saveLimits ()
 
void setMeridianFlipValues (bool activate, double hours)
 
bool setScopeConfig (int index)
 
void stopTimers ()
 
void syncAxisReversed (INDI_EQ_AXIS axis, bool reversed)
 
void syncTelescopeInfo ()
 
void toggleMountToolBox ()
 
void updateLog (int messageID)
 
void updateNumber (INumberVectorProperty *nvp)
 
void updateSwitch (ISwitchVectorProperty *svp)
 
void updateTelescopeCoords (const SkyPoint &position, ISD::Mount::PierSide pierSide, const dms &ha)
 
void updateText (ITextVectorProperty *tvp)
 

Public Member Functions

 Mount ()
 
Q_INVOKABLE Q_SCRIPTABLE bool abort ()
 
ISD::MountactiveMount () const
 
bool addGPS (ISD::GPS *device)
 
bool addMount (ISD::Mount *device)
 
Q_SCRIPTABLE QList< double > altitudeLimits ()
 
Q_SCRIPTABLE bool altitudeLimitsEnabled ()
 
void appendLogText (const QString &)
 
Q_SCRIPTABLE bool autoParkEnabled ()
 
Q_INVOKABLE bool azAltToHaDec (QString qsAz, QString qsAlt)
 
Q_INVOKABLE bool azAltToRaDec (QString qsAz, QString qsAlt)
 
Q_INVOKABLE Q_SCRIPTABLE bool canPark ()
 
Q_INVOKABLE void centerMount ()
 
bool checkMeridianFlip (dms lst)
 
void clearLog ()
 
Q_SCRIPTABLE SkyPoint currentTarget ()
 
Q_SCRIPTABLE QList< double > equatorialCoords ()
 
Q_INVOKABLE bool executeMeridianFlip ()
 
Q_INVOKABLE void findTarget ()
 
QString getLogText () const
 
Q_INVOKABLE Q_SCRIPTABLE bool gotoTarget (const QString &target)
 
Q_INVOKABLE bool haDecToAzAlt (QString qsHA, QString qsDec)
 
Q_INVOKABLE bool haDecToRaDec (QString qsHA)
 
Q_SCRIPTABLE QList< double > horizontalCoords ()
 
Q_SCRIPTABLE double hourAngle ()
 
Q_SCRIPTABLE double hourAngleLimit ()
 
Q_SCRIPTABLE bool hourAngleLimitEnabled ()
 
Q_SCRIPTABLE double initialHA ()
 
QStringList logText ()
 
Q_SCRIPTABLE bool meridianFlipEnabled ()
 
MeridianFlipStatus meridianFlipStatus () const
 
QString meridianFlipStatusDescription ()
 
Q_SCRIPTABLE double meridianFlipValue ()
 
Q_INVOKABLE Q_SCRIPTABLE bool park ()
 
ISD::ParkStatus parkStatus () const
 
ISD::Mount::PierSide pierSide () const
 
Q_INVOKABLE bool raDecToAzAlt (QString qsRA, QString qsDec)
 
Q_INVOKABLE bool raDecToHaDec (QString qsRA)
 
void removeDevice (ISD::GenericDevice *device)
 
Q_INVOKABLE Q_SCRIPTABLE bool resetModel ()
 
Q_SCRIPTABLE Q_NOREPLY void setAltitudeLimits (QList< double > limits)
 
Q_SCRIPTABLE void setAltitudeLimitsEnabled (bool enable)
 
Q_SCRIPTABLE void setAutoParkDailyEnabled (bool enabled)
 
Q_SCRIPTABLE void setAutoParkEnabled (bool enable)
 
Q_SCRIPTABLE void setAutoParkStartup (QTime startup)
 
Q_SCRIPTABLE Q_NOREPLY void setHourAngleLimit (double limit)
 
Q_SCRIPTABLE void setHourAngleLimitEnabled (bool enable)
 
Q_SCRIPTABLE void setInitialHA (double ha)
 
Q_INVOKABLE void setJ2000Enabled (bool enabled)
 
Q_INVOKABLE void setLeftRightReversed (bool enabled)
 
Q_INVOKABLE Q_SCRIPTABLE bool setSlewRate (int index)
 
Q_SCRIPTABLE Q_NOREPLY void setTelescopeInfo (const QList< double > &info)
 
Q_INVOKABLE void setTrackEnabled (bool enabled)
 
Q_INVOKABLE void setUpDownReversed (bool enabled)
 
Q_INVOKABLE bool slew (const QString &RA, const QString &DEC)
 
Q_INVOKABLE Q_SCRIPTABLE bool slew (double RA, double DEC)
 
Q_INVOKABLE Q_SCRIPTABLE int slewRate ()
 
Q_INVOKABLE Q_SCRIPTABLE IPState slewStatus ()
 
ISD::Mount::Status status () const
 
QString statusString (bool translated=true) const
 
Q_INVOKABLE bool sync (const QString &RA, const QString &DEC)
 
Q_INVOKABLE Q_SCRIPTABLE bool sync (double RA, double DEC)
 
Q_INVOKABLE Q_SCRIPTABLE bool syncTarget (const QString &target)
 
Q_INVOKABLE Q_SCRIPTABLE QList< double > telescopeInfo ()
 
Q_INVOKABLE Q_SCRIPTABLE bool unpark ()
 
- Public Member Functions inherited from QWidget
 QWidget (QWidget *parent, Qt::WindowFlags f)
 
bool acceptDrops () const const
 
QString accessibleDescription () const const
 
QString accessibleName () const const
 
QList< QAction * > actions () const const
 
void activateWindow ()
 
void addAction (QAction *action)
 
void addActions (QList< QAction * > actions)
 
void adjustSize ()
 
bool autoFillBackground () const const
 
QPalette::ColorRole backgroundRole () const const
 
QBackingStorebackingStore () const const
 
QSize baseSize () const const
 
QWidgetchildAt (const QPoint &p) const const
 
QWidgetchildAt (int x, int y) const const
 
QRect childrenRect () const const
 
QRegion childrenRegion () const const
 
void clearFocus ()
 
void clearMask ()
 
bool close ()
 
QMargins contentsMargins () const const
 
QRect contentsRect () const const
 
Qt::ContextMenuPolicy contextMenuPolicy () const const
 
QCursor cursor () const const
 
void customContextMenuRequested (const QPoint &pos)
 
WId effectiveWinId () const const
 
void ensurePolished () const const
 
Qt::FocusPolicy focusPolicy () const const
 
QWidgetfocusProxy () const const
 
QWidgetfocusWidget () const const
 
const QFontfont () const const
 
QFontInfo fontInfo () const const
 
QFontMetrics fontMetrics () const const
 
QPalette::ColorRole foregroundRole () const const
 
QRect frameGeometry () const const
 
QSize frameSize () const const
 
const QRectgeometry () const const
 
void getContentsMargins (int *left, int *top, int *right, int *bottom) const const
 
QPixmap grab (const QRect &rectangle)
 
void grabGesture (Qt::GestureType gesture, Qt::GestureFlags flags)
 
void grabKeyboard ()
 
void grabMouse ()
 
void grabMouse (const QCursor &cursor)
 
int grabShortcut (const QKeySequence &key, Qt::ShortcutContext context)
 
QGraphicsEffectgraphicsEffect () const const
 
QGraphicsProxyWidgetgraphicsProxyWidget () const const
 
bool hasEditFocus () const const
 
bool hasFocus () const const
 
virtual bool hasHeightForWidth () const const
 
bool hasMouseTracking () const const
 
bool hasTabletTracking () const const
 
int height () const const
 
virtual int heightForWidth (int w) const const
 
void hide ()
 
Qt::InputMethodHints inputMethodHints () const const
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery query) const const
 
void insertAction (QAction *before, QAction *action)
 
void insertActions (QAction *before, QList< QAction * > actions)
 
bool isActiveWindow () const const
 
bool isAncestorOf (const QWidget *child) const const
 
bool isEnabled () const const
 
bool isEnabledTo (const QWidget *ancestor) const const
 
bool isEnabledToTLW () const const
 
bool isFullScreen () const const
 
bool isHidden () const const
 
bool isMaximized () const const
 
bool isMinimized () const const
 
bool isModal () const const
 
bool isTopLevel () const const
 
bool isVisible () const const
 
bool isVisibleTo (const QWidget *ancestor) const const
 
bool isWindow () const const
 
bool isWindowModified () const const
 
QLayoutlayout () const const
 
Qt::LayoutDirection layoutDirection () const const
 
QLocale locale () const const
 
void lower ()
 
QPoint mapFrom (const QWidget *parent, const QPoint &pos) const const
 
QPoint mapFromGlobal (const QPoint &pos) const const
 
QPoint mapFromParent (const QPoint &pos) const const
 
QPoint mapTo (const QWidget *parent, const QPoint &pos) const const
 
QPoint mapToGlobal (const QPoint &pos) const const
 
QPoint mapToParent (const QPoint &pos) const const
 
QRegion mask () const const
 
int maximumHeight () const const
 
QSize maximumSize () const const
 
int maximumWidth () const const
 
int minimumHeight () const const
 
QSize minimumSize () const const
 
virtual QSize minimumSizeHint () const const
 
int minimumWidth () const const
 
void move (const QPoint &)
 
void move (int x, int y)
 
QWidgetnativeParentWidget () const const
 
QWidgetnextInFocusChain () const const
 
QRect normalGeometry () const const
 
void overrideWindowFlags (Qt::WindowFlags flags)
 
virtual QPaintEnginepaintEngine () const const override
 
const QPalettepalette () const const
 
QWidgetparentWidget () const const
 
QPoint pos () const const
 
QWidgetpreviousInFocusChain () const const
 
 QWIDGETSIZE_MAX QWIDGETSIZE_MAX
 
void raise ()
 
QRect rect () const const
 
void releaseKeyboard ()
 
void releaseMouse ()
 
void releaseShortcut (int id)
 
void removeAction (QAction *action)
 
void render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags)
 
void render (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags)
 
void repaint ()
 
void repaint (const QRect &rect)
 
void repaint (const QRegion &rgn)
 
void repaint (int x, int y, int w, int h)
 
void resize (const QSize &)
 
void resize (int w, int h)
 
bool restoreGeometry (const QByteArray &geometry)
 
QByteArray saveGeometry () const const
 
QScreenscreen () const const
 
void scroll (int dx, int dy)
 
void scroll (int dx, int dy, const QRect &r)
 
void setAcceptDrops (bool on)
 
void setAccessibleDescription (const QString &description)
 
void setAccessibleName (const QString &name)
 
void setAttribute (Qt::WidgetAttribute attribute, bool on)
 
void setAutoFillBackground (bool enabled)
 
void setBackgroundRole (QPalette::ColorRole role)
 
void setBaseSize (const QSize &)
 
void setBaseSize (int basew, int baseh)
 
void setContentsMargins (const QMargins &margins)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setContextMenuPolicy (Qt::ContextMenuPolicy policy)
 
void setCursor (const QCursor &)
 
void setDisabled (bool disable)
 
void setEditFocus (bool enable)
 
void setEnabled (bool)
 
void setFixedHeight (int h)
 
void setFixedSize (const QSize &s)
 
void setFixedSize (int w, int h)
 
void setFixedWidth (int w)
 
void setFocus ()
 
void setFocus (Qt::FocusReason reason)
 
void setFocusPolicy (Qt::FocusPolicy policy)
 
void setFocusProxy (QWidget *w)
 
void setFont (const QFont &)
 
void setForegroundRole (QPalette::ColorRole role)
 
void setGeometry (const QRect &)
 
void setGeometry (int x, int y, int w, int h)
 
void setGraphicsEffect (QGraphicsEffect *effect)
 
void setHidden (bool hidden)
 
void setInputMethodHints (Qt::InputMethodHints hints)
 
void setLayout (QLayout *layout)
 
void setLayoutDirection (Qt::LayoutDirection direction)
 
void setLocale (const QLocale &locale)
 
void setMask (const QBitmap &bitmap)
 
void setMask (const QRegion &region)
 
void setMaximumHeight (int maxh)
 
void setMaximumSize (const QSize &)
 
void setMaximumSize (int maxw, int maxh)
 
void setMaximumWidth (int maxw)
 
void setMinimumHeight (int minh)
 
void setMinimumSize (const QSize &)
 
void setMinimumSize (int minw, int minh)
 
void setMinimumWidth (int minw)
 
void setMouseTracking (bool enable)
 
void setPalette (const QPalette &)
 
void setParent (QWidget *parent)
 
void setParent (QWidget *parent, Qt::WindowFlags f)
 
void setShortcutAutoRepeat (int id, bool enable)
 
void setShortcutEnabled (int id, bool enable)
 
void setSizeIncrement (const QSize &)
 
void setSizeIncrement (int w, int h)
 
void setSizePolicy (QSizePolicy)
 
void setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
 
void setStatusTip (const QString &)
 
void setStyle (QStyle *style)
 
void setStyleSheet (const QString &styleSheet)
 
void setTabletTracking (bool enable)
 
void setToolTip (const QString &)
 
void setToolTipDuration (int msec)
 
void setUpdatesEnabled (bool enable)
 
void setupUi (QWidget *widget)
 
virtual void setVisible (bool visible)
 
void setWhatsThis (const QString &)
 
void setWindowFilePath (const QString &filePath)
 
void setWindowFlag (Qt::WindowType flag, bool on)
 
void setWindowFlags (Qt::WindowFlags type)
 
void setWindowIcon (const QIcon &icon)
 
void setWindowIconText (const QString &)
 
void setWindowModality (Qt::WindowModality windowModality)
 
void setWindowModified (bool)
 
void setWindowOpacity (qreal level)
 
void setWindowRole (const QString &role)
 
void setWindowState (Qt::WindowStates windowState)
 
void setWindowTitle (const QString &)
 
void show ()
 
void showFullScreen ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
QSize size () const const
 
virtual QSize sizeHint () const const
 
QSize sizeIncrement () const const
 
QSizePolicy sizePolicy () const const
 
void stackUnder (QWidget *w)
 
QString statusTip () const const
 
QStylestyle () const const
 
QString styleSheet () const const
 
bool testAttribute (Qt::WidgetAttribute attribute) const const
 
QString toolTip () const const
 
int toolTipDuration () const const
 
QWidgettopLevelWidget () const const
 
bool underMouse () const const
 
void ungrabGesture (Qt::GestureType gesture)
 
void unsetCursor ()
 
void unsetLayoutDirection ()
 
void unsetLocale ()
 
void update ()
 
void update (const QRect &rect)
 
void update (const QRegion &rgn)
 
void update (int x, int y, int w, int h)
 
void updateGeometry ()
 
bool updatesEnabled () const const
 
QRegion visibleRegion () const const
 
QString whatsThis () const const
 
int width () const const
 
QWidgetwindow () const const
 
QString windowFilePath () const const
 
Qt::WindowFlags windowFlags () const const
 
QWindowwindowHandle () const const
 
QIcon windowIcon () const const
 
void windowIconChanged (const QIcon &icon)
 
QString windowIconText () const const
 
void windowIconTextChanged (const QString &iconText)
 
Qt::WindowModality windowModality () const const
 
qreal windowOpacity () const const
 
QString windowRole () const const
 
Qt::WindowStates windowState () const const
 
QString windowTitle () const const
 
void windowTitleChanged (const QString &title)
 
Qt::WindowType windowType () const const
 
WId winId () const const
 
int x () const const
 
int y () const const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo ()
 
void dumpObjectInfo () const const
 
void dumpObjectTree ()
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegExp &regExp, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_DISABLE_COPY (Class)
 
 Q_DISABLE_COPY_MOVE (Class)
 
 Q_DISABLE_MOVE (Class)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qFindChild (const QObject *obj, const QString &name)
 
QList< T > qFindChildren (const QObject *obj, const QRegExp &regExp)
 
QList< T > qFindChildren (const QObject *obj, const QString &name)
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds time, Qt::TimerType timerType)
 
QThreadthread () const const
 
- Public Member Functions inherited from QPaintDevice
int colorCount () const const
 
int depth () const const
 
int devicePixelRatio () const const
 
qreal devicePixelRatioF () const const
 
int height () const const
 
int heightMM () const const
 
int logicalDpiX () const const
 
int logicalDpiY () const const
 
bool paintingActive () const const
 
int physicalDpiX () const const
 
int physicalDpiY () const const
 
int width () const const
 
int widthMM () const const
 

Static Public Member Functions

static QString meridianFlipStatusString (MeridianFlipStatus status)
 
- Static Public Member Functions inherited from QWidget
QWidgetcreateWindowContainer (QWindow *window, QWidget *parent, Qt::WindowFlags flags)
 
QWidgetfind (WId id)
 
QWidgetkeyboardGrabber ()
 
QWidgetmouseGrabber ()
 
void setTabOrder (QWidget *first, QWidget *second)
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Public Attributes

double initialPositionHA
 
- Public Attributes inherited from QWidget
 DrawChildren
 
 DrawWindowBackground
 
 IgnoreMask
 
typedef RenderFlags
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- Public Attributes inherited from QPaintDevice
 PdmDepth
 
 PdmDevicePixelRatio
 
 PdmDevicePixelRatioScaled
 
 PdmDpiX
 
 PdmDpiY
 
 PdmHeight
 
 PdmHeightMM
 
 PdmNumColors
 
 PdmPhysicalDpiX
 
 PdmPhysicalDpiY
 
 PdmWidth
 
 PdmWidthMM
 

Additional Inherited Members

- Protected Member Functions inherited from QWidget
virtual void actionEvent (QActionEvent *event)
 
virtual void changeEvent (QEvent *event)
 
virtual void closeEvent (QCloseEvent *event)
 
virtual void contextMenuEvent (QContextMenuEvent *event)
 
void create (WId window, bool initializeWindow, bool destroyOldWindow)
 
void destroy (bool destroyWindow, bool destroySubWindows)
 
virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dragLeaveEvent (QDragLeaveEvent *event)
 
virtual void dragMoveEvent (QDragMoveEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
virtual void enterEvent (QEvent *event)
 
virtual bool event (QEvent *event) override
 
virtual void focusInEvent (QFocusEvent *event)
 
bool focusNextChild ()
 
virtual bool focusNextPrevChild (bool next)
 
virtual void focusOutEvent (QFocusEvent *event)
 
bool focusPreviousChild ()
 
virtual void hideEvent (QHideEvent *event)
 
virtual void initPainter (QPainter *painter) const const override
 
virtual void inputMethodEvent (QInputMethodEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void leaveEvent (QEvent *event)
 
virtual int metric (QPaintDevice::PaintDeviceMetric m) const const override
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void moveEvent (QMoveEvent *event)
 
virtual bool nativeEvent (const QByteArray &eventType, void *message, long *result)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void showEvent (QShowEvent *event)
 
virtual void tabletEvent (QTabletEvent *event)
 
void updateMicroFocus ()
 
virtual void wheelEvent (QWheelEvent *event)
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

Supports controlling INDI telescope devices including setting/retrieving mount properties, slewing, motion and speed controls, in addition to enforcing altitude limits and parking/unparking.

Author
Jasem Mutlaq
Version
1.5

Definition at line 31 of file mount.h.

Property Documentation

◆ hourAngle

double Ekos::Mount::hourAngle
read

Mount::hourAngle.

Returns
returns the current mount hour angle in hours in the range -12 to +12

Definition at line 46 of file mount.h.

Constructor & Destructor Documentation

◆ Mount()

Ekos::Mount::Mount ( )

Use instead of KDeclarative

Definition at line 49 of file mount.cpp.

Member Function Documentation

◆ abort()

bool Ekos::Mount::abort ( )

DBUS interface function.

Aborts the mount motion

Returns
true if the command is sent successfully, false otherwise.

Definition at line 1667 of file mount.cpp.

◆ addGPS()

bool Ekos::Mount::addGPS ( ISD::GPS *  device)

addGPS Add a new GPS device

Parameters
devicepointer to gps device
Returns
True if added successfully, false if duplicate or failed to add.

Definition at line 338 of file mount.cpp.

◆ addMount()

bool Ekos::Mount::addMount ( ISD::Mount device)

addMount Add a new Mount device

Parameters
devicepointer to mount device
Returns
True if added successfully, false if duplicate or failed to add.

Definition at line 267 of file mount.cpp.

◆ altitudeLimits()

Q_SCRIPTABLE QList<double> Ekos::Mount::altitudeLimits ( )

DBUS interface function.

Returns the mount altitude limits.

Returns
Returns array of doubles. First item is minimum altitude in degrees. Second item is maximum altitude limit in degrees.

◆ altitudeLimitsEnabled()

Q_SCRIPTABLE bool Ekos::Mount::altitudeLimitsEnabled ( )

DBUS interface function.

Returns whether the mount limits are enabled or disabled.

Returns
True if enabled, false otherwise.

◆ autoParkEnabled()

Q_SCRIPTABLE bool Ekos::Mount::autoParkEnabled ( )

autoParkEnabled Check if auto-park is enabled.

Returns
True if enabled.

◆ canPark()

Q_INVOKABLE Q_SCRIPTABLE bool Ekos::Mount::canPark ( )

DBUS interface function.

Can mount park?

◆ checkMeridianFlip()

bool Ekos::Mount::checkMeridianFlip ( dms  lst)

Check if a meridian flip if necessary.

Mount::checkMeridianFlip This updates the Meridian Flip Status state machine using the LST supplied, the mount target position and the pier side if available.

Parameters
lstlocal sideral time
Returns
true if a meridian flip is necessary
Parameters
lst
Returns
true if a flip slew can be started, false otherwise

Definition at line 1311 of file mount.cpp.

◆ currentTarget()

SkyPoint Ekos::Mount::currentTarget ( )

DBUS interface function.

Get Horizontal coords.

Definition at line 1608 of file mount.cpp.

◆ disableAltLimits

void Ekos::Mount::disableAltLimits ( )
slot

disableAltLimits calls enableAltitudeLimits(false).

This function is mostly used to disable altitude limit once a meridial flip process is started.

Definition at line 1109 of file mount.cpp.

◆ disableHaLimits

void Ekos::Mount::disableHaLimits ( )
slot

disableAltLimits calls enableHourAngleLimits(false).

This function is mostly used to disable altitude limit once a meridial flip process is started.

Definition at line 1131 of file mount.cpp.

◆ doPulse

void Ekos::Mount::doPulse ( GuideDirection  ra_dir,
int  ra_msecs,
GuideDirection  dec_dir,
int  dec_msecs 
)
slot

Send a guide pulse to the telescope.

Parameters
ra_dirRA guide direction
ra_msecsduration of the RA guiding pulse in milliseconds
dec_dirdec guide direction
dec_msecsduration of the DEC guiding pulse in milliseconds

Definition at line 1000 of file mount.cpp.

◆ enableAltitudeLimits

void Ekos::Mount::enableAltitudeLimits ( bool  enable)
slot

enableAltitudeLimits Enable or disable altitude limits

Parameters
enableTrue to enable, false to disable.

Definition at line 1074 of file mount.cpp.

◆ enableAltLimits

void Ekos::Mount::enableAltLimits ( )
slot

enableAltLimits calls enableAltitudeLimits(true).

This function is mostly used to enable altitude limit after a meridian flip is complete.

Definition at line 1102 of file mount.cpp.

◆ enableHaLimits

void Ekos::Mount::enableHaLimits ( )
slot

enableHaLimits calls enableHourAngleLimits(true).

This function is mostly used to enable hour angle limit after a meridian flip is complete.

Definition at line 1124 of file mount.cpp.

◆ enableHourAngleLimits

void Ekos::Mount::enableHourAngleLimits ( bool  enable)
slot

enableHourAngleLimits Enable or disable hour angle limits

Parameters
enableTrue to enable, false to disable.

Definition at line 1116 of file mount.cpp.

◆ equatorialCoords()

Q_SCRIPTABLE QList<double> Ekos::Mount::equatorialCoords ( )

DBUS interface function.

Get equatorial coords (JNow). An array of doubles is returned. First element is RA in hours. Second elements is DEC in degrees.

◆ gotoTarget() [1/2]

bool Ekos::Mount::gotoTarget ( const QString target)

DBUS interface function.

Slew the mount to the target. Target name must be valid in KStars.

Parameters
targetname
Returns
true if the command is sent successfully, false otherwise.

Definition at line 1189 of file mount.cpp.

◆ gotoTarget [2/2]

bool Ekos::Mount::gotoTarget ( const SkyPoint target)
slot

gotoTarget Slew to target coordinates.

Parameters
targetTarget
Returns
True if slew successful, false otherwise.

Definition at line 1202 of file mount.cpp.

◆ horizontalCoords()

Q_SCRIPTABLE QList<double> Ekos::Mount::horizontalCoords ( )

DBUS interface function.

Get Horizontal coords. An array of doubles is returned. First element is Azimuth in degrees. Second elements is Altitude in degrees.

◆ hourAngle()

Q_SCRIPTABLE double Ekos::Mount::hourAngle ( )

DBUS interface function.

Get mount hour angle in hours (-12 to +12).

◆ hourAngleLimit()

Q_SCRIPTABLE double Ekos::Mount::hourAngleLimit ( )

DBUS interface function.

Returns the mount hour angle limit.

Returns
Returns hour angle limit in hours.

◆ hourAngleLimitEnabled()

Q_SCRIPTABLE bool Ekos::Mount::hourAngleLimitEnabled ( )

DBUS interface function.

Returns whether the mount limits are enabled or disabled.

Returns
True if enabled, false otherwise.

◆ initialHA()

Q_SCRIPTABLE double Ekos::Mount::initialHA ( )
inline

DBUS interface function.

Get the hour angle of that time the mount has slewed to the current position. This is used to manage the meridian flip for mounts which do not report pier side. only one attempt to flip is done.

Definition at line 284 of file mount.h.

◆ meridianFlipStatusString()

QString Ekos::Mount::meridianFlipStatusString ( MeridianFlipStatus  status)
static

meridianFlipStatusString

Parameters
status
Returns
return the string for the status

Definition at line 2157 of file mount.cpp.

◆ motionCommand

void Ekos::Mount::motionCommand ( int  command,
int  NS,
int  WE 
)
slot

move Issues motion command to the mount to move in a particular direction based the request NS and WE values

Parameters
commandEither ISD::Mount::MOTION_START (0) or ISD::Mount::MOTION_STOP (1)
NSis either -1 for no direction, or ISD::Mount::MOTION_NORTH (0), or ISD::Mount::MOTION_SOUTH (1)
WEis either -1 for no direction, or ISD::Mount::MOTION_WEST (0), or ISD::Mount::MOTION_EAST (1)

Definition at line 984 of file mount.cpp.

◆ newCoords

void Ekos::Mount::newCoords ( const SkyPoint position,
ISD::Mount::PierSide  pierSide,
const dms ha 
)
signal

Update event with the current telescope position.

Parameters
positionmount position. Independent from the mount type, the EQ coordinates(both JNow and J2000) as well as the alt/az values are filled.
piersidefor GEMs report the pier side the scope is currently (PierSide::PIER_WEST means the mount is on the western side of the pier pointing east of the meridian).
hacurrent hour angle

◆ newStatus

void Ekos::Mount::newStatus ( ISD::Mount::Status  status)
signal

Change in the mount status.

◆ newTarget

void Ekos::Mount::newTarget ( SkyPoint currentCoord)
signal

The mount has finished the slew to a new target.

Parameters
currentCoordsexact position where the mount is positioned

◆ newTargetName

void Ekos::Mount::newTargetName ( const QString name)
signal

The mount has finished the slew to a new target.

Parameters
NameName of object, if any, the mount is positioned at.

◆ paaStageChanged

void Ekos::Mount::paaStageChanged ( int  stage)
slot

React upon status changes of the polar alignment - mainly to avoid meridian flips happening during polar alignment.

Definition at line 882 of file mount.cpp.

◆ park()

bool Ekos::Mount::park ( )

DBUS interface function.

Park mount

Definition at line 1756 of file mount.cpp.

◆ registerNewModule

void Ekos::Mount::registerNewModule ( const QString name)
slot

registerNewModule Register an Ekos module as it arrives via DBus and create the appropriate DBus interface to communicate with it.

Parameters
nameof module

Definition at line 564 of file mount.cpp.

◆ resetModel()

bool Ekos::Mount::resetModel ( )

DBUS interface function.

Reset mount model if supported by the mount.

Returns
true if the command is executed successfully, false otherwise.

Definition at line 1960 of file mount.cpp.

◆ save

void Ekos::Mount::save ( )
slot

save Save telescope focal length and aperture in the INDI telescope driver configuration.

Definition at line 1006 of file mount.cpp.

◆ saveLimits

void Ekos::Mount::saveLimits ( )
slot

saveLimits Saves altitude limit to the user options and updates the INDI telescope driver limits

Definition at line 1065 of file mount.cpp.

◆ setAltitudeLimits()

void Ekos::Mount::setAltitudeLimits ( QList< double >  limits)

DBUS interface function.

Sets the mount altitude limits, and whether they are enabled or disabled.

Parameters
limitsis a list of double values. 2 values are expected: minAltitude & maxAltitude

Definition at line 1148 of file mount.cpp.

◆ setAltitudeLimitsEnabled()

void Ekos::Mount::setAltitudeLimitsEnabled ( bool  enable)

DBUS interface function.

Enable or disable mount altitude limits.

Definition at line 1154 of file mount.cpp.

◆ setAutoParkDailyEnabled()

void Ekos::Mount::setAutoParkDailyEnabled ( bool  enabled)

setAutoParkDailyEnabled toggles everyday Auto Park

Parameters
enabletrue to activate, false to deactivate

Definition at line 2048 of file mount.cpp.

◆ setAutoParkEnabled()

void Ekos::Mount::setAutoParkEnabled ( bool  enable)

setAutoParkEnabled Toggle Auto Park

Parameters
enableTrue to start, false to stop

Definition at line 2040 of file mount.cpp.

◆ setAutoParkStartup()

void Ekos::Mount::setAutoParkStartup ( QTime  startup)

setAutoParkStartup Set time when automatic parking is activated.

Parameters
startupStartup time. should not be more than 12 hours away.

Definition at line 2053 of file mount.cpp.

◆ setHourAngleLimit()

void Ekos::Mount::setHourAngleLimit ( double  limit)

DBUS interface function.

Sets the mount altitude limits, and whether they are enabled or disabled.

Parameters
limitsis a list of double values. 2 values are expected: minAltitude & maxAltitude

Definition at line 1169 of file mount.cpp.

◆ setHourAngleLimitEnabled()

void Ekos::Mount::setHourAngleLimitEnabled ( bool  enable)

DBUS interface function.

Enable or disable mount hour angle limit. Mount cannot slew and/or track past this hour angle distance.

Definition at line 1174 of file mount.cpp.

◆ setMeridianFlipValues

void Ekos::Mount::setMeridianFlipValues ( bool  activate,
double  hours 
)
slot

set meridian flip activation and hours

Parameters
activatetrue iff the meridian flip should be executed
hoursangle past the meridian when the flip should be delayed

Definition at line 870 of file mount.cpp.

◆ setTelescopeInfo()

void Ekos::Mount::setTelescopeInfo ( const QList< double > &  info)

DBUS interface function.

Set telescope and guide scope info and save them in INDI mount driver. All measurements is in millimeters.

Parameters
infoAn ordered 4-item list as following: primaryFocalLength Primary Telescope Focal Length. Set to 0 to skip setting this value. primaryAperture Primary Telescope Aperture. Set to 0 to skip setting this value. guideFocalLength Guide Telescope Focal Length. Set to 0 to skip setting this value. guideAperture Guide Telescope Aperture. Set to 0 to skip setting this value.

Definition at line 1731 of file mount.cpp.

◆ setTrackEnabled()

void Ekos::Mount::setTrackEnabled ( bool  enabled)

DBUS interface function.

Return parking status of the mount.

Definition at line 1990 of file mount.cpp.

◆ slew() [1/2]

bool Ekos::Mount::slew ( const QString RA,
const QString DEC 
)

Like above but RA and DEC are strings HH:MM:SS and DD:MM:SS.

Definition at line 1220 of file mount.cpp.

◆ slew() [2/2]

bool Ekos::Mount::slew ( double  RA,
double  DEC 
)

DBUS interface function.

Slew the mount to the RA/DEC (JNow).

Parameters
RARight ascention is hours.
DECDeclination in degrees.
Returns
true if the command is sent successfully, false otherwise.

Definition at line 1267 of file mount.cpp.

◆ slewRate()

Q_INVOKABLE Q_SCRIPTABLE int Ekos::Mount::slewRate ( )

DBUS interface function.

Get the mount slew rate index 0 to N-1, or -1 if slew rates are not supported.

◆ slewStatus()

Q_INVOKABLE Q_SCRIPTABLE IPState Ekos::Mount::slewStatus ( )

DBUS interface function.

Get the mount slew status ("Idle","Complete", "Busy", "Error")

◆ stopTimers

void Ekos::Mount::stopTimers ( )
slot

stopTimers Need to stop update timers when profile is disconnected but due to timing and race conditions, the timers can trigger an invalid access to INDI device.

Definition at line 2068 of file mount.cpp.

◆ sync() [1/2]

bool Ekos::Mount::sync ( const QString RA,
const QString DEC 
)

Like above but RA and DEC are strings HH:MM:SS and DD:MM:SS.

Definition at line 1614 of file mount.cpp.

◆ sync() [2/2]

bool Ekos::Mount::sync ( double  RA,
double  DEC 
)

DBUS interface function.

Sync the mount to the RA/DEC (JNow).

Parameters
RARight ascention is hours.
DECDeclination in degrees.
Returns
true if the command is sent successfully, false otherwise.

Definition at line 1659 of file mount.cpp.

◆ syncAxisReversed

void Ekos::Mount::syncAxisReversed ( INDI_EQ_AXIS  axis,
bool  reversed 
)
slot

syncAxisReversed Update Mount Control GUI on the reverse motion toggled state.

Parameters
axisRA (left/right) or DE (up/down)
reversedTrue if reversed, false otherwise.

Definition at line 2194 of file mount.cpp.

◆ syncTarget()

bool Ekos::Mount::syncTarget ( const QString target)

DBUS interface function.

Sync the mount to the target. Target name must be valid in KStars.

Parameters
targetname
Returns
true if the command is sent successfully, false otherwise.

Definition at line 1207 of file mount.cpp.

◆ syncTelescopeInfo

void Ekos::Mount::syncTelescopeInfo ( )
slot

syncTelescopeInfo Update telescope information to reflect any property changes

Definition at line 445 of file mount.cpp.

◆ telescopeInfo()

Q_INVOKABLE Q_SCRIPTABLE QList<double> Ekos::Mount::telescopeInfo ( )

DBUS interface function.

Get telescope and guide scope info. An array of doubles is returned in order. Primary Telescope Focal Length (mm), Primary Telescope Aperture (mm), Guide Telescope Focal Length (mm), Guide Telescope Aperture (mm)

◆ unpark()

bool Ekos::Mount::unpark ( )

DBUS interface function.

Unpark mount

Definition at line 1764 of file mount.cpp.

◆ updateLog

void Ekos::Mount::updateLog ( int  messageID)
slot

updateLog Update mount module log to include any messages arriving for the telescope driver

Parameters
messageIDID of the new message

Definition at line 970 of file mount.cpp.

◆ updateNumber

void Ekos::Mount::updateNumber ( INumberVectorProperty *  nvp)
slot

updateNumber Update number properties under watch in the mount module

Parameters
nvppointer to number property

Definition at line 814 of file mount.cpp.

◆ updateSwitch

void Ekos::Mount::updateSwitch ( ISwitchVectorProperty *  svp)
slot

updateSwitch Update switch properties under watch in the mount module

Parameters
svppointer to switch property

Definition at line 949 of file mount.cpp.

◆ updateTelescopeCoords

void Ekos::Mount::updateTelescopeCoords ( const SkyPoint position,
ISD::Mount::PierSide  pierSide,
const dms ha 
)
slot

updateTelescopeCoords is triggered by the ISD::Mount::newCoord() event and updates the displayed coordinates of the mount and to ensure mount is within altitude limits if the altitude limits are enabled.

The frequency of this update depends on the REFRESH parameter of the INDI mount device.

Parameters
positionlatest coordinates the mount reports it is pointing to
pierSidepierSide
hahour angle of the latest coordinates

Definition at line 599 of file mount.cpp.

◆ updateText

void Ekos::Mount::updateText ( ITextVectorProperty *  tvp)
slot

updateText Update text properties under watch in the mount module

Parameters
tvppointer to text property

Definition at line 575 of file mount.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:01:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.