Instrument Neutral Distributed Interface INDI  2.0.2
List of all members
iEQ::Simulator Class Reference

#include <ieqdriverbase.h>

Inheritance diagram for iEQ::Simulator:
iEQ::Base

Additional Inherited Members

- Public Member Functions inherited from iEQ::Base
 Base ()
 
virtual ~Base ()=default
 
void setDebugEnabled (bool enable)
 
void setDeviceName (const std::string &name)
 
const char * getDeviceName ()
 
bool getStatus (Info *info)
 
bool getModel ()
 
bool getMainFirmware ()
 
bool getRADEFirmware ()
 
bool getCoords (double *ra, double *dec)
 
bool getUTCDateTime (double *utc_hours, int *yy, int *mm, int *dd, int *hh, int *minute, int *ss)
 
const FirmwareInfogetFirmwareInfo () const
 
bool getPierSide (IEQ_PIER_SIDE *pierSide)
 
bool initCommunication (int fd)
 initCommunication Checks if communication with the mount is working More...
 
bool sendCommand (const char *cmd, char *res=nullptr, int cmd_len=-1, int res_len=-1)
 sendCommand Send a string command to device. More...
 
void hexDump (char *buf, const char *data, int size)
 hexDump Helper function to print non-string commands to the logger so it is easier to debug More...
 
bool isCommandSupported (const std::string &command, bool silent=false)
 isCommandSupported Check if specific iOptron command is supported for this mount model More...
 
virtual bool startMotion (Direction dir)
 
virtual bool stopMotion (Direction dir)
 
virtual bool setSlewRate (SlewRate rate)
 
virtual bool setCustomRATrackRate (double rate)
 
virtual bool setTrackMode (TrackRate rate)
 
virtual bool setTrackEnabled (bool enabled)
 
virtual bool abort ()
 
virtual bool slew ()
 
virtual bool sync ()
 
virtual bool setRA (double ra)
 
virtual bool setDE (double dec)
 
virtual bool setAz (double az)
 
virtual bool setAlt (double alt)
 
virtual bool findHome ()
 
virtual bool gotoHome ()
 
virtual bool setCurrentHome ()
 
virtual bool park ()
 
virtual bool unpark ()
 
virtual bool setParkAz (double az)
 
virtual bool setParkAlt (double alt)
 
virtual bool setGuideRate (double raRate, double deRate)
 
virtual bool getGuideRate (double *raRate, double *deRate)
 
virtual bool startGuide (Direction dir, uint32_t ms)
 
virtual bool setLongitude (double longitude)
 
virtual bool setLatitude (double latitude)
 
virtual bool setLocalDate (int yy, int mm, int dd)
 
virtual bool setLocalTime (int hh, int mm, int ss)
 
virtual bool setUTCOffset (double offset_hours)
 
virtual bool setDST (bool enabled)
 
- Protected Member Functions inherited from iEQ::Base
double DecodeString (const char *data, size_t size, double factor)
 DecodeString converts the string to a double by dividing by the factor. More...
 
int DecodeString (const char *data, size_t size)
 DecodeString converts a string of defined size to an int. More...
 
- Protected Attributes inherited from iEQ::Base
int m_PortFD {-1}
 
std::string m_DeviceName { "iEQ" }
 
bool m_IsDebug { false }
 
FirmwareInfo m_FirmwareInfo
 
const std::vector< MountInfom_MountList
 
- Static Protected Attributes inherited from iEQ::Base
static const uint8_t DRIVER_TIMEOUT { 3 }
 
static const uint8_t DRIVER_LEN { 64 }
 
static const char DRIVER_STOP_CHAR { '#' }
 
constexpr static const double ieqDegrees { 60.0 * 60.0 * 100.0 }
 
constexpr static const double ieqHours { 60.0 * 60.0 * 1000.0 }
 

Detailed Description

Definition at line 279 of file ieqdriverbase.h.


The documentation for this class was generated from the following file: