38 virtual bool init()
override;
41 virtual const char*
type()
const override;
48 virtual void calculateFuelUsage(
double distanceTraveled,
double velocity,
double altitude)
override;
51 virtual double emptyMass()
const;
54 virtual double fullMass()
const;
57 virtual double currentMass()
const;
60 virtual double holdingPatternSpeed()
const;
64 virtual bool findProperties();
69 virtual void setAviationFuel();
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
static DtSimComponent * creator(const DtString &name, DtLocalObject *object, DtSimulationServices *simManager, DtComponentDescriptor *compDescriptor, DtReaderWriterRegistry *parentRegistry)
Creator function to be registered with the DtSimComponentFactory – see main.cxx.
double myHoldPatternSpeed
Definition: airborneAggregatedMovementActuator.h:78
End User Description: Actuator for moving aggregated aggregates along the ground. This actuator place...
Definition: aggregatedMovementActuator.h:47
DtRwBoolean * myHasFuelProperty
Definition: airborneAggregatedMovementActuator.h:76
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
End User Description: Actuator for moving airborne aggregated aggregates. Uses Descriptor Type: DtAct...
Definition: airborneAggregatedMovementActuator.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual bool init() override
Perform any initialization required by the actuator.
Definition: readerWriterRegistry.h:39
std::unique_ptr< DtAircraftFuelConsumptionModel > myFuelConsumptionModel
Definition: airborneAggregatedMovementActuator.h:80
Implements the Breguet range equation V(L/D) Range = ---—*ln(Wi/Wf) g*SFC V = Velocity L/D = Lift/Dra...
Definition: aircraftFuelConsumptionModel.h:28
DtRwPropertiesMap * myFuelTanksProperty
Definition: airborneAggregatedMovementActuator.h:74
DtAirborneAggregatedMovementDescriptor * myAirborneDescriptor
Definition: airborneAggregatedMovementActuator.h:71
virtual const char * type() const override
Returns a string from simComponentTypes.h, identifying the type of component.
Acts as a map for properties. A map is a definition that has a key and a prototype, with values being the key and prototype pair. The key can only be a string (DtRwStringType), int (DtRwIntType, DtRwInt8Type, DtRwInt16Type, DtRwInt32Type), or real (DtRwRealType, DtRwReal32Type, DtRwReal64Type).
Definition: rwPropertiesMap.h:41
DtRwBoolean * myIsAirborneProperty
Definition: airborneAggregatedMovementActuator.h:73
virtual void calculateFuelUsage(double distanceTraveled, double velocity, double altitude)
Calculates the amount of fuel used. Implementation is responsible for setting appropriate properties ...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
const DtAggregatedMovementActuator & operator=(const DtAggregatedMovementActuator &orig)
assignment operator
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean * myEngagementFlag
Definition: airborneAggregatedMovementActuator.h:77
DtRwReal * myFuelAmountProperty
Definition: airborneAggregatedMovementActuator.h:75
DtAirborneAggregatedMovementDescriptor is the descriptor for DtAirborneAggregatedMovementActuator.
Definition: airborneAggregatedMovementDescriptor.h:17
A locally simulated VRF object.
Definition: localObject.h:98