kstars
LX200Generic Class Reference
#include <lx200generic.h>

Public Member Functions | |
int | checkPower (ITextVectorProperty *tp) |
int | checkPower (ISwitchVectorProperty *sp) |
int | checkPower (INumberVectorProperty *np) |
void | correctFault () |
void | enableSimulation (bool enable) |
void | getAlignment () |
virtual void | getBasicData () |
int | getOnSwitch (ISwitchVectorProperty *sp) |
int | handleCoordSet () |
void | handleError (ITextVectorProperty *tvp, int err, const char *msg) |
void | handleError (INumberVectorProperty *nvp, int err, const char *msg) |
void | handleError (ISwitchVectorProperty *svp, int err, const char *msg) |
virtual void | ISGetProperties (const char *dev) |
virtual void | ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) |
virtual void | ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
virtual void | ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) |
virtual void | ISPoll () |
bool | isTelescopeOn (void) |
LX200Generic () | |
void | powerTelescope () |
void | setCurrentDeviceName (const char *devName) |
void | slewError (int slewCode) |
void | updateLocation () |
void | updateTime () |
virtual | ~LX200Generic () |
Protected Attributes | |
double | currentDEC |
double | currentRA |
int | currentSet |
int | currentSiteNum |
bool | fault |
double | JD |
double | lastDEC |
int | lastMove [4] |
double | lastRA |
int | lastSet |
struct tm * | localTM |
bool | simulation |
double | targetDEC |
double | targetRA |
char | thisDevice [64] |
int | timeFormat |
int | trackingMode |
double | UTCOffset |
Detailed Description
Definition at line 30 of file lx200generic.h.
Constructor & Destructor Documentation
LX200Generic::LX200Generic | ( | ) |
Definition at line 302 of file lx200generic.cpp.
virtual LX200Generic::~LX200Generic | ( | ) | [inline, virtual] |
Definition at line 34 of file lx200generic.h.
Member Function Documentation
int LX200Generic::checkPower | ( | ITextVectorProperty * | tp | ) |
Definition at line 1698 of file lx200generic.cpp.
int LX200Generic::checkPower | ( | ISwitchVectorProperty * | sp | ) |
Definition at line 1658 of file lx200generic.cpp.
int LX200Generic::checkPower | ( | INumberVectorProperty * | np | ) |
Definition at line 1677 of file lx200generic.cpp.
void LX200Generic::correctFault | ( | ) |
Definition at line 1239 of file lx200generic.cpp.
void LX200Generic::enableSimulation | ( | bool | enable | ) |
Definition at line 1815 of file lx200generic.cpp.
void LX200Generic::getAlignment | ( | ) |
Definition at line 1783 of file lx200generic.cpp.
void LX200Generic::getBasicData | ( | void | ) | [virtual] |
Reimplemented in LX200_16, LX200Autostar, LX200Classic, and LX200GPS.
Definition at line 1463 of file lx200generic.cpp.
int LX200Generic::getOnSwitch | ( | ISwitchVectorProperty * | sp | ) |
Definition at line 1648 of file lx200generic.cpp.
int LX200Generic::handleCoordSet | ( | ) |
Definition at line 1515 of file lx200generic.cpp.
void LX200Generic::handleError | ( | ITextVectorProperty * | tvp, | |
int | err, | |||
const char * | msg | |||
) |
Definition at line 1206 of file lx200generic.cpp.
void LX200Generic::handleError | ( | INumberVectorProperty * | nvp, | |
int | err, | |||
const char * | msg | |||
) |
Definition at line 1174 of file lx200generic.cpp.
void LX200Generic::handleError | ( | ISwitchVectorProperty * | svp, | |
int | err, | |||
const char * | msg | |||
) |
Definition at line 1142 of file lx200generic.cpp.
void LX200Generic::ISGetProperties | ( | const char * | dev | ) | [virtual] |
Reimplemented in LX200_16, LX200Autostar, LX200Classic, and LX200GPS.
Definition at line 343 of file lx200generic.cpp.
void LX200Generic::ISNewNumber | ( | const char * | dev, | |
const char * | name, | |||
double | values[], | |||
char * | names[], | |||
int | n | |||
) | [virtual] |
Reimplemented in LX200_16, LX200Autostar, LX200Classic, and LX200GPS.
Definition at line 523 of file lx200generic.cpp.
void LX200Generic::ISNewSwitch | ( | const char * | dev, | |
const char * | name, | |||
ISState * | states, | |||
char * | names[], | |||
int | n | |||
) | [virtual] |
Reimplemented in LX200_16, LX200Autostar, LX200Classic, and LX200GPS.
Definition at line 769 of file lx200generic.cpp.
void LX200Generic::ISNewText | ( | const char * | dev, | |
const char * | name, | |||
char * | texts[], | |||
char * | names[], | |||
int | n | |||
) | [virtual] |
Reimplemented in LX200_16, LX200Autostar, LX200Classic, and LX200GPS.
Definition at line 386 of file lx200generic.cpp.
void LX200Generic::ISPoll | ( | ) | [virtual] |
Reimplemented in LX200_16, LX200Autostar, LX200Classic, and LX200GPS.
Definition at line 1273 of file lx200generic.cpp.
bool LX200Generic::isTelescopeOn | ( | void | ) |
Definition at line 1247 of file lx200generic.cpp.
void LX200Generic::powerTelescope | ( | ) |
Definition at line 1719 of file lx200generic.cpp.
void LX200Generic::setCurrentDeviceName | ( | const char * | devName | ) |
Definition at line 337 of file lx200generic.cpp.
void LX200Generic::slewError | ( | int | slewCode | ) |
Definition at line 1767 of file lx200generic.cpp.
void LX200Generic::updateLocation | ( | ) |
Definition at line 2000 of file lx200generic.cpp.
void LX200Generic::updateTime | ( | ) |
Definition at line 1825 of file lx200generic.cpp.
Member Data Documentation
double LX200Generic::currentDEC [protected] |
Definition at line 69 of file lx200generic.h.
double LX200Generic::currentRA [protected] |
Definition at line 68 of file lx200generic.h.
int LX200Generic::currentSet [protected] |
Definition at line 82 of file lx200generic.h.
int LX200Generic::currentSiteNum [protected] |
Definition at line 64 of file lx200generic.h.
bool LX200Generic::fault [protected] |
Definition at line 75 of file lx200generic.h.
double LX200Generic::JD [protected] |
Definition at line 67 of file lx200generic.h.
double LX200Generic::lastDEC [protected] |
Definition at line 73 of file lx200generic.h.
int LX200Generic::lastMove[4] [protected] |
Definition at line 84 of file lx200generic.h.
double LX200Generic::lastRA [protected] |
Definition at line 72 of file lx200generic.h.
int LX200Generic::lastSet [protected] |
Definition at line 83 of file lx200generic.h.
struct tm* LX200Generic::localTM [read, protected] |
Definition at line 78 of file lx200generic.h.
bool LX200Generic::simulation [protected] |
Definition at line 76 of file lx200generic.h.
double LX200Generic::targetDEC [protected] |
Definition at line 71 of file lx200generic.h.
double LX200Generic::targetRA [protected] |
Definition at line 70 of file lx200generic.h.
char LX200Generic::thisDevice[64] [protected] |
Definition at line 80 of file lx200generic.h.
int LX200Generic::timeFormat [protected] |
Definition at line 63 of file lx200generic.h.
int LX200Generic::trackingMode [protected] |
Definition at line 65 of file lx200generic.h.
double LX200Generic::UTCOffset [protected] |
Definition at line 74 of file lx200generic.h.
The documentation for this class was generated from the following files: