15#ifndef WSFTANKEDFUEL_HPP
16#define WSFTANKEDFUEL_HPP
18#include "wsf_export.h"
48 void Update(
double aSimTime)
override;
65 bool TerminateAll(
double aSimTime);
68 bool DisconnectFuelingOps(
double aSimTime);
71 bool DisconnectFromTanker(
double aSimTime);
75 bool DisconnectFrom(
double aSimTime,
WsfPlatform* aPlatformPtr);
112 bool BeginSupplyingFuelTo(
double aSimTime,
WsfTankedFuel* aReceiverPtr);
126 bool ConnectTanker(
double aSimTime,
size_t aTankerIndex,
WsfTankedFuel* aSourcePtr,
double aTransferRate);
151 bool SetDefaultSupplyConfig();
153 virtual double UpdateFuelingOps(
double aSimTime);
162 bool mReceiveInProcess;
165 bool mIsBelowTriggered;
166 bool mIsAboveTriggered;
168 size_t mSupplierIndex;
171 double mLastFoUpdate;
172 double mMaxReceiveRate;
174 double mCurrentReceiveRate;
175 double mCurrentSupplyRate;
177 double mOperBandMaximum;
178 double mOperBandMinimum;
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
WsfFuel(WsfScenario &aScenario)
Definition WsfFuel.cpp:30
void Update(double aSimTime) override
Definition WsfFuel.cpp:308
void DecrementQuantity(double aDelta)
Definition WsfFuel.cpp:711
void IncrementQuantity(double aDelta)
Definition WsfFuel.cpp:706
std::vector< SupplyPoint > SupplyPoints
Definition WsfFuelingOperation.hpp:138
Preference
This enumeration describes the preferred location to supply fuel from (if and when ambiguous).
Definition WsfFuelingOperation.hpp:63
MethodType
This enumeration describes the permitted methods of supplying fuel.
Definition WsfFuelingOperation.hpp:55
@ cNO_METHOD
No fuel may be transferred.
Definition WsfFuelingOperation.hpp:56
std::vector< SupplyPoint >::iterator SupplyPointIter
Definition WsfFuelingOperation.hpp:139
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
bool ProcessInput(UtInput &aInput) override
Definition WsfTabularRateFuel.cpp:122
WsfTabularRateFuel(WsfScenario &aScenario)
Definition WsfTabularRateFuel.cpp:27
WsfFuel * Clone() const override
Definition WsfTabularRateFuel.cpp:63
bool Initialize(double aSimTime) override
Definition WsfTabularRateFuel.cpp:79
Definition WsfTankedFuel.hpp:32
WsfFuelingOperation::MethodType ReceiveMethod() const
Returns an enumeration indicating how this tank may receive fuel.
Definition WsfTankedFuel.hpp:98
double MaxReceiveRate() const
Maximum mass flow rate for this tank while receiving fuel.
Definition WsfTankedFuel.hpp:61
double CurrentReceiveRate() const
Returns the current rate at which this tank is receiving fuel from another.
Definition WsfTankedFuel.hpp:81
void SetSupplyMethodPreference(WsfFuelingOperation::MethodType aSupplyMethod)
Definition WsfTankedFuel.hpp:142
static WsfStringId TypeId()
String ID of this type of software object.
Definition WsfTankedFuel.cpp:31
bool ReceiveInProcess() const
Definition WsfTankedFuel.hpp:58
bool IsReceiveReady() const
Definition WsfTankedFuel.hpp:95
WsfTankedFuel(WsfScenario &aScenario)
Definition WsfTankedFuel.cpp:36
double GetReceiveRate() const override
Returns the rate of a 'receive' fueling operation in progress (if any).
Definition WsfTankedFuel.hpp:118
double CurrentSupplyRate() const
Returns the current rate at which this tank is supplying fuel to another.
Definition WsfTankedFuel.hpp:78
void SetSupplyLocationPreference(WsfFuelingOperation::Preference aLocationPref)
Definition WsfTankedFuel.hpp:146
double GetOpBandMaximum() const
Definition WsfTankedFuel.hpp:85
bool IsSupplyCapable() const
Returns an indication that this tank is enabled to supply fuel to another.
Definition WsfTankedFuel.hpp:88
WsfTankedFuel & operator=(const WsfTankedFuel &)=delete
bool SupplyInProcess() const
Definition WsfTankedFuel.cpp:577
double GetSupplyRate() const override
Returns the sum of all 'supply' fueling operations in progress.
Definition WsfTankedFuel.hpp:115
bool IsReceiveCapable() const
Returns an indication that this tank is enabled to receive fuel from another.
Definition WsfTankedFuel.hpp:91