• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • indi
inditelescope.h
Go to the documentation of this file.
1 /* INDI CCD
2  Copyright (C) 2012 Jasem Mutlaq <mutlaqja@ikarustech.com>
3 
4  This application is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8  */
9 
10 #ifndef INDITELESCOPE_H
11 #define INDITELESCOPE_H
12 
13 #include "indistd.h"
14 
15 namespace ISD
16 {
17 
18 
19 class Telescope : public DeviceDecorator
20 {
21  Q_OBJECT
22 
23 public:
24  Telescope(GDInterface *iPtr);
25  ~Telescope();
26 
27  void processSwitch(ISwitchVectorProperty *svp);
28  void processText(ITextVectorProperty* tvp);
29  void processNumber(INumberVectorProperty *nvp);
30 
31  DeviceFamily getType() { return dType;}
32 
33  // Common Commands
34  bool Slew(SkyPoint *ScopeTarget);
35  bool Slew(double ra, double dec);
36  bool Sync(SkyPoint *ScopeTarget);
37  bool Sync(double ra, double dec);
38  bool Abort();
39  bool Park();
40  bool canGuide();
41  bool canSync();
42  bool canPark();
43  bool isSlewing();
44  bool doPulse(GuideDirection ra_dir, int ra_msecs, GuideDirection dec_dir, int dec_msecs );
45  bool doPulse(GuideDirection dir, int msecs );
46  bool getEqCoords(double *ra, double *dec);
47 
48 protected:
49  bool sendCoords(SkyPoint *ScopeTarget);
50 
51 
52 public slots:
53  virtual bool runCommand(int command, void *ptr=NULL);
54 
55 private:
56 
57  SkyPoint currentCoord;
58 
59 };
60 
61 }
62 
63 #endif // INDITELESCOPE_H
ISD::DeviceDecorator
Definition: indistd.h:152
ISD::Telescope::~Telescope
~Telescope()
Definition: inditelescope.cpp:25
ISD::Telescope::canGuide
bool canGuide()
Definition: inditelescope.cpp:82
ISD::Telescope::processSwitch
void processSwitch(ISwitchVectorProperty *svp)
Definition: inditelescope.cpp:70
DeviceFamily
DeviceFamily
Definition: indicommon.h:66
ISD::Telescope::Telescope
Telescope(GDInterface *iPtr)
Definition: inditelescope.cpp:20
ISD::Telescope::isSlewing
bool isSlewing()
Definition: inditelescope.cpp:115
ISD::Telescope::canSync
bool canSync()
Definition: inditelescope.cpp:93
GuideDirection
GuideDirection
Definition: indicommon.h:23
ISD::Telescope::canPark
bool canPark()
Definition: inditelescope.cpp:104
ISD::Telescope::Park
bool Park()
Definition: inditelescope.cpp:393
SkyPoint
The sky coordinates of a point in the sky.
Definition: skypoint.h:50
ISD::Telescope::sendCoords
bool sendCoords(SkyPoint *ScopeTarget)
Definition: inditelescope.cpp:234
ISD::Telescope::processText
void processText(ITextVectorProperty *tvp)
Definition: inditelescope.cpp:76
ISD::Telescope::getType
DeviceFamily getType()
Definition: inditelescope.h:31
ISD::Telescope::Sync
bool Sync(SkyPoint *ScopeTarget)
Definition: inditelescope.cpp:356
ISD::Telescope
Definition: inditelescope.h:19
ISD::Telescope::Abort
bool Abort()
Definition: inditelescope.cpp:376
ISD::Telescope::doPulse
bool doPulse(GuideDirection ra_dir, int ra_msecs, GuideDirection dec_dir, int dec_msecs)
Definition: inditelescope.cpp:126
ISD::Telescope::Slew
bool Slew(SkyPoint *ScopeTarget)
Definition: inditelescope.cpp:322
ISD::GDInterface::dType
DeviceFamily dType
Definition: indistd.h:78
ISD::Telescope::processNumber
void processNumber(INumberVectorProperty *nvp)
Definition: inditelescope.cpp:29
indistd.h
ISD::Telescope::runCommand
virtual bool runCommand(int command, void *ptr=NULL)
Definition: inditelescope.cpp:204
ISD::Telescope::getEqCoords
bool getEqCoords(double *ra, double *dec)
Definition: inditelescope.cpp:410
ISD::GDInterface
Definition: indistd.h:48
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal