|
WSF
|
#include <P6DofThrustProducerObject.hpp>


Classes | |
| struct | ThrustControlInputValueData |
| struct | ThrustBooleanControlInputData |
Public Member Functions | |
| P6DofThrustProducerObject (P6DofScenario *aScenario) | |
| ~P6DofThrustProducerObject () override | |
| P6DofThrustProducerObject & | operator= (const P6DofThrustProducerObject &other)=delete |
| virtual bool | ProcessInput (UtInput &aInput)=0 |
| virtual bool | Initialize (int64_t aSimTime_nanosec)=0 |
| void | SetParentPropulsionSystem (P6DofPropulsionSystem *aParent) |
| virtual void | CalculateThrust (double aDeltaT_sec, double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad, P6DofForceAndMomentsObject &aForceAndMoment, double &aFuelBurnRate_pps, double &aFuelBurned_lbs)=0 |
| virtual void | UpdateThrust (double aDeltaT_sec, double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad, P6DofForceAndMomentsObject &aForceAndMoment, double &aFuelBurnRate_pps, double &aFuelBurned_lbs)=0 |
| virtual std::string | GetClassType ()=0 |
| double | GetThrust_lbs () const |
| double | GetForwardThrust_lbs () const |
| void | SetThrustReferenceOffsetAttitude (const UtVec3dX &aReferenceLocation_ft, UtVec3dX &aThrustYPR_rad) |
| void | SetThrustVectoringEnabled (bool aThrustVectoringEnabled) |
| bool | ThrustVectoringEnabled () const |
| void | SetThrustVectoringYaw_deg (double aThrustVectoringYaw_deg) |
| void | SetThrustVectoringPitch_deg (double aThrustVectoringPitch_deg) |
| double | GetThrustVectoringYaw_deg () const |
| double | GetThrustVectoringPitch_deg () const |
| void | SetThrustReverserEnabled (bool aThrustReverserEnabled) |
| bool | ThrustReverserEnabled () const |
| void | SetThrustReverserSetting (double aThrustReverserSetting) |
| double | GetThrustReverserSetting () const |
| void | GetThrustLocation (UtVec3dX &aThrustLocation_ft) const |
| void | GetThrustInstalledAnglesYPR (UtVec3dX &aThrustYPR_rad) const |
| void | GetCurrentThrustVectorDirection (UtVec3dX &aDirection) const |
| void | CalcCurrentThrustVectors () |
| const P6DofForceAndMomentsObject & | GetThrustForceAndAndMoment () const |
| virtual double | GetFuelBurnRate_pph () const =0 |
| virtual double | GetMaximumPotentialThrust_lbs (double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad)=0 |
| virtual double | GetMinimumPotentialThrust_lbs (double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad)=0 |
| P6DofMassProperties * | GetMassProperties () const |
| virtual void | CalculateCurrentMassProperties ()=0 |
| virtual void | SetThrottlePosition (double aThrottleLeverPosition)=0 |
| virtual double | GetThrottlePosition () const =0 |
| virtual void | Ignite (int64_t aIgniteTimeInFrame_nanosec)=0 |
| virtual void | Shutdown (int64_t aTerminateTime_nanosec=0)=0 |
| virtual bool | AfterburnerIsPresent () const |
| bool | EngineOperating () const |
| virtual bool | MayHaveEngineOperating () const |
| bool | EngineSmoking () const |
| virtual bool | MayProduceEngineSmoke () const |
| bool | AfterburnerOn () const |
| bool | Contrailing () const |
| virtual bool | MayContrail () const |
| bool | ProducingSmokeTrail () const |
| virtual bool | MayProduceSmokeTrail () const |
| void | MakeEngineSmoke (bool aSmoking) |
| virtual void | SetControlInputHandles (const P6DofFlightControlSystem *aFlightControls)=0 |
| virtual void | SetControlInputValues (const P6DofFlightControlSystem *aFlightControls)=0 |
| Public Member Functions inherited from P6DofObject | |
| P6DofObject (P6DofScenario *aScenario) | |
| virtual | ~P6DofObject ()=default |
| P6DofObject * | Clone () const |
| P6DofScenario * | GetScenario () const |
| std::string | GetName () const |
| void | SetName (const std::string &aName) |
| P6DofVehicle * | GetParentVehicle () const |
| virtual void | SetParentVehicle (P6DofVehicle *aParentVehicle) |
Static Public Member Functions | |
| static void | SetControlInputHandle (const P6DofFlightControlSystem *aFlightControls, ThrustControlInputValueData *aControlInput) |
| static void | SetControlInputValue (const P6DofFlightControlSystem *aFlightControls, ThrustControlInputValueData *aControlInput) |
Protected Member Functions | |
| P6DofThrustProducerObject (const P6DofThrustProducerObject &aSrc) | |
| void | DeriveFrom (const P6DofThrustProducerObject *aSrc) |
| void | SetMassProperties (P6DofMassProperties *aMassProperties) |
| UtVec3dX | CalcThrustVectorFromThrust (double aThrust_lbs) |
| void | CalcThrustProducerFM (double aThrustMagnitude_lbs, P6DofForceAndMomentsObject &aForceAndMoment) |
| Protected Member Functions inherited from P6DofObject | |
| P6DofObject (const P6DofObject &aSrc)=default | |
| P6DofObject & | operator= (const P6DofObject &other)=default |
|
explicit |
References mAfterburnerOn, mAfterburnerPresent, mContrailing, mCurrentThrustFactor, mCurrentThrustFM_lbs_ftlbs, mCurrentThrustVectorDirection, mEngineDamageSmokeActivated, mEngineOperating, mEngineSmoking, mIgniteTimeInFrame_nanosec, mInOpRefArea_ft2, mInOpRefAreaValid, mMassPropertiesPtr, mNominalThrustVectorDirection, mParentPropulsionSystemPtr, mProducingSmokeTrail, mReferenceLocation_ft, mShutdownFraction_nanosec, mShutdownInProgress, mThrustInstalledAnglesYPR_rad, mThrustLocation_ft, mThrustOffset_ft, mThrustReverserEnabled, mThrustReverserSetting, mThrustVectoringEnabled, mThrustVectorPitch_rad, mThrustVectorYaw_rad, mTypeOfThrustProducer, and P6DofObject::P6DofObject().
Referenced by DeriveFrom(), operator=(), P6DofJetEngineObject::P6DofJetEngineObject(), P6DofJetEngineObject::P6DofJetEngineObject(), P6DofRamjetEngineObject::P6DofRamjetEngineObject(), P6DofRamjetEngineObject::P6DofRamjetEngineObject(), P6DofRocketLiquidPropellantObject::P6DofRocketLiquidPropellantObject(), P6DofRocketLiquidPropellantObject::P6DofRocketLiquidPropellantObject(), P6DofRocketSolidPropellantObject::P6DofRocketSolidPropellantObject(), P6DofRocketSolidPropellantObject::P6DofRocketSolidPropellantObject(), P6DofThrustProducerObject(), and SetControlInputValues().
|
override |
References mMassPropertiesPtr.
|
protected |
References mAfterburnerOn, mAfterburnerPresent, mContrailing, mCurrentThrustFactor, mCurrentThrustFM_lbs_ftlbs, mCurrentThrustVectorDirection, mEngineDamageSmokeActivated, mEngineOperating, mEngineSmoking, mIgniteTimeInFrame_nanosec, mInOpRefArea_ft2, mInOpRefAreaValid, mMassPropertiesPtr, mNominalThrustVectorDirection, mParentPropulsionSystemPtr, mProducingSmokeTrail, mReferenceLocation_ft, mShutdownFraction_nanosec, mShutdownInProgress, mThrustInstalledAnglesYPR_rad, mThrustLocation_ft, mThrustOffset_ft, mThrustReverserEnabled, mThrustReverserSetting, mThrustVectoringEnabled, mThrustVectorPitch_rad, mThrustVectorYaw_rad, mTypeOfThrustProducer, P6DofObject::P6DofObject(), and P6DofThrustProducerObject().
|
inlinevirtual |
|
inline |
References mAfterburnerOn.
Referenced by WsfP6DOF_Mover::GetEngineAfterburnerOn().
| void P6DofThrustProducerObject::CalcCurrentThrustVectors | ( | ) |
|
protected |
References P6DofForceAndMomentsObject::AddForceAtReferencePoint(), CalcCurrentThrustVectors(), CalcThrustVectorFromThrust(), P6DofForceAndMomentsObject::ClearForcesAndMoments(), mCurrentThrustFactor, P6DofForceAndMomentsObject::MoveRefPoint_ft(), and mThrustLocation_ft.
Referenced by P6DofJetEngineObject::CalculateThrust(), P6DofRamjetEngineObject::CalculateThrust(), P6DofRocketLiquidPropellantObject::CalculateThrust(), and P6DofRocketSolidPropellantObject::CalculateThrust().
|
protected |
References mCurrentThrustVectorDirection.
Referenced by CalcThrustProducerFM(), and P6DofRocketSolidPropellantObject::CalculateThrust().
|
pure virtual |
|
pure virtual |
Implemented in P6DofJetEngineObject, P6DofRamjetEngineObject, P6DofRocketLiquidPropellantObject, and P6DofRocketSolidPropellantObject.
Referenced by WsfP6DOF_MoverTestObject::FuelBurnAtRequiredThrust(), WsfP6DOF_MoverTestObject::FuelBurnAtThrottleSetting(), WsfP6DOF_MoverTestObject::ThrottleSettingToProduceThrust(), and WsfP6DOF_MoverTestObject::ThrustAtThrottleSetting().
|
inline |
References mContrailing.
|
protected |
|
inline |
References mEngineOperating.
|
inline |
References mEngineSmoking.
|
pure virtual |
Implemented in P6DofJetEngineObject, P6DofRamjetEngineObject, P6DofRocketLiquidPropellantObject, and P6DofRocketSolidPropellantObject.
References GetForwardThrust_lbs(), GetThrust_lbs(), and SetThrustReferenceOffsetAttitude().
| void P6DofThrustProducerObject::GetCurrentThrustVectorDirection | ( | UtVec3dX & | aDirection | ) | const |
References mCurrentThrustVectorDirection.
| double P6DofThrustProducerObject::GetForwardThrust_lbs | ( | ) | const |
References mCurrentThrustFM_lbs_ftlbs.
Referenced by GetClassType(), and WsfP6DOF_Mover::GetEngineThrust().
|
pure virtual |
Implemented in P6DofJetEngineObject, P6DofRamjetEngineObject, P6DofRocketLiquidPropellantObject, and P6DofRocketSolidPropellantObject.
Referenced by WsfP6DOF_Mover::GetEngineFuelFlowRate().
|
inline |
References mMassPropertiesPtr.
|
pure virtual |
|
pure virtual |
|
pure virtual |
| double P6DofThrustProducerObject::GetThrust_lbs | ( | ) | const |
References mCurrentThrustFM_lbs_ftlbs.
Referenced by GetClassType().
| const P6DofForceAndMomentsObject & P6DofThrustProducerObject::GetThrustForceAndAndMoment | ( | ) | const |
References mCurrentThrustFM_lbs_ftlbs.
| void P6DofThrustProducerObject::GetThrustInstalledAnglesYPR | ( | UtVec3dX & | aThrustYPR_rad | ) | const |
References mThrustInstalledAnglesYPR_rad.
| void P6DofThrustProducerObject::GetThrustLocation | ( | UtVec3dX & | aThrustLocation_ft | ) | const |
References mThrustLocation_ft.
|
inline |
References mThrustReverserSetting.
| double P6DofThrustProducerObject::GetThrustVectoringPitch_deg | ( | ) | const |
References mThrustVectorPitch_rad.
| double P6DofThrustProducerObject::GetThrustVectoringYaw_deg | ( | ) | const |
References mThrustVectorYaw_rad.
|
pure virtual |
Implemented in P6DofJetEngineObject, P6DofRamjetEngineObject, P6DofRocketLiquidPropellantObject, and P6DofRocketSolidPropellantObject.
Referenced by P6DofSequencer::TestForActivation().
|
pure virtual |
Implemented in P6DofJetEngineObject, P6DofRamjetEngineObject, P6DofRocketLiquidPropellantObject, and P6DofRocketSolidPropellantObject.
References SetParentPropulsionSystem().
| void P6DofThrustProducerObject::MakeEngineSmoke | ( | bool | aSmoking | ) |
References mEngineDamageSmokeActivated.
Referenced by P6DofPropulsionSystem::MakeAnEngineSmoke().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in P6DofRocketLiquidPropellantObject, and P6DofRocketSolidPropellantObject.
|
delete |
References P6DofThrustProducerObject().
|
pure virtual |
|
inline |
References mProducingSmokeTrail.
|
static |
References P6DofFlightControlSystem::GetControlValueHandle(), P6DofThrustProducerObject::ThrustControlInputValueData::handle, and P6DofThrustProducerObject::ThrustControlInputValueData::name.
Referenced by P6DofJetEngineObject::SetControlInputHandles(), P6DofRamjetEngineObject::SetControlInputHandles(), P6DofRocketLiquidPropellantObject::SetControlInputHandles(), P6DofRocketSolidPropellantObject::SetControlInputHandles(), and SetControlInputValues().
|
pure virtual |
|
static |
References P6DofFlightControlSystem::GetControlValue(), P6DofThrustProducerObject::ThrustControlInputValueData::handle, and P6DofThrustProducerObject::ThrustControlInputValueData::value.
Referenced by P6DofJetEngineObject::SetControlInputValues(), P6DofRamjetEngineObject::SetControlInputValues(), P6DofRocketLiquidPropellantObject::SetControlInputValues(), P6DofRocketSolidPropellantObject::SetControlInputValues(), and SetControlInputValues().
|
pure virtual |
Implemented in P6DofJetEngineObject, P6DofRamjetEngineObject, P6DofRocketLiquidPropellantObject, and P6DofRocketSolidPropellantObject.
References DeriveFrom(), P6DofThrustProducerObject(), SetControlInputHandle(), and SetControlInputValue().
|
inlineprotected |
References mMassPropertiesPtr.
Referenced by P6DofRocketSolidPropellantObject::P6DofRocketSolidPropellantObject().
| void P6DofThrustProducerObject::SetParentPropulsionSystem | ( | P6DofPropulsionSystem * | aParent | ) |
References mParentPropulsionSystemPtr.
Referenced by P6DofPropulsionSystem::Initialize(), and Initialize().
|
pure virtual |
Implemented in P6DofJetEngineObject, P6DofRamjetEngineObject, P6DofRocketLiquidPropellantObject, and P6DofRocketSolidPropellantObject.
Referenced by WsfP6DOF_MoverTestObject::FuelBurnAtRequiredThrust(), WsfP6DOF_MoverTestObject::FuelBurnAtThrottleSetting(), WsfP6DOF_MoverTestObject::ThrottleSettingToProduceThrust(), and WsfP6DOF_MoverTestObject::ThrustAtThrottleSetting().
| void P6DofThrustProducerObject::SetThrustReferenceOffsetAttitude | ( | const UtVec3dX & | aReferenceLocation_ft, |
| UtVec3dX & | aThrustYPR_rad ) |
References mCurrentThrustVectorDirection, mNominalThrustVectorDirection, mReferenceLocation_ft, mThrustInstalledAnglesYPR_rad, mThrustLocation_ft, and mThrustOffset_ft.
Referenced by GetClassType(), and P6DofPropulsionSystem::Initialize().
|
inline |
References mThrustReverserEnabled.
| void P6DofThrustProducerObject::SetThrustReverserSetting | ( | double | aThrustReverserSetting | ) |
References mThrustReverserSetting.
|
inline |
References mThrustVectoringEnabled.
| void P6DofThrustProducerObject::SetThrustVectoringPitch_deg | ( | double | aThrustVectoringPitch_deg | ) |
References mThrustVectorPitch_rad.
| void P6DofThrustProducerObject::SetThrustVectoringYaw_deg | ( | double | aThrustVectoringYaw_deg | ) |
References mThrustVectorYaw_rad.
|
pure virtual |
Implemented in P6DofJetEngineObject, P6DofRamjetEngineObject, P6DofRocketLiquidPropellantObject, and P6DofRocketSolidPropellantObject.
Referenced by P6DofSequencer::TestForActivation().
|
inline |
References mThrustReverserEnabled.
|
inline |
References mThrustVectoringEnabled.
|
pure virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by P6DofJetEngineObject::CalculateThrust(), P6DofRamjetEngineObject::CalculateThrust(), P6DofRocketLiquidPropellantObject::CalculateThrust(), P6DofRocketSolidPropellantObject::CalculateThrust(), GetForwardThrust_lbs(), GetThrust_lbs(), GetThrustForceAndAndMoment(), P6DofThrustProducerObject(), and P6DofThrustProducerObject().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by P6DofJetEngineObject::CalculateThrust(), P6DofRamjetEngineObject::CalculateThrust(), P6DofThrustProducerObject(), P6DofThrustProducerObject(), P6DofJetEngineObject::ProcessInput(), P6DofRamjetEngineObject::ProcessInput(), P6DofRocketLiquidPropellantObject::ProcessInput(), and P6DofRocketSolidPropellantObject::ProcessInput().
|
protected |
Referenced by P6DofJetEngineObject::CalculateThrust(), P6DofRamjetEngineObject::CalculateThrust(), P6DofThrustProducerObject(), P6DofThrustProducerObject(), P6DofJetEngineObject::ProcessInput(), P6DofRamjetEngineObject::ProcessInput(), P6DofRocketLiquidPropellantObject::ProcessInput(), and P6DofRocketSolidPropellantObject::ProcessInput().
|
protected |
|
protected |
|
protected |
Referenced by P6DofJetEngineObject::CalculateThrust(), P6DofRamjetEngineObject::CalculateThrust(), P6DofRocketLiquidPropellantObject::CalculateThrust(), P6DofThrustProducerObject(), P6DofThrustProducerObject(), P6DofJetEngineObject::SetFuelTank(), P6DofRamjetEngineObject::SetFuelTank(), P6DofRocketLiquidPropellantObject::SetFuelTank(), and SetParentPropulsionSystem().
|
protected |
|
protected |
Referenced by P6DofThrustProducerObject(), P6DofThrustProducerObject(), and SetThrustReferenceOffsetAttitude().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by CalcCurrentThrustVectors(), P6DofThrustProducerObject(), P6DofThrustProducerObject(), P6DofJetEngineObject::ProcessInput(), P6DofRamjetEngineObject::ProcessInput(), P6DofRocketLiquidPropellantObject::ProcessInput(), P6DofRocketSolidPropellantObject::ProcessInput(), SetThrustVectoringEnabled(), and ThrustVectoringEnabled().
|
protected |
|
protected |
|
protected |
Referenced by DeriveFrom(), P6DofJetEngineObject::P6DofJetEngineObject(), P6DofRamjetEngineObject::P6DofRamjetEngineObject(), P6DofRocketLiquidPropellantObject::P6DofRocketLiquidPropellantObject(), P6DofRocketSolidPropellantObject::P6DofRocketSolidPropellantObject(), P6DofThrustProducerObject(), and P6DofThrustProducerObject().