Kstars

indiguider.h
1/*
2 SPDX-FileCopyrightText: 2012 Jasem Mutlaq <mutlaqja@ikarustech.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5
6 INDI Guide Interface
7*/
8
9#pragma once
10
11#include "indiconcretedevice.h"
12
13/**
14 * @class Guide
15 * Guide is a special class that handles ST4 commands. Since ST4 functionality can be part of a stand alone ST4 device,
16 * or as part of a larger device as CCD or Telescope, it is handled separately to enable one ST4 device regardless of the parent device type.
17 *
18 * ST4 is a hardware port dedicated to sending guiding correction pulses to the mount.
19 *
20 * @author Jasem Mutlaq
21 */
22namespace ISD
23{
24class Guider : public ConcreteDevice
25{
26 public:
27 Guider(GenericDevice *parent);
28
29 bool doPulse(GuideDirection ra_dir, int ra_msecs, GuideDirection dec_dir, int dec_msecs);
30 bool doPulse(GuideDirection dir, int msecs);
31 void setDECSwap(bool enable);
32
33 private:
34 bool swapDEC { false };
35};
36
37}
ISD is a collection of INDI Standard Devices.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:45:35 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.