VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedWingActuatorDescriptor.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/rwBoolean.h>
17 #include "vrfutil/rwResource.h"
19 
25 {
26 public:
29  DtReaderWriterRegistry* parentRegistry = NULL);
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
39  const DtFixedWingActuatorDescriptor& orig);
40 
41  virtual ~DtFixedWingActuatorDescriptor() override;
42 
45  virtual DtString type() const override;
46 
47  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
48 
51  virtual DtReal maxThrustAcceleration() const;
52  virtual void setMaxThrustAcceleration(DtReal maxThrustAcceleration);
54 
57  virtual bool checkTerrain() const;
58  virtual void setCheckTerrain(bool checkTerrain);
60 
63  virtual int fuelBin() const;
64  virtual void fuelBin(int d);
66 
70  virtual void setDragCoefficient(double dc);
71  virtual double dragCoefficient() const;
73 
76  virtual bool forceUpdates() const;
77  virtual void setForceUpdates(bool force);
79 
82  virtual const DtEntityType& fuelType() const;
83  virtual void setFuelType(const DtEntityType& fuelType);
85 
88  virtual void setEngineEfficiency(const DtRwAircraftEngineEfficiencyDataPointList& datapoints);
89  virtual const DtRwAircraftEngineEfficiencyDataPointList& engineEfficiency() const;
91 
94  virtual void setAirspeedCalculatorType(const DtString& sType);
95  virtual const DtString& airspeedCalculatorType() const;
97 
99  static DtComponentDescriptor * creator();
100 
101 protected:
104 
105  virtual void preGetSelf() override;
106 
107 protected:
108 
112 
119 
130 
136 
143 
149 
154 
160 
166 };
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
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
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
DtRwReal myMaxThrustAcceleration
Parameter Name: max-thrust-acceleration Parameter Description: The maximum acceleration in the direct...
Definition: fixedWingActuatorDescriptor.h:118
DtRwString myAirspeedCalculatorType
Parameter Name: airspeed-calculator-type Parameter Description: Type of the airspeed calculator to cr...
Definition: fixedWingActuatorDescriptor.h:153
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
DtRwResource myFuelType
Parameter Name: fuel-type Parameter Description: The fuel that will be consumed by the surface vessel...
Definition: fixedWingActuatorDescriptor.h:159
Definition: readerWriterRegistry.h:39
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwAircraftEngineEfficiencyDataPointList myAircraftEngineEfficiency
Parameter Name: aircraft-engine-efficiency Parameter Description: Data points which define the engine...
Definition: fixedWingActuatorDescriptor.h:148
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwBoolean myForceUpdates
Parameter Name: force-updates Parameter Description: Forces network updates when acceleration changes...
Definition: fixedWingActuatorDescriptor.h:142
DtRwReal myDragCoefficient
Parameter Name: drag-coefficient Parameter Description: This is amount of drag associated with this e...
Definition: fixedWingActuatorDescriptor.h:135
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtRwBoolean myCheckTerrain
Parameter Name: terrain-check Parameter Description: If terrain-check is False, entity ignores the te...
Definition: fixedWingActuatorDescriptor.h:129
virtual void preGetSelf()
Called before either version of get self (file or environment). Default is no-op. ...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtFixedWingActuatorDescriptor, a descriptor for the DtFixedWingActuatorComponent component.
Definition: fixedWingActuatorDescriptor.h:24
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
Definition: rwAircraftEngineEfficiency.h:66
DtRwInt myFuelBin
Parameter Name: fuel-bin Parameter Description: Resource bin the fuel can be found in Parameter Defau...
Definition: fixedWingActuatorDescriptor.h:164

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)