This commit is contained in:
2025-06-10 18:19:11 +03:00
parent 172d38f5e2
commit 3c4045e620
2 changed files with 348 additions and 16 deletions

View File

@@ -222,7 +222,6 @@ public:
};
/* Constructors and destructor */
template <fsm::traits::fsm_state_c InitStateT>
@@ -244,17 +243,26 @@ public:
updateIERSDatabase(IERS_DB_EARTH_ORIENT);
}
virtual ~MccMount() { logDebug("Delete MccMount class instance: thread = {}", getThreadId()); }
virtual ~MccMount()
{
logDebug("Delete MccMount class instance: thread = {}", getThreadId());
}
/* Public methods */
MccMountPosition getMountData() const noexcept { return _currentMountOrient.load(); }
MccMountPosition getMountData() const noexcept
{
return _currentMountOrient.load();
}
// geo location setters/getters
void setGeoLocation(const MccMountSiteInfo& geoloc) { _geoLocation.store(geoloc); }
void setGeoLocation(const MccMountSiteInfo& geoloc)
{
_geoLocation.store(geoloc);
}
void setSiteLatitude(const MccAngle& lat)
{
@@ -282,14 +290,23 @@ public:
}
MccMountSiteInfo getGeoLocation() const { return _geoLocation.load(); }
MccMountSiteInfo getGeoLocation() const
{
return _geoLocation.load();
}
// current meteo setters/getters
void setMeteo(const MccMountMeteo& meteo) { _currentMeteo.store(meteo); }
void setMeteo(const MccMountMeteo& meteo)
{
_currentMeteo.store(meteo);
}
MccMountMeteo getMeteo() const { return _currentMeteo.load(); }
MccMountMeteo getMeteo() const
{
return _currentMeteo.load();
}
/* prohibited zone related methods */