13 #include <boost/scoped_ptr.hpp>
42 virtual const char*
type()
const;
50 double distanceTraveled,
55 virtual double emptyMass()
const;
58 virtual double fullMass()
const;
61 virtual double currentMass()
const;
64 virtual double holdingPatternSpeed()
const;
68 virtual bool findProperties();
73 virtual void setAviationFuel();
virtual const char * type() const
Returns a string from simComponentTypes.h, identifying the type of component.
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
double myHoldPatternSpeed
Definition: airborneAggregatedMovementActuator.h:82
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
End User Description: Actuator for moving aggregated aggregates along the ground. ...
Definition: aggregatedMovementActuator.h:46
DtRwBoolean * myHasFuelProperty
Definition: airborneAggregatedMovementActuator.h:80
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.
Definition: airborneAggregatedMovementActuator.h:21
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
boost::scoped_ptr< DtAircraftFuelConsumptionModel > myFuelConsumptionModel
Definition: airborneAggregatedMovementActuator.h:84
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:78
DtAirborneAggregatedMovementDescriptor * myAirborneDescriptor
Definition: airborneAggregatedMovementActuator.h:75
Acts as a map for properties.
Definition: rwPropertiesMap.h:41
DtRwBoolean * myIsAirborneProperty
Definition: airborneAggregatedMovementActuator.h:77
virtual void calculateFuelUsage(double distanceTraveled, double velocity, double altitude)
Calculates the amount of fuel used.
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
const DtAggregatedMovementActuator & operator=(const DtAggregatedMovementActuator &orig)
assignment operator
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
virtual bool init()
Perform any initialization required by the actuator.
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtRwBoolean * myEngagementFlag
Definition: airborneAggregatedMovementActuator.h:81
static DtSimComponent * creator(const DtString &name, DtVrfObject *object, DtSimManager *simManager, DtComponentDescriptor *compDescriptor, DtReaderWriterRegistry *parentRegistry)
Creator function to be registered with the DtSimComponentFactory – see main.cxx.
DtRwReal * myFuelAmountProperty
Definition: airborneAggregatedMovementActuator.h:79
DtAirborneAggregatedMovementDescriptor is the descriptor for DtAirborneAggregatedMovementActuator.
Definition: airborneAggregatedMovementDescriptor.h:17