18 #include <vlutil/vlMachineTypes.h>
19 #include <matrix/vlVector.h>
63 virtual bool init()
override;
72 virtual const int fixedWingEntityStateRepositorySubType()
const;
78 virtual DtReal AOA()
const;
79 virtual void setAOA (DtReal aoa);
83 virtual DtReal minLiftSpeed()
const;
84 virtual void setMinLiftSpeed (DtReal minLiftSpeed);
88 virtual DtReal maxAltitude()
const;
89 virtual void setMaxAltitude (DtReal maxAltitude);
93 virtual DtReal maxYawRate()
const;
94 virtual void setMaxYawRate (DtReal maxYawRate);
98 virtual DtReal maxPitchRate()
const;
99 virtual void setMaxPitchRate (DtReal maxPitchRate);
103 virtual DtReal maxRollRate()
const;
104 virtual void setMaxRollRate (DtReal maxRollRate);
107 virtual DtReal maxClimbRate()
const;
108 virtual void setMaxClimbRate (DtReal maxClimbRate);
110 virtual DtReal orderedGroundSpeed()
const;
111 virtual void setOrderedGroundSpeed (DtReal orderedGroundSpeed);
113 virtual DtReal maxGroundSpeed()
const;
114 virtual void setMaxGroundSpeed (DtReal maxGroundSpeed);
116 virtual DtReal maxGroundStoppingDeceleration()
const;
117 virtual void setMaxGroundStoppingDeceleration (DtReal maxGroundStoppingDeceleration);
119 virtual DtReal groundTurningRadius()
const;
120 virtual void setGroundTurningRadius (DtReal groundTurningRadius);
122 virtual DtReal maxGroundSlope()
const;
123 virtual void setMaxGroundSlope (DtReal maxGroundSlope);
128 virtual bool onGround()
const;
137 virtual void setOnGround(
bool onGround);
142 virtual void setCurrentOrderedSpeed(
const double currentOrderedSpeed);
143 virtual const double currentOrderedSpeed()
const;
145 virtual void setCurrentMaxSpeed(
const double currentMaxSpeed);
146 virtual const double currentMaxSpeed()
const;
149 virtual DtReal
maxSpeed()
const override;
151 virtual void setCurrentMaxStoppingDeceleration(
const double currentMaxStoppingDeceleration);
152 virtual const double currentMaxStoppingDeceleration()
const;
154 virtual void setCurrentTurningRadius(
const double currentTurningRadius);
155 virtual const double currentTurningRadius()
const;
159 virtual void setCurrentMaxSlope(
const double currentMaxSlope);
160 virtual const double currentMaxSlope()
const;
162 virtual void setOnGroundTolerance(
double);
163 virtual double onGroundTolerance()
const;
165 virtual DtReal orderedAirSpeed()
const;
166 virtual void setOrderedAirSpeed(DtReal orderedAirSpeed);
168 virtual void setOrderedAirSpeedType(
const DtAirSpeedType &airSpeedType);
171 void setMaxOrderedIndicatedAirSpeed(DtReal speed);
172 DtReal maxOrderedIndicatedAirSpeed()
const;
174 void setMaxOrderedMach(DtReal speed);
175 DtReal maxOrderedMach()
const;
201 virtual void place (
const DtVector& location,
const DtReal heading,
202 bool clampToGroundFlag =
true,
bool* dataAvailable = 0,
203 bool requireAllData =
false)
override;
205 virtual void placeAtAltitude (
const DtVector& location,
const DtReal heading)
override;
209 virtual void updateCurrentStateVars();
216 virtual void setNoseSupport(
const DtVector& noseSupport);
226 virtual void updateAppearanceFromState();
229 bool hasLightingComponent()
const;
Definition: rwAirSpeedType.h:31
Definition: fixedWingEntityStateRepository.h:30
DtRwReal myMaxGroundSpeed
Definition: fixedWingEntityStateRepository.h:252
Contains the DtVrfMovingObjectStateRepository class declaration.
virtual bool init() override
Our 'virtual' constructor. Calls all the create<>() methods.
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:31
DtRwReal myCurrentMaxStoppingDeceleration
Definition: fixedWingEntityStateRepository.h:262
DtRwReal myOnGroundTolerance
The value (in meters) that if a fixed wing is within this tolerance and the ground, it is considered on ground. This value defaults to 10.
Definition: fixedWingEntityStateRepository.h:268
DtRwReal myMaxAltitude
Definition: fixedWingEntityStateRepository.h:245
DtRwReal myCurrentMaxSlope
Definition: fixedWingEntityStateRepository.h:264
virtual void place(const DtVector &location, bool *dataAvailable=0, bool requireAllData=false) override
Place entity at 'location', on the ground, keeping its current heading. The dataAvailable flag will b...
static DtVrfObjectStateRepository * creator(const DtString &name, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
DtRwReal myMaxOrderedIas
Definition: fixedWingEntityStateRepository.h:273
Definition: simObjectStateRepository.h:59
DtRwReal myCurrentTurningRadius
Definition: fixedWingEntityStateRepository.h:263
DtRwAirSpeedType myOrderedAirSpeedType
Definition: fixedWingEntityStateRepository.h:271
Definition: readerWriterRegistry.h:39
virtual void restoreEntity()
Called on a setRestore command, sets destroyed to false and sets resources to initial (parameter file...
virtual const int vrfMovingObjectStateRepositorySubType() const
Returns DtVrfMovingObjectStateRepositorySubTypeBase.
Description: This repository is an internal repository accessible only by local objects. It holds all information that is common to all the forms of all entity/aggregate/control objects within VR-Forces.
Definition: vrfObjectStateRepository.h:91
virtual void setToLegacyRWData() override
DtRwReal myMaxOrderedMach
Definition: fixedWingEntityStateRepository.h:274
DtRwReal myMaxRollRate
Definition: fixedWingEntityStateRepository.h:249
static VRF4API_METHOD DtFixedWingEntityStateRepository * isFixedWingEntityStateRepository(DtSimObjectStateRepository *rep)
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header fi...
Definition: fixedWingEntityStateRepository.h:279
DtRwReal myMaxYawRate
Definition: fixedWingEntityStateRepository.h:247
DtRwReal myMaxPitchRate
Definition: fixedWingEntityStateRepository.h:248
virtual void restoreFromLegacyRWData() override
virtual bool attachToParent(const DtUUID &parent) override
Looks up the parent state repository using the given echelon ID and puts it in a call to attachToPare...
DtRwReal myMaxClimbRate
Definition: fixedWingEntityStateRepository.h:246
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtReal maxSpeed() const
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
This repository holds all information that is common to all the forms of local fixed wing entities wi...
Definition: fixedWingEntityStateRepository.h:41
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
virtual void createLegacyRWData() override
Creates the legacy data used for any pre/put operation. Override this to create your legacy data atta...
DtRwReal myMinLiftSpeed
Definition: fixedWingEntityStateRepository.h:244
DtRwReal myOrderedGroundSpeed
Definition: fixedWingEntityStateRepository.h:251
virtual void initializeFromParameters() override
Definition: fixedWingEntityStateRepository.h:29
Contains the set of readable/writeable parameters assoicated with a fixed-wing entity.
Definition: fixedWingEntityParameters.h:56
DtRwReal myMaxGroundSlope
Definition: fixedWingEntityStateRepository.h:255
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override
Override getSelf to handle mapping of old pre-2.0 oob files. Maps the old variables for local and wor...
DtRwReal myAOA
Definition: fixedWingEntityStateRepository.h:243
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtAirSpeedType
Air Speed Type PDU enums.
Definition: rwAirSpeedType.h:23
DtRwReal myCurrentOrderedSpeed
These variables are used to represent the values for the current state of the FWE - for flying or dri...
Definition: fixedWingEntityStateRepository.h:260
virtual DtString type() const override
returns DtSimObjectStateRepositoryType
DtRwReal myGroundTurningRadius
Definition: fixedWingEntityStateRepository.h:254
Class Invariant: The DtGroundInteractionPt class must always have a valid DtAttachedTerrain or DtSimM...
Definition: groundInteractionPt.h:28
DtRwReal myOrderedAirSpeed
Definition: fixedWingEntityStateRepository.h:270
DtFixedWingCurrentState
Definition: fixedWingEntityStateRepository.h:27
const T_SRType * as() const
Convenience function to cast to particular state rep type.
Definition: simObjectStateRepository.h:101
VRF4API_METHOD bool onTerrainSurface() const
Get/Set the activity of the unit. Set in the extended data and in state properties (if exists) ...
DtRwReal myCurrentMaxSpeed
Definition: fixedWingEntityStateRepository.h:261
virtual void placeAtAltitude(const DtVector &location, const DtReal heading)
Places entity at altitude regardless of terrain.
#define VRF4API_METHOD
Include this header file to allow for the definition/usage of the ability to mark something as deprec...
Definition: vrf4XAPI.h:23
DtRwReal myMaxGroundStoppingDeceleration
Definition: fixedWingEntityStateRepository.h:253
A locally simulated VRF object.
Definition: localObject.h:98