33 const DtString& rwName = DtString::nullString(),
38 const DtString& rwName = DtString::nullString(),
49 const DtString& rwName = DtString::nullString(),
61 virtual void setWorldDestination(
const DtVector& destination);
62 virtual const DtVector& worldDestination()
const;
68 virtual void setRoute(
const DtUUID&);
77 virtual void setMoveToPoint(
const DtUUID&);
87 virtual void resetRouteState();
91 virtual void setReversePatrol(
bool flag);
92 virtual bool reversePatrol()
const;
98 virtual void setCurrentVertex(
int vertex);
99 virtual int currentVertex()
const;
103 virtual bool currentVertexIsValid()
const;
106 virtual void moveToNextVertex();
109 virtual DtVector currentVertexLocation()
const;
112 virtual DtVector previousVertexLocation()
const;
116 virtual DtVector lastVertexLocation()
const;
120 virtual void setSpeedOverride(
double speed);
121 virtual double speedOverride()
const;
122 virtual void setIsSpeedOverrideSpecified(
bool o);
123 virtual bool isSpeedOverrideSpecified()
const;
127 virtual void putSelf(std::string& fp,
int indentLevel = 0,
bool writeUnspecified =
false,
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtRwSimObjectReference myMoveToPoint
When the move to subtask is issued, this is the point moving to.
Definition: humanMoveAlongPSR.h:143
DtRwReal mySpeedOverride
The speed override.
Definition: humanMoveAlongPSR.h:157
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
DtRwVector myWorldDestination
World point for move to location tasks.
Definition: humanMoveAlongPSR.h:154
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
Definition: rwVector.h:23
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: rwSimObjectReference.h:21
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
DtRwBoolean myReverseFlag
From DtGroundPatrolRouteController (gndPtrlRtCtl.h)
Definition: humanMoveAlongPSR.h:151
DtRwInt myCurrentVertex
Read/write variables to capture route state.
Definition: humanMoveAlongPSR.h:146
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...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
class DtHumanMoveAlongPSR:
Definition: humanMoveAlongPSR.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
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
class DtLocalVertexList:
Definition: localVertexList.h:20
DtRwSimObjectReference myRoute
If tasked() is true, this is the name of the route object we're moving to.
Definition: humanMoveAlongPSR.h:140
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