• 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
indifocuser.h
Go to the documentation of this file.
1 /* INDI Focuser
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 INDIFOCUSER_H
11 #define INDIFOCUSER_H
12 
13 #include "indistd.h"
14 
15 namespace ISD
16 {
17 
18 class Focuser : public DeviceDecorator
19 {
20  Q_OBJECT
21 
22 public:
23  Focuser(GDInterface *iPtr) : DeviceDecorator(iPtr) { dType = KSTARS_FOCUSER;}
24 
25  void processSwitch(ISwitchVectorProperty *svp);
26  void processText(ITextVectorProperty* tvp);
27  void processNumber(INumberVectorProperty *nvp);
28  void processLight(ILightVectorProperty *lvp);
29 
30  DeviceFamily getType() { return dType;}
31 
32  bool focusIn();
33  bool focusOut();
34  bool moveFocuser(int secs);
35  bool absMoveFocuser(int steps);
36  bool canAbsMove();
37 
38 };
39 
40 }
41 
42 #endif // INDIFOCUSER_H
ISD::DeviceDecorator
Definition: indistd.h:152
DeviceFamily
DeviceFamily
Definition: indicommon.h:66
ISD::Focuser::processSwitch
void processSwitch(ISwitchVectorProperty *svp)
Definition: indifocuser.cpp:29
KSTARS_FOCUSER
Definition: indicommon.h:66
ISD::Focuser
Definition: indifocuser.h:18
ISD::Focuser::absMoveFocuser
bool absMoveFocuser(int steps)
Definition: indifocuser.cpp:98
ISD::Focuser::Focuser
Focuser(GDInterface *iPtr)
Definition: indifocuser.h:23
ISD::Focuser::processNumber
void processNumber(INumberVectorProperty *nvp)
Definition: indifocuser.cpp:23
ISD::Focuser::processText
void processText(ITextVectorProperty *tvp)
Definition: indifocuser.cpp:35
ISD::Focuser::focusIn
bool focusIn()
Definition: indifocuser.cpp:40
ISD::Focuser::getType
DeviceFamily getType()
Definition: indifocuser.h:30
ISD::Focuser::canAbsMove
bool canAbsMove()
Definition: indifocuser.cpp:111
ISD::Focuser::processLight
void processLight(ILightVectorProperty *lvp)
Definition: indifocuser.cpp:18
ISD::GDInterface::dType
DeviceFamily dType
Definition: indistd.h:78
indistd.h
ISD::Focuser::focusOut
bool focusOut()
Definition: indifocuser.cpp:63
ISD::Focuser::moveFocuser
bool moveFocuser(int secs)
Definition: indifocuser.cpp:85
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:19 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