VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotaryWingActuatorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 #pragma once
12 
14 #include <readerWriter/rwReal.h>
15 #include "readerWriter/rwVector.h"
17 #include "vrfutil/rwResource.h"
18 
23 {
24 public:
27  DtReaderWriterRegistry* parentRegistry = NULL);
29  DtReaderWriterRegistry* parentRegistry = NULL);
30 
33  DtReaderWriterRegistry* parentRegistry = NULL);
34 
37  const DtRotaryWingActuatorDescriptor& orig);
38 
39  virtual ~DtRotaryWingActuatorDescriptor() override;
40 
43  virtual DtString type() const override;
44 
45  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
46 
48  virtual void setDefaults();
49 
50  virtual void copyValues(const DtRotaryWingActuatorDescriptor & orig);
51 
54  virtual const DtEntityType& fuelType() const;
55  virtual void setFuelType(const DtEntityType& fuelType);
57 
60  virtual int fuelBin() const;
61  virtual void fuelBin(int d);
63 
66  virtual double fuelEfficiency() const;
67  virtual void setFuelEfficiency(double d);
69 
72  virtual DtReal crashVelocity() const;
73  virtual void setCrashVelocity(DtReal value);
75 
78  virtual DtReal landingPositionThreshold() const;
79  virtual void setLandingPositionThreshold(DtReal value);
81 
84  virtual DtReal landingVelocityThreshold() const;
85  virtual void setLandingVelocityThreshold(DtReal value);
87 
90  virtual DtReal clampedFrameRate() const;
91  virtual void setClampedFrameRate(DtReal clampedFrameRate);
93 
96  virtual bool useFuel() const;
97  virtual void setUseFuel(bool newValue);
99 
102  virtual void setAirspeedCalculatorType(const DtString& sType);
103  virtual const DtString& airspeedCalculatorType() const;
105 
108  virtual bool createImpactDetonation() const;
109  virtual void setCreateImpactDetonation(bool newValue);
111 
113  static DtComponentDescriptor * creator();
114 
115 protected:
118 
119 protected:
120 
124 
131 
138 
145 
153 
161 
167 
172 
178 
183 
188 
194 };
DtRwBoolean myUseFuel
Parameter Name: use-fuel Parameter Description: If true entity will consume fuel. Parameter Units: Pa...
Definition: rotaryWingActuatorDescriptor.h:166
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
DtRwReal myLandingVelocityThreshold
Parameter Name: landing-velocity-threshold Parameter Description: Landing velocity threshold...
Definition: rotaryWingActuatorDescriptor.h:144
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRotaryWingActuatorDescriptor; descriptor for the DtRotaryWingActuatorComponent component.
Definition: rotaryWingActuatorDescriptor.h:22
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.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
Definition: readerWriterRegistry.h:39
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwReal myLandingHeightThreshold
Parameter Name: landing-height-threshold Parameter Description: The landing height threshold...
Definition: rotaryWingActuatorDescriptor.h:152
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtRwReal myLandingPositionThreshold
Parameter Name: landing-position-threshold Parameter Description: Landing position threshold...
Definition: rotaryWingActuatorDescriptor.h:137
DtRwBoolean myCreateImpactDetonation
Parameter Name: create-impact-detonation Parameter Description: Whether or not to create a detonation...
Definition: rotaryWingActuatorDescriptor.h:192
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwResource myFuelType
Parameter Name: fuel-type Parameter Description: The fuel that will be consumed by the surface vessel...
Definition: rotaryWingActuatorDescriptor.h:177
DtRwReal myCrashVelocity
Parameter Name: crash-velocity Parameter Description: The crash velocity. If the helicopter hits the ...
Definition: rotaryWingActuatorDescriptor.h:130
This class will read in an old resource by name and convert it to the type, or, just read it as type...
Definition: rwResource.h:12
DtRwReal myFuelEfficiency
Parameter Name: fuel-efficieny Parameter Description: When a rotary wing moves, how much of the fuel ...
Definition: rotaryWingActuatorDescriptor.h:182
DtRwReal myClampedFrameRate
Parameter Name: clamped-frame-rate Parameter Description: The clamped frame rate. If the frame rate (...
Definition: rotaryWingActuatorDescriptor.h:160
DtRwString myAirspeedCalculatorType
Parameter Name: airspeed-calculator-type Parameter Description: Type of the airspeed calculator to cr...
Definition: rotaryWingActuatorDescriptor.h:171
File: rwVector.h.
DtRwInt myFuelBin
Parameter Name: fuel-bin Parameter Description: Resource bin the fuel can be found in Parameter Defau...
Definition: rotaryWingActuatorDescriptor.h:187

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)