46 const DtString& rwName = DtString::nullString(),
51 const DtString& rwName = DtString::nullString(),
62 const DtString& rwName = DtString::nullString(),
70 virtual void setMaxThrustAccleration(
double acceleration);
71 virtual double maxThrustAcceleration()
const;
73 virtual void setNormalizedBodyVelocity(
const DtVector& velocity);
74 virtual const DtVector& normalizedBodyVelocity()
const;
76 virtual void setLocalAngularVelocity(
double velocity);
77 virtual double localAngularVelocity()
const;
79 virtual void setSpeedRatioSquared(
double value);
80 virtual double speedRatioSquared()
const;
82 virtual void setFinishing(
bool flag);
83 virtual bool isFinishing()
const;
85 virtual void setApproachingVertex(
bool flag);
86 virtual bool isApproachingVertex()
const;
88 virtual void setBanking(
bool flag);
89 virtual bool isBanking()
const;
91 virtual void setLastDistanceSquared(
double value);
92 virtual double lastDistanceSquared()
const;
94 virtual void setDistanceSquared(
double value);
95 virtual double distanceSquared()
const;
97 virtual void setTakeOffDir(
const DtVector& takeOffDir);
98 virtual const DtVector& takeOffDir()
const;
100 virtual void setLandingDir(
const DtVector& landingDir);
101 virtual const DtVector& landingDir()
const;
104 virtual void setEntityToFollow(
const DtUUID& objectName);
110 virtual const DtVector& followOffsetVector()
const;
114 virtual void setLoiterRadius(
double radius);
115 virtual double loiterRadius()
const;
119 virtual void setLoiterClockwise(
bool flag);
120 virtual bool loiterClockwise()
const;
123 virtual void setLoiterCenter(
const DtVector& center);
124 virtual const DtVector& loiterCenter()
const;
127 virtual void setObjectToOrbit(
const DtUUID&);
132 virtual void setTimeToEndOrbit(
double t);
133 virtual double timeToEndOrbit()
const;
137 virtual void setControlPoint(
const DtUUID&);
143 virtual void setCreatedControlPoint(
bool);
144 virtual bool createdControlPoint()
const;
151 virtual void setPreviousAltitude(
const double speed);
152 virtual const double previousAltitude()
const;
156 virtual void setFirstWaypoint(
const DtUUID&);
163 virtual void setSecondWaypoint(
const DtUUID&);
169 virtual void setReversePatrol(
bool reverse);
170 virtual bool reversePatrol()
const;
174 virtual void setRoute(
const DtUUID&);
180 virtual void setUseFixedPitch(
bool);
181 virtual bool useFixedPitch()
const;
189 virtual void emptyRouteVertices();
196 virtual void putSelf(std::string& fp,
int indentLevel = 0,
bool writeUnspecified =
false,
200 virtual void resetRouteState();
205 virtual void setWorldAimingPoint(
const DtVector& pnt);
206 virtual const DtVector& worldAimingPoint()
const;
209 virtual void setMovingToAltitude(
bool movingToAlt);
211 virtual bool movingToAltitude()
const;
214 virtual void setMoveToAltitudeValue(
double altitude);
216 virtual double moveToAltitudeValue()
const;
220 virtual void setTurningToBeginApproachToRoute(
bool);
221 virtual bool turningToBeginApproachToRoute()
const;
226 virtual void setWaitingToSetMovementStatus(
bool);
227 virtual bool waitingToSetMovementStatus()
const;
233 virtual void setInitTime(
const double initTime);
234 virtual DtReal initTime()
const;
241 virtual void setAltitudeSpecified(
const bool isSpecified);
242 virtual const bool isAltitudeSpecified()
const;
double myMaxThrustAcceleration
Moved here from DtFixedWingPilotController (fixWngPltCtl.h)
Definition: fixedWingFlightPSR.h:261
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
DtRwVector myWorldAimingPoint
World point for move to location tasks.
Definition: fixedWingFlightPSR.h:334
DtRwReal myDistanceSquared
Definition: fixedWingFlightPSR.h:272
DtRwReal myPreviousAltitude
Intended to hold the previous altitude when flying or taxiing so the current altitude can be compared...
Definition: fixedWingFlightPSR.h:309
Definition: fixedWingFlightPSR.h:26
DtRwSimObjectReference myEntityToFollow
Moved here from DtFixedWingFollowEntityController (fixWngFolwCtl.h).
Definition: fixedWingFlightPSR.h:281
Definition: fixedWingFlightPSR.h:27
Definition: fixedWingFlightPSR.h:28
DtLocalVectorIterator * myRouteState
Route state used to get info about the current route we're trying to follow (e.g. which vertex to mov...
Definition: fixedWingFlightPSR.h:327
DtRwBoolean myBanking
Definition: fixedWingFlightPSR.h:270
DtRwBoolean myTurningToBeginApproachToRoute
Definition: fixedWingFlightPSR.h:340
DtRwReal myInitTime
Definition: fixedWingFlightPSR.h:346
DtRwBoolean myWaitingToSetMovementStatus
Definition: fixedWingFlightPSR.h:344
DtRwBoolean myCreatedControlPoint
Definition: fixedWingFlightPSR.h:347
File: lclVecIter.h.
Definition: localVectorIterator.h:25
DtRwReal myLocalAngularVelocity
Definition: fixedWingFlightPSR.h:264
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
DtRwReal mySpeedRatioSquared
Definition: fixedWingFlightPSR.h:265
DtRwVector myLandingDir
Definition: fixedWingFlightPSR.h:275
Definition: readerWriterRegistry.h:39
DtRwBoolean myApproachingVertex
Definition: fixedWingFlightPSR.h:269
Contains the DtUUID class declaration.
DtRwInt myCurrentVertex
Read/write variables to capture route state.
Definition: fixedWingFlightPSR.h:331
DtRwVector myNormalizedBodyVelocity
Definition: fixedWingFlightPSR.h:263
Definition: rwVector.h:23
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: simObjectReference.h:74
DtLocalVertexList myVertices
my copy of the current route
Definition: fixedWingFlightPSR.h:329
DtRwSimObjectReference myObjectToOrbit
If tasked() is true, this is the name of the object we're orbiting.
Definition: fixedWingFlightPSR.h:292
class DtFixedWingFlightPSR:
Definition: fixedWingFlightPSR.h:40
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtRwReal myTimeToEndOrbit
The time to end the current orbit task. Generally -1, which means the task is indefinite, but can be set when waiting at a hold point.
Definition: fixedWingFlightPSR.h:296
DtRwVector myTakeOffDir
Definition: fixedWingFlightPSR.h:274
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwVector myLoiterCircleCenter
Location of loiter circle center.
Definition: fixedWingFlightPSR.h:288
DtRwBoolean myClockwise
Definition: fixedWingFlightPSR.h:286
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
DtRwSimObjectReference myRoute
Moved here from DtFixedWingMoveAlongController (fixWngMvAlg.h).
Definition: fixedWingFlightPSR.h:324
DtRwReal myLastDistanceSquared
Definition: fixedWingFlightPSR.h:271
DtRwReal myRadius
Moved here from DtFixedWingDefaultController (fixWngDefCtl.h).
Definition: fixedWingFlightPSR.h:285
DtRwSimObjectReference mySecondWaypoint
Definition: fixedWingFlightPSR.h:316
virtual void putSelf(std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
Top level call to write itself to file. If write unspecified is true, will write entries that are uns...
DtRwBoolean myAltitudeSpecified
For the flight-command-controller: indicate whether an altitude has been specified, or the task can complete when the heading is achieved.
Definition: fixedWingFlightPSR.h:353
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwSimObjectReference myFirstWaypoint
Moved here from DtFixedWingPatrolBetweenController (fixWngPtlBtwn.h)
Definition: fixedWingFlightPSR.h:315
Definition: fixedWingFlightPSR.h:29
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myUseFixedPitch
Definition: fixedWingFlightPSR.h:342
DtRwBoolean myMovingToAltitude
Indicates that a move-to-altitude is being processed.
Definition: fixedWingFlightPSR.h:337
DtRwVector myOffsetVector
Definition: fixedWingFlightPSR.h:282
DtRwInt myMovementStatus
Definition: fixedWingFlightPSR.h:304
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
voidpf uLong offset
Definition: ioapi.h:42
class DtLocalVertexList:
Definition: localVertexList.h:20
DtRwBoolean myFinishing
Definition: fixedWingFlightPSR.h:267
DtFixedWingMovementStatus
Delineates the type of movement being performed by the FW entity during move to or move along tasks...
Definition: fixedWingFlightPSR.h:24
DtRwBoolean myReverseFlag
Definition: fixedWingFlightPSR.h:317
static const DtFilename & appPath()
Gets the current working directory. The first time this accessor is called, it determines the current...
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
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
DtRwSimObjectReference myControlObject
Moved here from DtFixedWingMoveToController (fixWngMvToCtl.h)
Definition: fixedWingFlightPSR.h:303
DtRwReal myMoveToAltitudeValue
Definition: fixedWingFlightPSR.h:338