...
This commit is contained in:
31
cxx/mount.h
31
cxx/mount.h
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user