48 virtual void setSpeedToRPMFactor(
double value);
49 virtual double speedToRPMFactor()
const;
54 virtual void setAccelerationToRPMFactor(
double value);
55 virtual double accelerationToRPMFactor()
const;
60 virtual void setMinSpeed(
double value);
61 virtual double minSpeed()
const;
66 virtual void setPowerPlantActive(
bool active);
67 virtual bool powerPlantActive()
const;
Instances of DtPropulsionNoiseGeneratorDescriptor are used to specify the parameters for a DtGlobalEn...
Definition: propulsionNoiseGeneratorDescriptor.h:19
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myAccelerationToRPMFactor
Parameter Name: acceleration-to-rpm-factor Parameter Description: Factor by which current/ordered acc...
Definition: propulsionNoiseGeneratorDescriptor.h:89
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal mySpeedToRPMFactor
Parameter Name: speed-to-rpm-factor Parameter Description: Factor by which current/ordered speed (in ...
Definition: propulsionNoiseGeneratorDescriptor.h:83
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwReal myMinSpeed
Parameter Name: min-speed Parameter Description: The speed below which the RPMs will be set to 0...
Definition: propulsionNoiseGeneratorDescriptor.h:94
static DtComponentDescriptor * creator()
DtRwBoolean myPowerPlantActive
Paramter Name: "power-plant-active Parameter Description: Whether the powerplant is active upon entit...
Definition: propulsionNoiseGeneratorDescriptor.h:100