This class encapsulates all the alignment subsystem classes that are useful to driver implementations. Drivers should inherit from this class.
More...
|
| AlignmentSubsystemForDrivers () |
| Default constructor. More...
|
|
virtual | ~AlignmentSubsystemForDrivers () |
| Virtual destructor. More...
|
|
void | InitAlignmentProperties (Telescope *pTelescope) |
| Initilize alignment subsystem properties. More...
|
|
void | ProcessAlignmentBLOBProperties (Telescope *pTelescope, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) |
| Call this function from within the ISNewBlob processing path. More...
|
|
void | ProcessAlignmentNumberProperties (Telescope *pTelescope, const char *name, double values[], char *names[], int n) |
| Call this function from within the ISNewNumber processing path. More...
|
|
void | ProcessAlignmentSwitchProperties (Telescope *pTelescope, const char *name, ISState *states, char *names[], int n) |
| Call this function from within the ISNewSwitch processing path. More...
|
|
void | ProcessAlignmentTextProperties (Telescope *pTelescope, const char *name, char *texts[], char *names[], int n) |
| Call this function from within the ISNewText processing path. More...
|
|
void | SaveAlignmentConfigProperties (FILE *fp) |
| Call this function to save persistent alignment related properties. More...
|
|
virtual | ~MapPropertiesToInMemoryDatabase () |
| Virtual destructor. More...
|
|
void | InitProperties (Telescope *pTelescope) |
| Initialize alignment database properties. More...
|
|
void | ProcessBlobProperties (Telescope *pTelescope, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) |
| Call this function from within the ISNewBLOB processing path. More...
|
|
void | ProcessNumberProperties (Telescope *pTelescope, const char *name, double values[], char *names[], int n) |
| Call this function from within the ISNewNumber processing path. More...
|
|
void | ProcessSwitchProperties (Telescope *pTelescope, const char *name, ISState *states, char *names[], int n) |
| Call this function from within the ISNewSwitch processing path. More...
|
|
void | UpdateLocation (double latitude, double longitude, double elevation) |
| Call this function from within the updateLocation processing path. More...
|
|
void | UpdateSize () |
| Call this function when the number of entries in the database changes. More...
|
|
| InMemoryDatabase () |
| Default constructor. More...
|
|
virtual | ~InMemoryDatabase () |
| Virtual destructor. More...
|
|
bool | CheckForDuplicateSyncPoint (const AlignmentDatabaseEntry &CandidateEntry, double Tolerance=0.1) const |
| Check if a entry already exists in the database. More...
|
|
AlignmentDatabaseType & | GetAlignmentDatabase () |
| Get a reference to the in memory database. More...
|
|
bool | GetDatabaseReferencePosition (ln_lnlat_posn &Position) |
| Get the database reference position. More...
|
|
bool | LoadDatabase (const char *DeviceName) |
| Load the database from persistent storage. More...
|
|
bool | SaveDatabase (const char *DeviceName) |
| Save the database to persistent storage. More...
|
|
void | SetDatabaseReferencePosition (double Latitude, double Longitude) |
| Set the database reference position. More...
|
|
void | SetLoadDatabaseCallback (LoadDatabaseCallbackPointer_t CallbackPointer, void *ThisPointer) |
| Set the function to be called when the database is loaded or reloaded. More...
|
|
| MathPluginManagement () |
| Default constructor. More...
|
|
virtual | ~MathPluginManagement () |
| Virtual destructor. More...
|
|
void | InitProperties (Telescope *pTelescope) |
| Initialize alignment math plugin properties. More...
|
|
void | ProcessSwitchProperties (Telescope *pTelescope, const char *name, ISState *states, char *names[], int n) |
| Call this function from within the ISNewSwitch processing path. More...
|
|
void | ProcessTextProperties (Telescope *pTelescope, const char *name, char *texts[], char *names[], int n) |
| Call this function from within the ISNewText processing path. More...
|
|
void | SaveConfigProperties (FILE *fp) |
| Call this function to save persistent math plugin properties. More...
|
|
void | SetApproximateMountAlignmentFromMountType (MountType_t Type) |
| Call this function to set the ApproximateMountAlignment property of the current Math Plugin. More...
|
|
void | SetCurrentInMemoryDatabase (InMemoryDatabase *pDatabase) |
| Set the current in memory database. More...
|
|
void | SetAlignmentSubsystemActive (bool enable) |
| SetAlignmentSubsystemActive Enable or Disable alignment subsystem. More...
|
|
bool | IsAlignmentSubsystemActive () const |
| Return status of alignment subsystem. More...
|
|
MountAlignment_t | GetApproximateMountAlignment () |
| Get the approximate alognment of the mount. More...
|
|
bool | Initialise (InMemoryDatabase *pInMemoryDatabase) |
| Initialise or re-initialise the math plugin. More...
|
|
void | SetApproximateMountAlignment (MountAlignment_t ApproximateAlignment) |
| Set the approximate alognment of the mount. More...
|
|
bool | TransformCelestialToTelescope (const double RightAscension, const double Declination, double JulianOffset, TelescopeDirectionVector &ApparentTelescopeDirectionVector) |
| Get the alignment corrected telescope pointing direction for the supplied celestial coordinates. More...
|
|
bool | TransformTelescopeToCelestial (const TelescopeDirectionVector &ApparentTelescopeDirectionVector, double &RightAscension, double &Declination) |
| Get the true celestial coordinates for the supplied telescope pointing direction. More...
|
|
virtual | ~TelescopeDirectionVectorSupportFunctions () |
| Virtual destructor. More...
|
|
void | AltitudeAzimuthFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, ln_hrz_posn &HorizontalCoordinates) |
| Calculates an altitude and azimuth from the supplied normalised direction vector and declination. More...
|
|
void | AltitudeAzimuthFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, lnh_hrz_posn &HorizontalCoordinates) |
| Calculates an altitude and azimuth from the supplied normalised direction vector and declination. More...
|
|
void | EquatorialCoordinatesFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, struct ln_equ_posn &EquatorialCoordinates) |
| Calculates equatorial coordinates from the supplied telescope direction vector and declination. More...
|
|
void | EquatorialCoordinatesFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, struct lnh_equ_posn &EquatorialCoordinates) |
| Calculates equatorial coordinates from the supplied telescope direction vector and declination. More...
|
|
void | LocalHourAngleDeclinationFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, struct ln_equ_posn &EquatorialCoordinates) |
| Calculates a local hour angle and declination from the supplied telescope direction vector and declination. More...
|
|
void | LocalHourAngleDeclinationFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, struct lnh_equ_posn &EquatorialCoordinates) |
| Calculates a local hour angle and declination from the supplied telescope direction vector and declination. More...
|
|
void | SphericalCoordinateFromTelescopeDirectionVector (const TelescopeDirectionVector TelescopeDirectionVector, double &AzimuthAngle, AzimuthAngleDirection_t AzimuthAngleDirection, double &PolarAngle, PolarAngleDirection_t PolarAngleDirection) |
| Calculates a spherical coordinate from the supplied telescope direction vector. More...
|
|
const TelescopeDirectionVector | TelescopeDirectionVectorFromAltitudeAzimuth (ln_hrz_posn HorizontalCoordinates) |
| Calculates a normalised direction vector from the supplied altitude and azimuth. More...
|
|
const TelescopeDirectionVector | TelescopeDirectionVectorFromAltitudeAzimuth (lnh_hrz_posn HorizontalCoordinates) |
| Calculates a normalised direction vector from the supplied altitude and azimuth. More...
|
|
const TelescopeDirectionVector | TelescopeDirectionVectorFromEquatorialCoordinates (struct ln_equ_posn EquatorialCoordinates) |
| Calculates a telescope direction vector from the supplied equatorial coordinates. More...
|
|
const TelescopeDirectionVector | TelescopeDirectionVectorFromEquatorialCoordinates (struct lnh_equ_posn EquatorialCoordinates) |
| Calculates a telescope direction vector from the supplied equatorial coordinates. More...
|
|
const TelescopeDirectionVector | TelescopeDirectionVectorFromLocalHourAngleDeclination (struct ln_equ_posn EquatorialCoordinates) |
| Calculates a telescope direction vector from the supplied local hour angle and declination. More...
|
|
const TelescopeDirectionVector | TelescopeDirectionVectorFromSphericalCoordinate (const double AzimuthAngle, AzimuthAngleDirection_t AzimuthAngleDirection, const double PolarAngle, PolarAngleDirection_t PolarAngleDirection) |
| Calculates a telescope direction vector from the supplied spherical coordinate information. More...
|
|
This class encapsulates all the alignment subsystem classes that are useful to driver implementations. Drivers should inherit from this class.