add getter for the arrival waypoints
This commit is contained in:
@@ -52,5 +52,20 @@ namespace aman {
|
|||||||
* @return The position
|
* @return The position
|
||||||
*/
|
*/
|
||||||
const GeoCoordinate& position() const noexcept;
|
const GeoCoordinate& position() const noexcept;
|
||||||
|
/**
|
||||||
|
* @brief Returns the planned altitude
|
||||||
|
* @return The planned altitude
|
||||||
|
*/
|
||||||
|
const Length& altitude() const noexcept;
|
||||||
|
/**
|
||||||
|
* @brief Returns the indicated airspeed
|
||||||
|
* @return The indicated airspeed
|
||||||
|
*/
|
||||||
|
const Velocity& indicatedAirspeed() const noexcept;
|
||||||
|
/**
|
||||||
|
* @brief Returns the planned arrival time
|
||||||
|
* @return The planned arrival time
|
||||||
|
*/
|
||||||
|
const UtcTime::Point& plannedArrivalTime() const noexcept;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,3 +35,15 @@ const std::string& ArrivalWaypoint::name() const noexcept {
|
|||||||
const GeoCoordinate& ArrivalWaypoint::position() const noexcept {
|
const GeoCoordinate& ArrivalWaypoint::position() const noexcept {
|
||||||
return this->m_position;
|
return this->m_position;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const Length& ArrivalWaypoint::altitude() const noexcept {
|
||||||
|
return this->m_altitude;
|
||||||
|
}
|
||||||
|
|
||||||
|
const Velocity& ArrivalWaypoint::indicatedAirspeed() const noexcept {
|
||||||
|
return this->m_indicatedAirspeed;
|
||||||
|
}
|
||||||
|
|
||||||
|
const UtcTime::Point& ArrivalWaypoint::plannedArrivalTime() const noexcept {
|
||||||
|
return this->m_plannedArrivalTime;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user