X2 Standard  Version 1.24
theskyxfacadefordriversinterface.h
1 #ifndef _TheSkyXFacadeForDriversInterface_H
2 #define _TheSkyXFacadeForDriversInterface_H
3 
4 #define TheSkyXFacadeForDriversInterface_Name "com.bisque.TheSkyX.Components.TheSkyXFacadeForDriversInterface/1.0"
5 
7 
19 {
20 public:
21 
23 
25  enum Command
26  {
27  CURRENT_TARGET =100,
28  GET_X2UI =101,
29  UNGET_X2UI =102,
30  };
31 
32 //Properties
33 public:
35  virtual void version(char* pszOut, const int& nOutMaxSize) const=0;
40  virtual int build() const =0;
41 
43  virtual double latitude() const=0;
45  virtual double longitude() const=0;
47  virtual double timeZone() const=0;
49  virtual double elevation() const=0;
50 
51 //Methods
53  virtual double julianDate() const =0;
55  virtual double lst() const =0;
57  virtual double hourAngle(const double& dRAIn) const =0;
59  virtual int localDateTime(int& yy, int& mm, int& dd, int& h, int& min, double& sec, int& nIsDST) const =0;
60 
62  virtual int utInISO8601(char* pszOut, const int& nOutMaxSize) const=0;
64  virtual int localDateTime(char* pszOut, const int& nOutMaxSize) const=0;
65 
67  virtual int removeRefraction(double& dRa, double& dDec) const=0;
69  virtual int addRefraction(double& dRa, double& dDec) const=0;
70 
72  virtual int EqNowToJ2K(double& dRa, double& dDec) const=0;
74  virtual int EqToHz(const double& dRa, const double& dDec, double& dAz, double& dAlt) const=0;
76  virtual int HzToEq(const double& dAz, const double& dAlt, double& dRa, double& dDec) const=0;
77 
79  virtual void pathToWriteConfigFilesTo(char* pszOut, const int& nOutMaxSize) const=0;
81  virtual int doCommand(const int& command, void* pIn, void* pOut) const=0;
82 };
83 
84 #endif
TheSkyXFacadeForDriversInterface::EqToHz
virtual int EqToHz(const double &dRa, const double &dDec, double &dAz, double &dAlt) const =0
TheSkyXFacadeForDriversInterface::addRefraction
virtual int addRefraction(double &dRa, double &dDec) const =0
TheSkyXFacadeForDriversInterface::removeRefraction
virtual int removeRefraction(double &dRa, double &dDec) const =0
TheSkyXFacadeForDriversInterface::Command
Command
Definition: theskyxfacadefordriversinterface.h:26
TheSkyXFacadeForDriversInterface::pathToWriteConfigFilesTo
virtual void pathToWriteConfigFilesTo(char *pszOut, const int &nOutMaxSize) const =0
TheSkyXFacadeForDriversInterface::julianDate
virtual double julianDate() const =0
TheSkyXFacadeForDriversInterface::hourAngle
virtual double hourAngle(const double &dRAIn) const =0
TheSkyXFacadeForDriversInterface::elevation
virtual double elevation() const =0
TheSkyXFacadeForDriversInterface::version
virtual void version(char *pszOut, const int &nOutMaxSize) const =0
TheSkyXFacadeForDriversInterface::HzToEq
virtual int HzToEq(const double &dAz, const double &dAlt, double &dRa, double &dDec) const =0
TheSkyXFacadeForDriversInterface::utInISO8601
virtual int utInISO8601(char *pszOut, const int &nOutMaxSize) const =0
TheSkyXFacadeForDriversInterface::latitude
virtual double latitude() const =0
TheSkyXFacadeForDriversInterface
The TheSkyXFacadeForDriversInterface is a simplified interface to TheSkyX passed to X2 implementors.
Definition: theskyxfacadefordriversinterface.h:19
TheSkyXFacadeForDriversInterface::lst
virtual double lst() const =0
TheSkyXFacadeForDriversInterface::localDateTime
virtual int localDateTime(char *pszOut, const int &nOutMaxSize) const =0
TheSkyXFacadeForDriversInterface::localDateTime
virtual int localDateTime(int &yy, int &mm, int &dd, int &h, int &min, double &sec, int &nIsDST) const =0
TheSkyXFacadeForDriversInterface::EqNowToJ2K
virtual int EqNowToJ2K(double &dRa, double &dDec) const =0
TheSkyXFacadeForDriversInterface::timeZone
virtual double timeZone() const =0
TheSkyXFacadeForDriversInterface::doCommand
virtual int doCommand(const int &command, void *pIn, void *pOut) const =0
TheSkyXFacadeForDriversInterface::build
virtual int build() const =0
BasicStringInterface
The BasicStringInterface allows a string as an output.
Definition: basicstringinterface.h:17
TheSkyXFacadeForDriversInterface::longitude
virtual double longitude() const =0
X2 Examples
(C) Software Bisque, Inc. All rights reserved.