X2 Standard  Version 1.24
focusergotointerface2.h
1 #ifndef _FocuserGotoInterface2_H
2 #define _FocuserGotoInterface2_H
3 
4 #ifdef THESKYX_FOLDER_TREE
5 #include "components/basicstring/basicstringinterface.h"
6 #else
7 #include "../../licensedinterfaces/basicstringinterface.h"
8 #endif
9 
10 #define FocuserGotoInterface2_Name "com.bisque.TheSkyX.FocuserGotoInterface2/1.0"
11 
28 {
29 public:
30 
31  virtual ~FocuserGotoInterface2(){}
32 
33 public:
34 
36  virtual int focPosition(int& nPosition) =0;
38  virtual int focMinimumLimit(int& nMinLimit) =0;
40  virtual int focMaximumLimit(int& nMaxLimit) =0;
42  virtual int focAbort() =0;
43 
45  virtual int startFocGoto(const int& nRelativeOffset) = 0;
47  virtual int isCompleteFocGoto(bool& bComplete) const = 0;
49  virtual int endFocGoto(void) = 0;
50 
52  virtual int amountCountFocGoto(void) const = 0;
54  virtual int amountNameFromIndexFocGoto(const int& nZeroBasedIndex, BasicStringInterface& strDisplayName, int& nAmount)=0;
56  virtual int amountIndexFocGoto(void) =0;
57 
59  virtual void embeddedFocuserInit(const char* psFilterWheelSelection){(void)psFilterWheelSelection;}
60 
61 };
62 
63 #endif
FocuserGotoInterface2::amountNameFromIndexFocGoto
virtual int amountNameFromIndexFocGoto(const int &nZeroBasedIndex, BasicStringInterface &strDisplayName, int &nAmount)=0
FocuserGotoInterface2::focMinimumLimit
virtual int focMinimumLimit(int &nMinLimit)=0
FocuserGotoInterface2::focAbort
virtual int focAbort()=0
FocuserGotoInterface2::endFocGoto
virtual int endFocGoto(void)=0
FocuserGotoInterface2::startFocGoto
virtual int startFocGoto(const int &nRelativeOffset)=0
FocuserGotoInterface2::amountCountFocGoto
virtual int amountCountFocGoto(void) const =0
FocuserGotoInterface2::embeddedFocuserInit
virtual void embeddedFocuserInit(const char *psFilterWheelSelection)
Definition: focusergotointerface2.h:59
FocuserGotoInterface2::focMaximumLimit
virtual int focMaximumLimit(int &nMaxLimit)=0
FocuserGotoInterface2
The FocuserGotoInterface2 allows a focuser to perform a goto operation.
Definition: focusergotointerface2.h:28
FocuserGotoInterface2::isCompleteFocGoto
virtual int isCompleteFocGoto(bool &bComplete) const =0
FocuserGotoInterface2::focPosition
virtual int focPosition(int &nPosition)=0
BasicStringInterface
The BasicStringInterface allows a string as an output.
Definition: basicstringinterface.h:17
FocuserGotoInterface2::amountIndexFocGoto
virtual int amountIndexFocGoto(void)=0
X2 Examples
(C) Software Bisque, Inc. All rights reserved.