Debian Codegraph @

drivers/rotator/wanderer_rotator_lite.h

raw symbols SCIP
1 /*
2 WandererAstro WandererRotatorLite
3 Copyright (C) 2022 Frank Wang ([email protected])
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 "defaultdevice.h"cxx . . $ `<file>/libs/indibase/defaultdevice.h`/
24 #include "indirotator.h"cxx . . $ `<file>/libs/indibase/indirotator.h`/
25 #include "indirotatorinterface.h"cxx . . $ `<file>/libs/indibase/indirotatorinterface.h`/
26 #include "indipropertyswitch.h"cxx . . $ `<file>/libs/indidevice/property/indipropertyswitch.h`/
27 class WandererRotatorLitecxx . . $ WandererRotatorLite# : public INDIcxx . . $ INDI/::Rotatorcxx . . $ INDI/Rotator#
28 {
29 public:
30 WandererRotatorLitecxx . . $ WandererRotatorLite#WandererRotatorLite(49f6e7a06ebc5aa8).();
31
32 virtual bool initPropertiescxx . . $ WandererRotatorLite#initProperties(c9857a73d68e59ba).() override;
33 virtual bool updatePropertiescxx . . $ WandererRotatorLite#updateProperties(c9857a73d68e59ba).() override;
34 virtual bool ISNewSwitchcxx . . $ WandererRotatorLite#ISNewSwitch(e439c05866add404).(const char *dev, const char *name, ISStatecxx . . $ ISState# *states, char *names[], int n) override;
35
36
37
38
39 protected:
40 const char * getDefaultNamecxx . . $ WandererRotatorLite#getDefaultName(33a1f659e94feb42).() override;
41 virtual IPStatecxx . . $ IPState# MoveRotatorcxx . . $ WandererRotatorLite#MoveRotator(962e0c922eecd788).(double angle) override;
42 virtual IPStatecxx . . $ IPState# HomeRotatorcxx . . $ WandererRotatorLite#HomeRotator(dd764fd8e59c78c4).() override;
43 virtual bool ReverseRotatorcxx . . $ WandererRotatorLite#ReverseRotator(efaadfb7dc14930a).(bool enabled) override;
44
45 virtual bool AbortRotatorcxx . . $ WandererRotatorLite#AbortRotator(c9857a73d68e59ba).() override;
46 virtual void TimerHitcxx . . $ WandererRotatorLite#TimerHit(49f6e7a06ebc5aa8).() override;
47 virtual bool SetRotatorBacklashcxx . . $ WandererRotatorLite#SetRotatorBacklash(83c267b20bac841a).(int32_t steps) override;
48 virtual bool SetRotatorBacklashEnabledcxx . . $ WandererRotatorLite#SetRotatorBacklashEnabled(efaadfb7dc14930a).(bool enabled) override;
49
50
51 private:
52 bool Handshakecxx . . $ WandererRotatorLite#Handshake(c9857a73d68e59ba).() override;
53 bool sendCommandcxx . . $ WandererRotatorLite#sendCommand(c5f7da30cbc0f4e9).(const char *cmd);
54 bool Movecxx . . $ WandererRotatorLite#Move(c5f7da30cbc0f4e9).(const char *cmd);
55 ISwitchVectorPropertycxx . . $ ISwitchVectorProperty# HomeSPcxx . . $ WandererRotatorLite#HomeSP.;
56 ISwitchcxx . . $ ISwitch# HomeScxx . . $ WandererRotatorLite#HomeS.[1];
57 bool SetHomePositioncxx . . $ WandererRotatorLite#SetHomePosition(c9857a73d68e59ba).();
58 bool haltcommandcxx . . $ WandererRotatorLite#haltcommand. = false;
59 bool ReverseStatecxx . . $ WandererRotatorLite#ReverseState.;
60 double positiontempcxx . . $ WandererRotatorLite#positiontemp.;
61 int reversecoefficientcxx . . $ WandererRotatorLite#reversecoefficient.;
62 double backlashcxx . . $ WandererRotatorLite#backlash.;
63 double positionhistorycxx . . $ WandererRotatorLite#positionhistory.;
64 double backlashcompensationcxx . . $ WandererRotatorLite#backlashcompensation.;
65 int positioncountcxx . . $ WandererRotatorLite#positioncount.;
66 };
67
68
69
70
71
72