|
WSF
|
#include <WsfRocketOrbitalManeuvering.hpp>
Public Member Functions | |
| Rocket () | |
| Rocket (const Rocket &aSrc) | |
| Rocket & | operator= (const Rocket &)=delete |
| ~Rocket ()=default | |
| bool | Initialize () |
| bool | ProcessInput (UtInput &aInput) |
| double | Thrust (double aDuration, double &aDeltaV) |
| double | GetDuration (double aDeltaV) const |
| double | GetDeltaV (double aDuration) const |
| double | GetAvailableDeltaV () const |
| Return the total delta-v available for the entire multi-stage rocket. | |
| double | GetAvailableDuration () const |
| double | GetTotalMass () const |
| Return the total mass of the rocket, including all stages. | |
| double | GetFuelMass () const |
| Return the fuel mass, considered to be the fuel for this stage only. | |
| double | GetEmptyMass () const |
| double | GetPayloadMass () const |
| Return the payload mass, which is the total mass of all subsequent stages, if any. | |
| bool | PerformStagingOperation () |
| Perform a staging event for the rocket. If no other stages are present, false is returned. | |
| WsfRocketOrbitalManeuvering::Rocket::Rocket | ( | ) |
Referenced by operator=(), and Rocket().
| WsfRocketOrbitalManeuvering::Rocket::Rocket | ( | const Rocket & | aSrc | ) |
|
default |
| double WsfRocketOrbitalManeuvering::Rocket::GetAvailableDeltaV | ( | ) | const |
Return the total delta-v available for the entire multi-stage rocket.
References WsfRocketOrbitalManeuvering::GetTotalMass().
Referenced by ~Rocket().
| double WsfRocketOrbitalManeuvering::Rocket::GetAvailableDuration | ( | ) | const |
Referenced by ~Rocket().
| double WsfRocketOrbitalManeuvering::Rocket::GetDeltaV | ( | double | aDuration | ) | const |
Return the delta-v necessary to execute a maneuver with the specified duration, given the current mass properties of the rocket.
| aDuration | The duration for which the rocket will thrust. |
References WsfOrbitalManeuvering::cINFINITE_DELTA_V, and WsfRocketOrbitalManeuvering::GetTotalMass().
Referenced by ~Rocket().
| double WsfRocketOrbitalManeuvering::Rocket::GetDuration | ( | double | aDeltaV | ) | const |
Return how long it will take to execute a maneuver with the specified delta-V, given the current mass properties of the rocket.
| aDeltaV | The delta-V to expend in the maneuver. |
References WsfOrbitalManeuvering::cINFINITE_DURATION, and WsfRocketOrbitalManeuvering::GetTotalMass().
Referenced by ~Rocket().
| double WsfRocketOrbitalManeuvering::Rocket::GetEmptyMass | ( | ) | const |
Return the empty mass, considered to be the total mass of this stage minus the fuel mass for this stage.
Referenced by ~Rocket().
| double WsfRocketOrbitalManeuvering::Rocket::GetFuelMass | ( | ) | const |
Return the fuel mass, considered to be the fuel for this stage only.
Referenced by ~Rocket().
| double WsfRocketOrbitalManeuvering::Rocket::GetPayloadMass | ( | ) | const |
Return the payload mass, which is the total mass of all subsequent stages, if any.
References WsfRocketOrbitalManeuvering::GetTotalMass().
Referenced by ~Rocket().
| double WsfRocketOrbitalManeuvering::Rocket::GetTotalMass | ( | ) | const |
Return the total mass of the rocket, including all stages.
Referenced by ~Rocket().
References Rocket().
| bool WsfRocketOrbitalManeuvering::Rocket::PerformStagingOperation | ( | ) |
Perform a staging event for the rocket. If no other stages are present, false is returned.
Referenced by ~Rocket().
| bool WsfRocketOrbitalManeuvering::Rocket::ProcessInput | ( | UtInput & | aInput | ) |
References WsfRocketOrbitalManeuvering::Stage::ProcessInput().
Referenced by ~Rocket().
| double WsfRocketOrbitalManeuvering::Rocket::Thrust | ( | double | aDuration, |
| double & | aDeltaV ) |
Expend fuel / Delta-V for the specified duration. If the current stage would expend its fuel, and automatic staging is enabled, the rocket will perform a staging event and start burning the next stage.
| aDuration | The Specified duration to thrust. |
| aDeltaV | The calculated Delta-V. |
References WsfRocketOrbitalManeuvering::GetTotalMass().
Referenced by ~Rocket().