Instrument Neutral Distributed Interface INDI  2.0.2
lx200autostar.h
Go to the documentation of this file.
1 /*
2  LX200 Autostar
3  Copyright (C) 2003 Jasem Mutlaq (mutlaqja@ikarustech.com)
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 
19 */
20 
21 #pragma once
22 
23 #include "lx200generic.h"
24 
26 {
27  public:
28  LX200Autostar();
29 
30  const char *getDefaultName() override;
31  //virtual void ISGetProperties(const char *dev) override;
32  //virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override;
33  //virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override;
34  virtual void getBasicData() override;
35 
36  protected:
37  virtual bool initProperties() override;
38  virtual bool updateProperties() override;
39 
40  virtual bool SetFocuserSpeed(int speed) override;
41 
43  IText VersionT[5] {};
44 
45  // INumberVectorProperty FocusSpeedNP;
46  // INumber FocusSpeedN[1];
47 };
virtual void getBasicData() override
IText VersionT[5]
Definition: lx200autostar.h:43
virtual bool SetFocuserSpeed(int speed) override
SetFocuserSpeed Set Focuser speed.
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
virtual bool initProperties() override
Called to initialize basic properties required all the time.
const char * getDefaultName() override
ITextVectorProperty VersionTP
Definition: lx200autostar.h:42
One text descriptor.
Text vector property descriptor.
Definition: indiapi.h:246