WSF
wsf::six_dof::Engine Class Referenceabstract

#include <WsfSixDOF_Engine.hpp>

Inheritance diagram for wsf::six_dof::Engine:
Collaboration diagram for wsf::six_dof::Engine:

Public Member Functions

 Engine (ThrustProducerObject *aParentObject)
virtual ~Engine ()=default
Engineoperator= (const Engine &other)=delete
virtual EngineClone () const =0
virtual bool ProcessInput (UtInput &aInput, TypeManager *aTypeManager)=0
virtual bool Initialize (int64_t aSimTime_nanosec)=0
virtual void DeriveFrom (const Engine *aSrc)
ThrustProducerObjectGetParentThrustProducer ()
void SetParentThrustProducer (ThrustProducerObject *aThrustProducerPtr)
double GetThrust_lbs () const
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
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
virtual double GetFuelBurnRate_pph () const =0
virtual double GetThrottlePosition () const =0
virtual void SetThrottlePosition (double aThrottleLeverPosition)=0
virtual void Ignite (int64_t aIgniteTimeInFrame_nanosec)=0
virtual void Shutdown (int64_t aTerminateTime_nanosec=0)=0
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

 Engine (const Engine &aSrc)
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, double &aForce_lbs, double &aFuelBurnRate_pps, double &aFuelBurned_lbs, bool aUpdateData)=0

Protected Attributes

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

◆ Engine() [1/2]

◆ ~Engine()

virtual wsf::six_dof::Engine::~Engine ( )
virtualdefault

◆ Engine() [2/2]

Member Function Documentation

◆ AfterburnerIsPresent()

virtual bool wsf::six_dof::Engine::AfterburnerIsPresent ( ) const
inlinevirtual

◆ AfterburnerOn()

bool wsf::six_dof::Engine::AfterburnerOn ( ) const
inline

References mAfterburnerOn.

◆ CalculateThrust() [1/2]

void wsf::six_dof::Engine::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 )

◆ CalculateThrust() [2/2]

virtual void wsf::six_dof::Engine::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,
bool aUpdateData )
protectedpure virtual

◆ CheckCurrentFuelTank()

bool wsf::six_dof::Engine::CheckCurrentFuelTank ( )

◆ Clone()

◆ Contrailing()

bool wsf::six_dof::Engine::Contrailing ( ) const
inline

References mContrailing.

◆ DeriveFrom()

◆ EngineOperating()

bool wsf::six_dof::Engine::EngineOperating ( ) const
inline

References mEngineOperating.

◆ EngineSmoking()

bool wsf::six_dof::Engine::EngineSmoking ( ) const
inline

References mEngineSmoking.

◆ GetFuelBurnRate_pph()

virtual double wsf::six_dof::Engine::GetFuelBurnRate_pph ( ) const
pure virtual

◆ GetFuelTank()

const FuelTank * wsf::six_dof::Engine::GetFuelTank ( ) const
inline

◆ GetMaximumPotentialThrust_lbs()

virtual double wsf::six_dof::Engine::GetMaximumPotentialThrust_lbs ( double aAlt_ft,
double aDynPress_lbsqft,
double aStatPress_lbssqft,
double aSpeed_fps,
double aMach,
double aAlpha_rad,
double aBeta_rad )
pure virtual

◆ GetMinimumPotentialThrust_lbs()

virtual double wsf::six_dof::Engine::GetMinimumPotentialThrust_lbs ( double aAlt_ft,
double aDynPress_lbsqft,
double aStatPress_lbssqft,
double aSpeed_fps,
double aMach,
double aAlpha_rad,
double aBeta_rad )
pure virtual

◆ GetParentThrustProducer()

ThrustProducerObject * wsf::six_dof::Engine::GetParentThrustProducer ( )
inline

◆ GetThrottlePosition()

virtual double wsf::six_dof::Engine::GetThrottlePosition ( ) const
pure virtual

◆ GetThrust_lbs()

double wsf::six_dof::Engine::GetThrust_lbs ( ) const
inline

References mCurrentThrust_lbs.

◆ Ignite()

virtual void wsf::six_dof::Engine::Ignite ( int64_t aIgniteTimeInFrame_nanosec)
pure virtual

◆ Initialize()

virtual bool wsf::six_dof::Engine::Initialize ( int64_t aSimTime_nanosec)
pure virtual

◆ MakeEngineSmoke()

void wsf::six_dof::Engine::MakeEngineSmoke ( bool aSmoking)
inline

◆ MayContrail()

virtual bool wsf::six_dof::Engine::MayContrail ( ) const
inlinevirtual

◆ MayHaveEngineOperating()

virtual bool wsf::six_dof::Engine::MayHaveEngineOperating ( ) const
inlinevirtual

◆ MayProduceEngineSmoke()

virtual bool wsf::six_dof::Engine::MayProduceEngineSmoke ( ) const
inlinevirtual

◆ MayProduceSmokeTrail()

virtual bool wsf::six_dof::Engine::MayProduceSmokeTrail ( ) const
inlinevirtual

◆ operator=()

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

References Engine().

◆ ProcessInput()

virtual bool wsf::six_dof::Engine::ProcessInput ( UtInput & aInput,
TypeManager * aTypeManager )
pure virtual

◆ ProducingSmokeTrail()

bool wsf::six_dof::Engine::ProducingSmokeTrail ( ) const
inline

References mProducingSmokeTrail.

◆ SetFuelTank()

bool wsf::six_dof::Engine::SetFuelTank ( const std::string & aFuelTankName)
virtual

◆ SetParentThrustProducer()

void wsf::six_dof::Engine::SetParentThrustProducer ( ThrustProducerObject * aThrustProducerPtr)
inline

◆ SetThrottlePosition()

virtual void wsf::six_dof::Engine::SetThrottlePosition ( double aThrottleLeverPosition)
pure virtual

◆ Shutdown()

virtual void wsf::six_dof::Engine::Shutdown ( int64_t aTerminateTime_nanosec = 0)
pure virtual

◆ UpdateThrust()

void wsf::six_dof::Engine::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 )

Member Data Documentation

◆ mAfterburnerOn

◆ mAfterburnerPresent

◆ mContrailing

◆ mCurrentFuelTank

◆ mCurrentThrust_lbs

◆ mEngineDamageSmokeActivated

◆ mEngineOperating

◆ mEngineSmoking

◆ mIgniteTimeInFrame_nanosec

◆ mParentThrustProducerPtr

◆ mProducingSmokeTrail

◆ mShutdownFraction_nanosec

◆ mShutdownInProgress

◆ mTypeOfEngine


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