Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
INDI::GuiderInterface Class Referenceabstract

#include <indiguiderinterface.h>

Inheritance diagram for INDI::GuiderInterface:
ArduinoST4 AstroTrac CelestronGPS GPUSB IEQPro IEQProLegacy INDI::CCD IOptronV3 LX200Telescope LX200_TeenAstro MountDriver PMC8 Paramount Rainbow STAR2000 ScopeSim SkywatcherAPIMount SkywatcherAltAzSimple SynscanDriver TemmaMount TitanTCS

Public Member Functions

virtual IPState GuideNorth (uint32_t ms)=0
 Guide north for ms milliseconds. North is defined as DEC+. More...
 
virtual IPState GuideSouth (uint32_t ms)=0
 Guide south for ms milliseconds. South is defined as DEC-. More...
 
virtual IPState GuideEast (uint32_t ms)=0
 Guide east for ms milliseconds. East is defined as RA+. More...
 
virtual IPState GuideWest (uint32_t ms)=0
 Guide west for ms milliseconds. West is defined as RA-. More...
 
virtual void GuideComplete (INDI_EQ_AXIS axis)
 Call GuideComplete once the guiding pulse is complete. More...
 

Protected Member Functions

 GuiderInterface ()
 
 ~GuiderInterface ()
 
void initGuiderProperties (const char *deviceName, const char *groupName)
 Initilize guider properties. It is recommended to call this function within initProperties() of your primary device. More...
 
void processGuiderProperties (const char *name, double values[], char *names[], int n)
 Call this function whenever client updates GuideNSNP or GuideWSP properties in the primary device. This function then takes care of issuing the corresponding GuideXXXX function accordingly. More...
 

Protected Attributes

INumber GuideNSN [2]
 
INumberVectorProperty GuideNSNP
 
INumber GuideWEN [2]
 
INumberVectorProperty GuideWENP
 

Detailed Description

Definition at line 51 of file indiguiderinterface.h.

Constructor & Destructor Documentation

◆ GuiderInterface()

GuiderInterface::GuiderInterface ( )
protected

Definition at line 28 of file indiguiderinterface.cpp.

◆ ~GuiderInterface()

GuiderInterface::~GuiderInterface ( )
protected

Definition at line 32 of file indiguiderinterface.cpp.

Member Function Documentation

◆ GuideComplete()

void GuiderInterface::GuideComplete ( INDI_EQ_AXIS  axis)
virtual

Call GuideComplete once the guiding pulse is complete.

Parameters
axisAxis of completed guiding operation.

Reimplemented in INDI::CCD.

Definition at line 86 of file indiguiderinterface.cpp.

◆ GuideEast()

virtual IPState INDI::GuiderInterface::GuideEast ( uint32_t  ms)
pure virtual

Guide east for ms milliseconds. East is defined as RA+.

Returns
IPS_OK if operation is completed successfully, IPS_BUSY if operation will take take to complete, or IPS_ALERT if operation failed.

Implemented in GuideSim, CCDSim, SkywatcherAltAzSimple, INDI::CCD, TemmaMount, ScopeSim, SynscanDriver, SkywatcherAPIMount, Rainbow, PMC8, Paramount, LX200Telescope, LX200Pulsar2, LX200AstroPhysicsV2, LX200AstroPhysics, LX200_TeenAstro, IOptronV3, IEQProLegacy, IEQPro, TitanTCS, CelestronGPS, AstroTrac, MountDriver, STAR2000, GPUSB, and ArduinoST4.

◆ GuideNorth()

virtual IPState INDI::GuiderInterface::GuideNorth ( uint32_t  ms)
pure virtual

Guide north for ms milliseconds. North is defined as DEC+.

Returns
IPS_OK if operation is completed successfully, IPS_BUSY if operation will take take to complete, or IPS_ALERT if operation failed.

Implemented in GuideSim, CCDSim, SkywatcherAltAzSimple, INDI::CCD, TemmaMount, ScopeSim, SynscanDriver, SkywatcherAPIMount, Rainbow, PMC8, Paramount, LX200Telescope, LX200Pulsar2, LX200AstroPhysicsV2, LX200AstroPhysics, LX200_TeenAstro, IOptronV3, IEQProLegacy, IEQPro, TitanTCS, CelestronGPS, AstroTrac, MountDriver, STAR2000, GPUSB, and ArduinoST4.

◆ GuideSouth()

virtual IPState INDI::GuiderInterface::GuideSouth ( uint32_t  ms)
pure virtual

Guide south for ms milliseconds. South is defined as DEC-.

Returns
IPS_OK if operation is completed successfully, IPS_BUSY if operation will take take to complete, or IPS_ALERT if operation failed.

Implemented in GuideSim, CCDSim, SkywatcherAltAzSimple, INDI::CCD, TemmaMount, ScopeSim, SynscanDriver, SkywatcherAPIMount, Rainbow, PMC8, Paramount, LX200Telescope, LX200Pulsar2, LX200AstroPhysicsV2, LX200AstroPhysics, LX200_TeenAstro, IOptronV3, IEQProLegacy, IEQPro, TitanTCS, CelestronGPS, AstroTrac, MountDriver, STAR2000, GPUSB, and ArduinoST4.

◆ GuideWest()

virtual IPState INDI::GuiderInterface::GuideWest ( uint32_t  ms)
pure virtual

Guide west for ms milliseconds. West is defined as RA-.

Returns
IPS_OK if operation is completed successfully, IPS_BUSY if operation will take take to complete, or IPS_ALERT if operation failed.

Implemented in GuideSim, CCDSim, SkywatcherAltAzSimple, INDI::CCD, TemmaMount, ScopeSim, SynscanDriver, SkywatcherAPIMount, Rainbow, PMC8, Paramount, LX200Telescope, LX200Pulsar2, LX200AstroPhysicsV2, LX200AstroPhysics, LX200_TeenAstro, IOptronV3, IEQProLegacy, IEQPro, TitanTCS, CelestronGPS, AstroTrac, MountDriver, STAR2000, GPUSB, and ArduinoST4.

◆ initGuiderProperties()

void GuiderInterface::initGuiderProperties ( const char *  deviceName,
const char *  groupName 
)
protected

Initilize guider properties. It is recommended to call this function within initProperties() of your primary device.

Parameters
deviceNameName of the primary device
groupNameGroup or tab name to be used to define guider properties.

Definition at line 36 of file indiguiderinterface.cpp.

◆ processGuiderProperties()

void GuiderInterface::processGuiderProperties ( const char *  name,
double  values[],
char *  names[],
int  n 
)
protected

Call this function whenever client updates GuideNSNP or GuideWSP properties in the primary device. This function then takes care of issuing the corresponding GuideXXXX function accordingly.

Parameters
namedevice name
valuesvalue as passed by the client
namesnames as passed by the client
nnumber of values and names pair to process.

Definition at line 49 of file indiguiderinterface.cpp.

Member Data Documentation

◆ GuideNSN

INumber INDI::GuiderInterface::GuideNSN[2]
protected

Definition at line 111 of file indiguiderinterface.h.

◆ GuideNSNP

INumberVectorProperty INDI::GuiderInterface::GuideNSNP
protected

Definition at line 112 of file indiguiderinterface.h.

◆ GuideWEN

INumber INDI::GuiderInterface::GuideWEN[2]
protected

Definition at line 113 of file indiguiderinterface.h.

◆ GuideWENP

INumberVectorProperty INDI::GuiderInterface::GuideWENP
protected

Definition at line 114 of file indiguiderinterface.h.


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