Instrument Neutral Distributed Interface INDI
2.0.2
drivers
telescope
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
25
class
LX200Autostar
:
public
LX200Generic
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
42
ITextVectorProperty
VersionTP
;
43
IText
VersionT
[5] {};
44
45
// INumberVectorProperty FocusSpeedNP;
46
// INumber FocusSpeedN[1];
47
};
LX200Autostar
Definition:
lx200autostar.h:26
LX200Autostar::getBasicData
virtual void getBasicData() override
Definition:
lx200autostar.cpp:194
LX200Autostar::VersionT
IText VersionT[5]
Definition:
lx200autostar.h:43
LX200Autostar::SetFocuserSpeed
virtual bool SetFocuserSpeed(int speed) override
SetFocuserSpeed Set Focuser speed.
Definition:
lx200autostar.cpp:189
LX200Autostar::updateProperties
virtual bool updateProperties() override
Called when connected state changes, to add/remove properties.
Definition:
lx200autostar.cpp:85
LX200Autostar::initProperties
virtual bool initProperties() override
Called to initialize basic properties required all the time.
Definition:
lx200autostar.cpp:43
LX200Autostar::getDefaultName
const char * getDefaultName() override
Definition:
lx200autostar.cpp:38
LX200Autostar::LX200Autostar
LX200Autostar()
Definition:
lx200autostar.cpp:33
LX200Autostar::VersionTP
ITextVectorProperty VersionTP
Definition:
lx200autostar.h:42
LX200Generic
Definition:
lx200generic.h:26
lx200generic.h
IText
One text descriptor.
_ITextVectorProperty
Text vector property descriptor.
Definition:
indiapi.h:246
Generated on Sat May 13 2023 14:24:23 for Instrument Neutral Distributed Interface INDI by
1.9.1