18 #include <vlutil/vlMachineTypes.h>
19 #include <matrix/vlVector.h>
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);
87 virtual DtReal maxAltitude()
const;
88 virtual void setMaxAltitude (DtReal maxAltitude);
92 virtual DtReal maxYawRate()
const;
93 virtual void setMaxYawRate (DtReal maxYawRate);
97 virtual DtReal maxPitchRate()
const;
98 virtual void setMaxPitchRate (DtReal maxPitchRate);
102 virtual DtReal maxRollRate()
const;
103 virtual void setMaxRollRate (DtReal maxRollRate);
106 virtual DtReal maxClimbRate()
const;
107 virtual void setMaxClimbRate (DtReal maxClimbRate);
109 virtual DtReal orderedGroundSpeed()
const;
110 virtual void setOrderedGroundSpeed (DtReal orderedGroundSpeed);
112 virtual DtReal maxGroundSpeed()
const;
113 virtual void setMaxGroundSpeed (DtReal maxGroundSpeed);
115 virtual DtReal maxGroundStoppingDeceleration()
const;
116 virtual void setMaxGroundStoppingDeceleration (DtReal maxGroundStoppingDeceleration);
118 virtual DtReal groundTurningRadius()
const;
119 virtual void setGroundTurningRadius (DtReal groundTurningRadius);
121 virtual DtReal maxGroundSlope()
const;
122 virtual void setMaxGroundSlope (DtReal maxGroundSlope);
127 virtual bool onGround()
const;
136 virtual void setOnGround(
bool onGround);
141 virtual void setCurrentOrderedSpeed(
const double currentOrderedSpeed);
142 virtual const double currentOrderedSpeed()
const;
144 virtual void setCurrentMaxSpeed(
const double currentMaxSpeed);
145 virtual const double currentMaxSpeed()
const;
147 virtual void setCurrentMaxStoppingDeceleration(
const double currentMaxStoppingDeceleration);
148 virtual const double currentMaxStoppingDeceleration()
const;
150 virtual void setCurrentTurningRadius(
const double currentTurningRadius);
151 virtual const double currentTurningRadius()
const;
155 virtual void setCurrentMaxSlope(
const double currentMaxSlope);
156 virtual const double currentMaxSlope()
const;
158 virtual void setOnGroundTolerance(
double);
159 virtual double onGroundTolerance()
const;
161 virtual DtReal orderedAirSpeed()
const;
162 virtual void setOrderedAirSpeed(DtReal orderedAirSpeed);
164 virtual void setOrderedAirSpeedType(
const DtAirSpeedType &airSpeedType);
191 virtual void place (
const DtVector& location,
const DtReal heading,
192 bool clampToGroundFlag =
true,
bool* dataAvailable = 0,
193 bool requireAllData =
false);
199 virtual void updateCurrentStateVars();
206 virtual void setNoseSupport(
const DtVector& noseSupport);
216 virtual void updateAppearanceFromState();
Definition: rwAirSpeedType.h:32
Definition: fixedWingEntityStateRepository.h:30
DtRwReal myMaxGroundSpeed
Definition: fixedWingEntityStateRepository.h:234
Contains the DtVrfMovingObjectStateRepository class declaration.
virtual bool init()
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:244
virtual void initializeFromParameters()
virtual void place(const DtVector &location, bool *dataAvailable=0, bool requireAllData=false)
Place entity at 'location', on the ground, keeping its current heading. The dataAvailable flag will b...
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:250
DtRwReal myMaxAltitude
Definition: fixedWingEntityStateRepository.h:227
DtRwReal myCurrentMaxSlope
Definition: fixedWingEntityStateRepository.h:246
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Override getSelf to handle mapping of old pre-2.0 oob files. Maps the old variables for local and wor...
static DtVrfObjectStateRepository * creator(const DtString &name, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Definition: simObjectStateRepository.h:59
DtRwReal myCurrentTurningRadius
Definition: fixedWingEntityStateRepository.h:245
DtRwAirSpeedType myOrderedAirSpeedType
Definition: fixedWingEntityStateRepository.h:253
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:90
virtual DtString type() const
returns DtSimObjectStateRepositoryType
DtRwReal myMaxRollRate
Definition: fixedWingEntityStateRepository.h:231
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:260
DtRwReal myMaxYawRate
Definition: fixedWingEntityStateRepository.h:229
DtRwReal myMaxPitchRate
Definition: fixedWingEntityStateRepository.h:230
DtRwReal myMaxClimbRate
Definition: fixedWingEntityStateRepository.h:228
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Definition: fixedWingEntityStateRepository.h:255
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
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 bool attachToParent(const DtUUID &parent)
Looks up the parent state repository using the given echelon ID and puts it in a call to attachToPare...
DtRwReal myMinLiftSpeed
Definition: fixedWingEntityStateRepository.h:226
DtRwReal myOrderedGroundSpeed
Definition: fixedWingEntityStateRepository.h:233
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:237
DtRwReal myAOA
Definition: fixedWingEntityStateRepository.h:225
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtAirSpeedType
Air Speed Type PDU enums.
Definition: rwAirSpeedType.h:24
DtRwReal myCurrentOrderedSpeed
These variables are used to represent the values for the current state of the FWE - for flying or dri...
Definition: fixedWingEntityStateRepository.h:242
DtRwReal myGroundTurningRadius
Definition: fixedWingEntityStateRepository.h:236
Class Invariant: The DtGroundInteractionPt class must always have a valid DtAttachedTerrain or DtSimM...
Definition: groundInteractionPt.h:28
DtRwReal myOrderedAirSpeed
Definition: fixedWingEntityStateRepository.h:252
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:243
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:22
DtRwReal myMaxGroundStoppingDeceleration
Definition: fixedWingEntityStateRepository.h:235
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86