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 
64  virtual void setDragCoefficient(double dc);
65  virtual double dragCoefficient() const;
67 
70  virtual bool forceUpdates() const;
71  virtual void setForceUpdates(bool force);
73 
76  virtual const DtEntityType& fuelType() const;
77  virtual void setFuelType(const DtEntityType& fuelType);
79 
82  virtual void setEngineEfficiency(const DtRwAircraftEngineEfficiencyDataPointList& datapoints);
83  virtual const DtRwAircraftEngineEfficiencyDataPointList& engineEfficiency() const;
85 
88  virtual void setAirspeedCalculatorType(const DtString& sType);
89  virtual const DtString& airspeedCalculatorType() const;
91 
93  static DtComponentDescriptor * creator();
94 
95 protected:
98 
99  virtual void preGetSelf() override;
100 
101 protected:
102 
106 
113 
124 
130 
137 
143 
148 
154 
156 };
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:112
DtRwString myAirspeedCalculatorType
Parameter Name: airspeed-calculator-type Parameter Description: Type of the airspeed calculator to cr...
Definition: fixedWingActuatorDescriptor.h:147
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:153
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:142
DtRwBoolean myForceUpdates
Parameter Name: force-updates Parameter Description: Forces network updates when acceleration changes...
Definition: fixedWingActuatorDescriptor.h:136
DtRwReal myDragCoefficient
Parameter Name: drag-coefficient Parameter Description: This is amount of drag associated with this e...
Definition: fixedWingActuatorDescriptor.h:129
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:123
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

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)