Instrument Neutral Distributed Interface INDI
2.0.2
drivers
telescope
skycommander.h
Go to the documentation of this file.
1
/*******************************************************************************
2
Copyright(c) 2017 Jasem Mutlaq. All rights reserved.
3
4
Simple SkyCommander DSC Driver
5
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Library General Public
8
License version 2 as published by the Free Software Foundation.
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
Library General Public License for more details.
14
.
15
You should have received a copy of the GNU Library General Public License
16
along with this library; see the file COPYING.LIB. If not, write to
17
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
Boston, MA 02110-1301, USA.
19
*******************************************************************************/
20
21
#pragma once
22
23
#include "
inditelescope.h
"
24
25
class
SkyCommander
:
public
INDI::Telescope
26
{
27
public
:
28
SkyCommander
();
29
virtual
~SkyCommander
() =
default
;
30
31
protected
:
32
virtual
const
char
*
getDefaultName
();
33
virtual
bool
Handshake
();
34
virtual
bool
ReadScopeStatus
();
35
};
INDI::Telescope
Definition:
inditelescope.h:72
SkyCommander
Definition:
skycommander.h:26
SkyCommander::getDefaultName
virtual const char * getDefaultName()
Definition:
skycommander.cpp:38
SkyCommander::Handshake
virtual bool Handshake()
perform handshake with device to check communication
Definition:
skycommander.cpp:43
SkyCommander::SkyCommander
SkyCommander()
Definition:
skycommander.cpp:33
SkyCommander::~SkyCommander
virtual ~SkyCommander()=default
SkyCommander::ReadScopeStatus
virtual bool ReadScopeStatus()
Read telescope status.
Definition:
skycommander.cpp:48
inditelescope.h
Generated on Sat May 13 2023 14:24:24 for Instrument Neutral Distributed Interface INDI by
1.9.1