Kstars

indiguider.h
1 /*
2  SPDX-FileCopyrightText: 2012 Jasem Mutlaq <[email protected]>
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  */
22 namespace ISD
23 {
24 class 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 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:03:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.