WSF
wsf::six_dof::RamjetEngine Class Reference

#include <WsfSixDOF_RamjetEngine.hpp>

Inheritance diagram for wsf::six_dof::RamjetEngine:
Collaboration diagram for wsf::six_dof::RamjetEngine:

Public Member Functions

 RamjetEngine (ThrustProducerObject *aParentObject)
 ~RamjetEngine ()=default
RamjetEngineoperator= (const RamjetEngine &other)=delete
bool ProcessInput (UtInput &aInput, TypeManager *aTypeManager) override
bool Initialize (int64_t aSimTime_nanosec) override
EngineClone () const override
void DeriveFrom (const Engine *aSrc) override
void InjectFuel (bool aInjectFuel)
double GetFuelBurnRate_pph () const override
double GetMaximumPotentialThrust_lbs (double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad) override
double GetMinimumPotentialThrust_lbs (double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad) override
void SetThrottlePosition (double aThrottleLeverPosition) override
double GetThrottlePosition () const override
void Ignite (int64_t aIgniteTimeInFrame_nanosec) override
void Shutdown (int64_t aTerminateTime_nanosec=0) override
Public Member Functions inherited from wsf::six_dof::Engine
 Engine (ThrustProducerObject *aParentObject)
virtual ~Engine ()=default
Engineoperator= (const Engine &other)=delete
ThrustProducerObjectGetParentThrustProducer ()
void SetParentThrustProducer (ThrustProducerObject *aThrustProducerPtr)
double GetThrust_lbs () const
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, double &aForce_lbs, double &aFuelBurnRate_pps, double &aFuelBurned_lbs)
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, double &aForce_lbs, double &aFuelBurnRate_pps, double &aFuelBurned_lbs)
bool CheckCurrentFuelTank ()
virtual bool SetFuelTank (const std::string &aFuelTankName)
const FuelTankGetFuelTank () const
bool EngineOperating () const
virtual bool MayHaveEngineOperating () const
virtual bool MayProduceEngineSmoke () const
virtual bool MayContrail () const
bool ProducingSmokeTrail () const
virtual bool MayProduceSmokeTrail () const
bool AfterburnerOn () const
bool Contrailing () const
bool EngineSmoking () const
void MakeEngineSmoke (bool aSmoking)
virtual bool AfterburnerIsPresent () const

Protected Member Functions

 RamjetEngine (const RamjetEngine &aSrc)
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, double &aForceAndMoment, double &aFuelBurnRate_pps, double &aFuelBurned_lbs, bool aUpdateData) override
bool CalcThrustMultiplier (bool aDeadEngine, double &aFuelBurnRequest_lbs, double &aThrust_lbs)
Protected Member Functions inherited from wsf::six_dof::Engine
 Engine (const Engine &aSrc)

Protected Attributes

UtCloneablePtr< UtTable::Table > mThrustAltMachTable_lbs {nullptr}
UtCloneablePtr< UtTable::Table > mTsfcAltMachTable_pph {nullptr}
double mCurrentFuelBurnRate_pph = 0.0
bool mAfterburnerAppearanceWhenOperating = false
bool mInjectFuel = false
bool mLatchFuelInjection = false
bool mInjectFuelTriggered = false
bool mUseProportionalThrottle = false
double mMinProportionalThrust = 0.0
double mThrottleLeverPosition = 0.0
double mOverallThrustMultiplier = 0.0
Protected Attributes inherited from wsf::six_dof::Engine
ThrustProducerObjectmParentThrustProducerPtr = nullptr
std::string mTypeOfEngine
FuelTankmCurrentFuelTank = nullptr
double mCurrentThrust_lbs = 0.0
bool mShutdownInProgress = false
int64_t mShutdownFraction_nanosec = 0
int64_t mIgniteTimeInFrame_nanosec = 0
bool mEngineOperating = false
bool mContrailing = false
bool mAfterburnerPresent = false
bool mAfterburnerOn = false
bool mProducingSmokeTrail = false
bool mEngineDamageSmokeActivated = false
bool mEngineSmoking = false

Constructor & Destructor Documentation

◆ RamjetEngine() [1/2]

wsf::six_dof::RamjetEngine::RamjetEngine ( ThrustProducerObject * aParentObject)
explicit

◆ ~RamjetEngine()

wsf::six_dof::RamjetEngine::~RamjetEngine ( )
default

