47 const DtString& rwName = DtString::nullString(),
52 const DtString& rwName = DtString::nullString(),
63 const DtString& rwName = DtString::nullString(),
73 virtual void setControlObject(
const DtUUID&);
80 virtual void setRoute(
const DtUUID&);
89 bool useCurrentVertex =
false);
93 virtual void emptyRouteVertices();
101 virtual void setWasMovingToward(
bool flag);
102 virtual bool wasMovingToward()
const;
106 virtual void setStartingPoint(
const DtVector& startingPoint);
107 virtual const DtVector& startingPoint()
const;
111 virtual void setDoContinueMoving(
const bool go);
112 virtual bool doContinueMoving()
const;
115 virtual void setReverseFlag(
bool flag);
116 virtual bool reverseFlag()
const;
119 virtual void setHeadingToTurnTo(
double);
120 virtual double headingToTurnTo()
const;
125 virtual void setWorldAimingPoint(
const DtVector& pnt);
126 virtual const DtVector& worldAimingPoint()
const;
129 virtual void setFirstWaypoint(
const DtUUID&);
133 virtual void setSecondWaypoint(
const DtUUID&);
137 virtual void setEntityToFollow(
const DtUUID&);
143 virtual const DtVector& followOffset()
const;
146 virtual void setMovingToAltitude(
bool movingToAlt);
148 virtual bool movingToAltitude()
const;
151 virtual void setMoveToAltitudeValue(
double altitude);
153 virtual double moveToAltitudeValue()
const;
156 virtual void setOrbitRadius(
const double r);
157 virtual double orbitRadius()
const;
161 virtual void setLandingState(DtRotaryWingLandingControllerState state);
162 virtual DtRotaryWingLandingControllerState landingState()
const;
167 virtual bool isSpinningUp()
const;
168 virtual void setIsSpinningUp(
bool b);
173 virtual double spinupCompleteTime()
const;
174 virtual void setSpinupCompleteTime(
double t);
178 virtual void putSelf(std::string& fp,
int indentLevel = 0,
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
DtRwReal myOrbitRadius
Definition: rotaryWingFlightPSR.h:246
DtRwBoolean myMovingToAltitude
Definition: rotaryWingFlightPSR.h:243
DtRwBoolean myDoContinueMoving
A flag to indicate if the entity should continue moving when it reaches its goal. ...
Definition: rotaryWingFlightPSR.h:218
File: lclVecIter.h.
Definition: localVectorIterator.h:25
DtRwBoolean myReverseFlag
Moved here from DtRotaryWingPatrolRouteController (rotWingPtrlRt.h).
Definition: rotaryWingFlightPSR.h:222
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
Definition: rotaryWingFlightPSR.h:29
DtRwInt myCurrentVertex
Read/write variables to capture route state.
Definition: rotaryWingFlightPSR.h:207
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
DtRwInt myLandingState
Definition: rotaryWingFlightPSR.h:248
DtLocalVertexList myVertices
my copy of the current route
Definition: rotaryWingFlightPSR.h:205
DtRwReal mySpinupCompleteTime
If myIsSpinningUp is true, this is the simulation time at which spinup is complete.
Definition: rotaryWingFlightPSR.h:254
DtRwSimObjectReference mySecondWaypoint
Definition: rotaryWingFlightPSR.h:226
DtRwVector myFollowOffsetVector
Following offset vector (in body coordinates of the entity to follow, in meters). ...
Definition: rotaryWingFlightPSR.h:238
DtLocalVectorIterator * myRouteState
Route state used to get info about the current route we're trying to follow (e.g. which vertex to mov...
Definition: rotaryWingFlightPSR.h:203
Definition: rwVector.h:23
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: simObjectReference.h:74
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtRwSimObjectReference myFirstWaypoint
Moved here from DtRotaryWingPatrolBetweenController (rotWngPtlBtwn.h).
Definition: rotaryWingFlightPSR.h:225
DtRwBoolean myIsSpinningUp
True if the RW is currently in the processing of spinning up.
Definition: rotaryWingFlightPSR.h:252
DtRwSimObjectReference myControlObject
Moved here from DtRotaryWingMoveToControllerComponent (rotWngMvToCtl.h).
Definition: rotaryWingFlightPSR.h:193
Description: Readable, Writable int.
Definition: rwInt.h:25
Zeroing out pitch movement at the settling location.
Definition: rotaryWingFlightPSR.h:40
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
Moving to a point attached to a parent, or the end of a route, or a settling location above the landi...
Definition: rotaryWingFlightPSR.h:38
DtRotaryWingLandingControllerState
State for the DtRotaryWingLandingController.
Definition: rotaryWingFlightPSR.h:33
DtRwVector myWorldAimingPoint
World point for move to location tasks.
Definition: rotaryWingFlightPSR.h:241
DtRwReal myMoveToAltitudeValue
Definition: rotaryWingFlightPSR.h:244
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...
DtRwSimObjectReference myEntityToFollow
Set when a patrol between task is received. Reuse the myReverseFlag from DtRotaryWingPatrolRouteContr...
Definition: rotaryWingFlightPSR.h:235
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
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 myWasMovingToward
A flag indicating whether or not the last tick was moving toward the current waypoint.
Definition: rotaryWingFlightPSR.h:211
DtRwReal myHeadingToTurnTo
Definition: rotaryWingFlightPSR.h:250
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
Definition: rotaryWingFlightPSR.h:35
voidpf uLong offset
Definition: ioapi.h:42
class DtLocalVertexList:
Definition: localVertexList.h:20
DtRwVector myStartingPoint
A vector indicating the starting point of the current segment.
Definition: rotaryWingFlightPSR.h:214
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 myRoute
Moved here from DtRotaryWingMoveAlongControllerComponent (rotaryWingFlightPSR.h). ...
Definition: rotaryWingFlightPSR.h:200