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 double fuelEfficiency() const;
61  virtual void setFuelEfficiency(double d);
63 
66  virtual DtReal crashVelocity() const;
67  virtual void setCrashVelocity(DtReal value);
69 
72  virtual DtReal landingPositionThreshold() const;
73  virtual void setLandingPositionThreshold(DtReal value);
75 
78  virtual DtReal landingVelocityThreshold() const;
79  virtual void setLandingVelocityThreshold(DtReal value);
81 
84  virtual DtReal clampedFrameRate() const;
85  virtual void setClampedFrameRate(DtReal clampedFrameRate);
87 
90  virtual bool useFuel() const;
91  virtual void setUseFuel(bool newValue);
93 
96  virtual void setAirspeedCalculatorType(const DtString& sType);
97  virtual const DtString& airspeedCalculatorType() const;
99 
101  static DtComponentDescriptor * creator();
102 
103 protected:
106 
107 protected:
108 
112 
119 
126 
133 
141 
149 
155 
160 
166 
172 };
DtRwBoolean myUseFuel
Parameter Name: use-fuel Parameter Description: If true entity will consume fuel. Parameter Units: Pa...
Definition: rotaryWingActuatorDescriptor.h:154
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
DtRwReal myLandingVelocityThreshold
Parameter Name: landing-velocity-threshold Parameter Description: Landing velocity threshold...
Definition: rotaryWingActuatorDescriptor.h:132
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:140
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:125
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:165
DtRwReal myCrashVelocity
Parameter Name: crash-velocity Parameter Description: The crash velocity. If the helicopter hits the ...
Definition: rotaryWingActuatorDescriptor.h:118
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:170
DtRwReal myClampedFrameRate
Parameter Name: clamped-frame-rate Parameter Description: The clamped frame rate. If the frame rate (...
Definition: rotaryWingActuatorDescriptor.h:148
DtRwString myAirspeedCalculatorType
Parameter Name: airspeed-calculator-type Parameter Description: Type of the airspeed calculator to cr...
Definition: rotaryWingActuatorDescriptor.h:159
File: rwVector.h.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)