44 const DtString& rwName = DtString::nullString(),
49 const DtString& rwName = DtString::nullString(),
60 const DtString& rwName = DtString::nullString(),
68 virtual void setMaxThrustAccleration(
double acceleration);
69 virtual double maxThrustAcceleration()
const;
71 virtual void setNormalizedBodyVelocity(
const DtVector& velocity);
72 virtual const DtVector& normalizedBodyVelocity()
const;
74 virtual void setLocalAngularVelocity(
double velocity);
75 virtual double localAngularVelocity()
const;
77 virtual void setSpeedRatioSquared(
double value);
78 virtual double speedRatioSquared()
const;
80 virtual void setFinishing(
bool flag);
81 virtual bool isFinishing()
const;
83 virtual void setApproachingVertex(
bool flag);
84 virtual bool isApproachingVertex()
const;
86 virtual void setBanking(
bool flag);
87 virtual bool isBanking()
const;
89 virtual void setLastDistanceSquared(
double value);
90 virtual double lastDistanceSquared()
const;
92 virtual void setDistanceSquared(
double value);
93 virtual double distanceSquared()
const;
95 virtual void setTakeOffDir(
const DtVector& takeOffDir);
96 virtual const DtVector& takeOffDir()
const;
98 virtual void setLandingDir(
const DtVector& landingDir);
99 virtual const DtVector& landingDir()
const;
102 virtual void setEntityToFollow(
const DtUUID& objectName);
109 virtual const DtVector& followOffsetVector()
const;
113 virtual void setLoiterRadius(
double radius);
114 virtual double loiterRadius()
const;
118 virtual void setLoiterClockwise(
bool flag);
119 virtual bool loiterClockwise()
const;
122 virtual void setLoiterCenter(
const DtVector& center);
123 virtual const DtVector& loiterCenter()
const;
126 virtual void setObjectToOrbit(
const DtUUID&);
132 virtual void setTimeToEndOrbit(
double t);
133 virtual double timeToEndOrbit()
const;
137 virtual void setControlPoint(
const DtUUID&);
148 virtual void setPreviousAltitude(
const double speed);
149 virtual const double previousAltitude()
const;
153 virtual void setFirstWaypoint(
const DtUUID&);
161 virtual void setSecondWaypoint(
const DtUUID&);
168 virtual void setReversePatrol(
bool reverse);
169 virtual bool reversePatrol()
const;
173 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;
221 virtual void setWaitingToSetMovementStatus(
bool);
222 virtual bool waitingToSetMovementStatus()
const;
228 virtual void setInitTime(
const double initTime);
229 virtual DtReal initTime()
const;
236 virtual void setAltitudeSpecified(
const bool isSpecified);
237 virtual const bool isAltitudeSpecified()
const;
double myMaxThrustAcceleration
Moved here from DtFixedWingPilotController (fixWngPltCtl.h)
Definition: fixedWingFlightPSR.h:256
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtRwVector myWorldAimingPoint
World point for move to location tasks.
Definition: fixedWingFlightPSR.h:329
DtRwReal myDistanceSquared
Definition: fixedWingFlightPSR.h:267
DtRwReal myPreviousAltitude
Intended to hold the previous altitude when flying or taxiing so the current altitude can be compared...
Definition: fixedWingFlightPSR.h:304
Definition: fixedWingFlightPSR.h:26
Definition: fixedWingFlightPSR.h:27
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Definition: fixedWingFlightPSR.h:28
DtRwVrfObjectReference myFirstWaypoint
Moved here from DtFixedWingPatrolBetweenController (fixWngPtlBtwn.h)
Definition: fixedWingFlightPSR.h:310
DtLocalVectorIterator * myRouteState
Route state used to get info about the current route we're trying to follow (e.g. ...
Definition: fixedWingFlightPSR.h:322
DtRwBoolean myBanking
Definition: fixedWingFlightPSR.h:265
DtRwReal myInitTime
Definition: fixedWingFlightPSR.h:339
DtRwBoolean myWaitingToSetMovementStatus
Definition: fixedWingFlightPSR.h:337
File: lclVecIter.h.
Definition: localVectorIterator.h:25
DtRwReal myLocalAngularVelocity
Definition: fixedWingFlightPSR.h:259
DtRwReal mySpeedRatioSquared
Definition: fixedWingFlightPSR.h:260
DtRwVector myLandingDir
Definition: fixedWingFlightPSR.h:270
Definition: readerWriterRegistry.h:39
DtRwBoolean myApproachingVertex
Definition: fixedWingFlightPSR.h:264
DtRwVrfObjectReference myControlObject
Moved here from DtFixedWingMoveToController (fixWngMvToCtl.h)
Definition: fixedWingFlightPSR.h:298
DtRwInt myCurrentVertex
Read/write variables to capture route state.
Definition: fixedWingFlightPSR.h:326
DtRwVector myNormalizedBodyVelocity
Definition: fixedWingFlightPSR.h:258
Definition: rwVector.h:23
DtLocalVertexList myVertices
my copy of the current route
Definition: fixedWingFlightPSR.h:324
class DtFixedWingFlightPSR:
Definition: fixedWingFlightPSR.h:38
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtRwVrfObjectReference myRoute
Moved here from DtFixedWingMoveAlongController (fixWngMvAlg.h).
Definition: fixedWingFlightPSR.h:319
DtRwReal myTimeToEndOrbit
The time to end the current orbit task.
Definition: fixedWingFlightPSR.h:291
DtRwVector myTakeOffDir
Definition: fixedWingFlightPSR.h:269
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwVector myLoiterCircleCenter
Location of loiter circle center.
Definition: fixedWingFlightPSR.h:283
DtRwBoolean myClockwise
Definition: fixedWingFlightPSR.h:281
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
DtRwReal myLastDistanceSquared
Definition: fixedWingFlightPSR.h:266
DtRwReal myRadius
Moved here from DtFixedWingDefaultController (fixWngDefCtl.h).
Definition: fixedWingFlightPSR.h:280
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.
DtRwVrfObjectReference myEntityToFollow
Moved here from DtFixedWingFollowEntityController (fixWngFolwCtl.h).
Definition: fixedWingFlightPSR.h:276
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:345
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Class used as the reader/writer implementation of the DtVrfObjectReference.
Definition: vrfObjectReference.h:204
Definition: fixedWingFlightPSR.h:29
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories.
Definition: vrfProcessStateRepository.h:43
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myUseFixedPitch
Definition: fixedWingFlightPSR.h:335
DtRwVrfObjectReference myObjectToOrbit
If tasked() is true, this is the name of the object we're orbiting.
Definition: fixedWingFlightPSR.h:287
DtRwBoolean myMovingToAltitude
Indicates that a move-to-altitude is being processed.
Definition: fixedWingFlightPSR.h:332
DtRwVector myOffsetVector
Definition: fixedWingFlightPSR.h:277
DtRwInt myMovementStatus
Definition: fixedWingFlightPSR.h:299
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
DtRwVrfObjectReference mySecondWaypoint
Definition: fixedWingFlightPSR.h:311
DtRwBoolean myFinishing
Definition: fixedWingFlightPSR.h:262
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:312
static const DtFilename & appPath()
Gets the current working directory.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
DtRwReal myMoveToAltitudeValue
Definition: fixedWingFlightPSR.h:333