◆ RamjetEngine() [2/2]

Member Function Documentation

◆ CalcThrustMultiplier()

bool wsf::six_dof::RamjetEngine::CalcThrustMultiplier ( bool aDeadEngine,
double & aFuelBurnRequest_lbs,
double & aThrust_lbs )
protected

◆ CalculateThrust()

◆ Clone()

wsf::six_dof::Engine * wsf::six_dof::RamjetEngine::Clone ( ) const
overridevirtual

Implements wsf::six_dof::Engine.

References RamjetEngine().

Referenced by operator=().

◆ DeriveFrom()

◆ GetFuelBurnRate_pph()

double wsf::six_dof::RamjetEngine::GetFuelBurnRate_pph ( ) const
overridevirtual

◆ GetMaximumPotentialThrust_lbs()

double wsf::six_dof::RamjetEngine::GetMaximumPotentialThrust_lbs ( double aAlt_ft,
double aDynPress_lbsqft,
double aStatPress_lbssqft,
double aSpeed_fps,
double aMach,
double aAlpha_rad,
double aBeta_rad )
overridevirtual

◆ GetMinimumPotentialThrust_lbs()

double wsf::six_dof::RamjetEngine::GetMinimumPotentialThrust_lbs ( double aAlt_ft,
double aDynPress_lbsqft,
double aStatPress_lbssqft,
double aSpeed_fps,
double aMach,
double aAlpha_rad,
double aBeta_rad )
overridevirtual

◆ GetThrottlePosition()

double wsf::six_dof::RamjetEngine::GetThrottlePosition ( ) const
overridevirtual

◆ Ignite()

void wsf::six_dof::RamjetEngine::Ignite ( int64_t aIgniteTimeInFrame_nanosec)
overridevirtual

◆ Initialize()

bool wsf::six_dof::RamjetEngine::Initialize ( int64_t aSimTime_nanosec)
overridevirtual

Implements wsf::six_dof::Engine.

Referenced by operator=().

◆ InjectFuel()

void wsf::six_dof::RamjetEngine::InjectFuel ( bool aInjectFuel)
inline

References mInjectFuel.

◆ operator=()

RamjetEngine & wsf::six_dof::RamjetEngine::operator= ( const RamjetEngine & other)
delete

◆ ProcessInput()

bool wsf::six_dof::RamjetEngine::ProcessInput ( UtInput & aInput,
TypeManager * aTypeManager )
overridevirtual

◆ SetThrottlePosition()

void wsf::six_dof::RamjetEngine::SetThrottlePosition ( double aThrottleLeverPosition)
overridevirtual

◆ Shutdown()

void wsf::six_dof::RamjetEngine::Shutdown ( int64_t aTerminateTime_nanosec = 0)
overridevirtual

Member Data Documentation

◆ mAfterburnerAppearanceWhenOperating

bool wsf::six_dof::RamjetEngine::mAfterburnerAppearanceWhenOperating = false
protected

◆ mCurrentFuelBurnRate_pph

double wsf::six_dof::RamjetEngine::mCurrentFuelBurnRate_pph = 0.0
protected

◆ mInjectFuel

bool wsf::six_dof::RamjetEngine::mInjectFuel = false
protected

◆ mInjectFuelTriggered

bool wsf::six_dof::RamjetEngine::mInjectFuelTriggered = false
protected

◆ mLatchFuelInjection

bool wsf::six_dof::RamjetEngine::mLatchFuelInjection = false
protected

◆ mMinProportionalThrust

double wsf::six_dof::RamjetEngine::mMinProportionalThrust = 0.0
protected

◆ mOverallThrustMultiplier

double wsf::six_dof::RamjetEngine::mOverallThrustMultiplier = 0.0
protected

◆ mThrottleLeverPosition

double wsf::six_dof::RamjetEngine::mThrottleLeverPosition = 0.0
protected

◆ mThrustAltMachTable_lbs

UtCloneablePtr<UtTable::Table> wsf::six_dof::RamjetEngine::mThrustAltMachTable_lbs {nullptr}
protected

◆ mTsfcAltMachTable_pph

UtCloneablePtr<UtTable::Table> wsf::six_dof::RamjetEngine::mTsfcAltMachTable_pph {nullptr}
protected

◆ mUseProportionalThrottle

bool wsf::six_dof::RamjetEngine::mUseProportionalThrottle = false
protected

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved