|
WSF
|
#include <WsfSpaceOrbitalMissionVerificationContext.hpp>


Public Member Functions | |
| OrbitalMissionVerificationContext (const WsfOrbitalManeuvering &aManeuvering, const UtOrbitalPropagatorBase &aPropagator, const WsfOrbitalMissionSequence &aMissionEvents, const std::string &aPlatformName) | |
| ~OrbitalMissionVerificationContext () override=default | |
| void | Update (const UtCalendar &aEpoch) override |
| bool | Initialize (const UtCalendar &aEpoch) override |
| const UtOrbitalPropagatorBase & | GetPropagator () const override |
| WsfSimulation * | GetSimulation () const override |
| WsfSpaceMoverBase * | GetSpaceMover () const override |
| void | InitiateMissionEvent (const UtCalendar &aEpoch, const WsfOrbitalEvent &aMissionEvent) const override |
| void | UpdateMissionEvent (const UtCalendar &aEpoch, const WsfOrbitalEvent &aMissionEvent) const override |
| void | CompleteMissionEvent (const UtCalendar &aEpoch, const WsfOrbitalEvent &aMissionEvent) const override |
| void | CancelMissionEvent (const UtCalendar &aEpoch, const WsfOrbitalEvent &aMissionEvent) const override |
| bool | Maneuver (const UtCalendar &aEpoch, const UtVec3d &aCommandedDeltaV, UtVec3d &aActualDeltaV) const override |
| double | GetAvailableDeltaV () const override |
| Get the available delta-v in the executing context. | |
| double | GetRequiredDeltaV (double aDuration) const override |
Get the delta-v required to maneuver for the given aDuration. | |
| bool | PerformStagingOperation () const override |
| Perform a staging operation. | |
| std::string | GetName () const override |
| Get a name identifying this orbital mission context. | |
| double | GetManeuverDuration (const UtCalendar &aEpoch, const WsfOrbitalManeuver &aManeuver, double aDeltaV) const override |
| bool | VerifyMission (verify::PreOperation aPreVerifyOp=verify::PreOperation{}, verify::PostOperation aPostVerifyOp=verify::PostOperation{}) |
| Public Member Functions inherited from wsf::space::OrbitalMissionContext | |
| OrbitalMissionContext ()=default | |
| virtual | ~OrbitalMissionContext ()=default |
An orbital mission context used when verifying mission sequences during initialization.
This context is used to give a trial-run of the mission sequence during the process of initializing the simulation. Unlike the OrbitalMissionSimulationContext this context does not result in the modification of any simulation objects. Instead, copies of objects are made when this context is created, and changes resulting from the mission only affect those copies.
|
inline |
|
overridedefault |
References Initialize().
|
inlineoverridevirtual |
Indicate that an orbital mission event was cancelled.
This method offers a means for this context to take action whenever a mission event is cancelled, such as triggering observers.
| aEpoch | The epoch at which point a mission event was cancelled. |
| aMissionEvent | The mission event being cancelled. |
Reimplemented from wsf::space::OrbitalMissionContext.
|
inlineoverridevirtual |
Indicate that an orbital mission event was completed.
This method offers a means for this context to take action whenever a mission event is completed, such as triggering observers.
| aEpoch | The epoch at which point a mission event was completed. |
| aMissionEvent | The mission event being completed. |
Reimplemented from wsf::space::OrbitalMissionContext.
|
overridevirtual |
Get the available delta-v in the executing context.
Reimplemented from wsf::space::OrbitalMissionContext.
Referenced by VerifyMission().
|
overridevirtual |
Return the duration of the given maneuver for the given delta-v in this context.
| aEpoch | The epoch at which the maneuver is executing. |
| aManeuver | The maneuver in question. |
| aDeltaV | The delta-v to be expended in the maneuver. |
Reimplemented from wsf::space::OrbitalMissionContext.
|
overridevirtual |
Get a name identifying this orbital mission context.
Reimplemented from wsf::space::OrbitalMissionContext.
Referenced by VerifyMission().
|
inlineoverridevirtual |
Return the propagator representing the current state of the executing platform.
In some contexts, this will not be a propagator owned by any platform, but will instead be the propagator a platform would have were it executing the mission sequence during a simulation.
Implements wsf::space::OrbitalMissionContext.
Referenced by Maneuver(), and VerifyMission().
|
overridevirtual |
Get the delta-v required to maneuver for the given aDuration.
Reimplemented from wsf::space::OrbitalMissionContext.
|
inlineoverridevirtual |
Return the simulation to which this context refers.
Some OrbitalMissionContexts will be associated with a simulation, either because the mission is executing in the simulation, or because the simulation is available as a source of information.
Reimplemented from wsf::space::OrbitalMissionContext.
|
inlineoverridevirtual |
Return the space mover to which this context refers.
Some OrbitalMissionContexts will be associtated with a space mover, typically because the context is on in which a space mover's state is actually being updated by the mission sequence.
Reimplemented from wsf::space::OrbitalMissionContext.
|
overridevirtual |
Initialize the context at the given aEpoch.
| aEpoch | The epoch at which this context is being initialized. |
Implements wsf::space::OrbitalMissionContext.
Referenced by WsfSpaceMoverBase::VerifyMission(), and ~OrbitalMissionVerificationContext().
|
inlineoverridevirtual |
Indicate that an orbital mission event was initiated.
This method offers a means for this context to take action whenever a mission event is initiated, such as triggering observers.
| aEpoch | The epoch at which point a mission event was initiated. |
| aMissionEvent | The mission event being initiated. |
Reimplemented from wsf::space::OrbitalMissionContext.
|
overridevirtual |
Command a maneuver at the given epoch.
Indicate to the context that a maneuver should occur at the given aEpoch and there should be a change in ECI velocity of the given aCommandedDeltaV. The actual execution of the maneuver may be unable to achieve the commanded delta-v, so the actually achieved delta-v is returned via aActualDeltaV. If the maneuver was unsuccessful completely, false is returned.
| aEpoch | The epoch at which the maneuver is to occur. |
| aCommandedDeltaV | The delta-v commanded for the maneuver. |
| aActualDeltaV | [out] The actual delta-v that was possible. |
Reimplemented from wsf::space::OrbitalMissionContext.
References GetPropagator().
|
overridevirtual |
Perform a staging operation.
Reimplemented from wsf::space::OrbitalMissionContext.
|
overridevirtual |
Update to the given aEpoch.
This typically will update member variables for those subclasses that hold any.
| aEpoch | The epoch to which to update this context. |
Implements wsf::space::OrbitalMissionContext.
Referenced by VerifyMission().
|
inlineoverridevirtual |
Indicate that an orbital mission event was updated.
This method offers a means for this context to take action whenever a mission event is updated, such as triggering observers.
| aEpoch | The epoch at which point a mission event was updated. |
| aMissionEvent | The mission event being updated. |
Reimplemented from wsf::space::OrbitalMissionContext.
| bool wsf::space::OrbitalMissionVerificationContext::VerifyMission | ( | verify::PreOperation | aPreVerifyOp = verify::PreOperation{}, |
| verify::PostOperation | aPostVerifyOp = verify::PostOperation{} ) |
This method verifies the mission with which this context was created.
This driver routine manages the trial execution of the mission sequence, and reports on the ultimate verification of the mission sequence.
| aPreVerifyOp | An operation called before each event is verified. |
| aPostVerifyOp | An operation called after each event is verified. |
References wsf::space::verify::cFAIL, wsf::space::verify::cUNVERIFIABLE, GetAvailableDeltaV(), GetName(), GetPropagator(), WsfOrbitalEvent::GetStartTime(), WsfObject::GetType(), and Update().
Referenced by WsfSpaceMoverBase::VerifyMission().