51 const DtString& rwName = DtString::nullString(),
56 const DtString& rwName = DtString::nullString(),
67 const DtString& rwName = DtString::nullString(),
77 virtual void setPreviousPreferRoads(
bool bYes);
78 virtual bool previousPreferRoads()
const;
79 virtual bool previousPreferRoadsSpecified()
const;
80 virtual void previousPreferRoadsUnsetSpecified();
86 virtual void setRoute(
const DtUUID& route);
96 virtual void setTimeToNextMaintainFormationTick(
DtTime simTime);
97 virtual DtTime timeToNextMaintainFormationTick()
const;
101 virtual DtUUID lookupRoute(
int promotionId)
const;
104 virtual DtUUID lookupRoute(
const DtUUID& subordinate)
const;
107 virtual void clearPromotionIdRouteList();
110 virtual void addPromotionIdRouteEntry(
int promotionId,
117 virtual void addTaskedSubordinatePromotionIdEntry(
118 const DtUUID& subordinate,
int promotionId,
int taskTrackingNum);
121 virtual void changeSubordinatePromotionId(
122 const DtUUID& subordinate,
int newPromotionId);
125 virtual void removeTaskedSubordinate(
const DtUUID& subordiante);
129 virtual bool isATaskedSubordinate(
const DtUUID& subordinate);
133 virtual bool isATaskedSubordinateWithTrackingNumber(
const DtUUID& subordinate,
int trackingNum)
const;
136 virtual void removeRoute(
const DtUUID& route);
139 virtual void clearTaskSubordinates();
142 virtual bool taskedSubordinatesEmpty()
const;
146 virtual void setMovingToRoute(
bool trueOrFalse);
147 virtual bool movingToRoute()
const;
155 virtual void setRouteIsDiscovered(
bool value);
156 virtual bool routeIsDiscovered()
const;
161 virtual void setIsGeneratingFormationRoutes(
bool value);
162 virtual bool isGeneratingFormationRoutes()
const;
167 virtual void setIsReevaluatingFormationRoutes(
bool value);
168 virtual bool isReevaluatingFormationRoutes()
const;
173 virtual void setSpeed(
double aSpeed);
174 virtual double speed()
const;
180 virtual void setFormationName(
const DtString& name);
181 virtual DtString formationName()
const;
184 virtual void setFormationLeader(
const DtUUID& leader);
185 virtual DtUUID formationLeader()
const;
189 virtual void putSelf(std::string& fp,
int indentLevel = 0,
190 bool writeUnspecified =
false,
UUID is a unique ID wrapper class.
Definition: uuid.h:59
std::map< int, DtUUID > DtPromotionIdUUIDMap
Definition: aggregateMoveAlongPSR.h:45
Definition: aggregateMoveAlongPSR.h:35
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
DtPromotionIdUUIDList myPromotionIdRouteList
Readable writeable list of promotion Id/route. Valid only immediately after getSelf() has been called...
Definition: aggregateMoveAlongPSR.h:225
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
DtRwBoolean myIsGeneratingFormationRoutes
Flag indicating whether we are currently generating formation routes.
Definition: aggregateMoveAlongPSR.h:248
DtRwString myFormationName
The current formation name.
Definition: aggregateMoveAlongPSR.h:257
std::map< DtUUID, DtSubordinateMoveAlongInfo > DtUuidSubordinateInfoMap
Definition: aggregateMoveAlongPSR.h:43
DtSubordinateMoveAlongInfo()
Definition: aggregateMoveAlongPSR.h:37
DtUuidSubordinateInfoMap myCurrentlyTaskedSubordinates
Map of currently tasked subordinate object uuids to promotion Id.
Definition: aggregateMoveAlongPSR.h:213
uuid class
Definition: rwUUID.h:26
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: rwSimObjectReference.h:21
DtRwSimObjectReference myRoute
Route the aggregate is currently moving along.
Definition: aggregateMoveAlongPSR.h:219
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtRwBoolean myRouteIsDiscovered
Flag indicating whether has been discovered or not.
Definition: aggregateMoveAlongPSR.h:245
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
int taskTrackingNum
Definition: aggregateMoveAlongPSR.h:40
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtRwBoolean myMovingToRoute
Flag indicating whether we're in the moving to route phase of the task.
Definition: aggregateMoveAlongPSR.h:242
DtSubordinateMoveAlongInfo(int promId, int ttNum)
Definition: aggregateMoveAlongPSR.h:38
DtPromotionIdUUIDMap myPromotionIndexRouteMap
Map of promotion Ids (formation positions) to route uuids.
Definition: aggregateMoveAlongPSR.h:210
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 myPreviousPreferRoads
Cache the previous setting of internal state property "UseRoads".
Definition: aggregateMoveAlongPSR.h:206
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal mySpeed
Speed from task or ordered speed.
Definition: aggregateMoveAlongPSR.h:254
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
DtPromotionIdUUIDList myPromotionIdEntityList
Readable writeable list of promotion Id/entity. Valid only immediately after getSelf() has been calle...
Definition: aggregateMoveAlongPSR.h:231
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwSubordinateMoveAlongInfoList mySubordinateInfoList
List of information on subordinates that are currently tasked to move along. This replaces myPromotio...
Definition: aggregateMoveAlongPSR.h:235
file aggregateMoveAlongPSR.h
Definition: aggregateMoveAlongPSR.h:33
virtual DtString type() const =0
Returns the string type of the repository, as defined in psrTypes.h.
DtRwReal myTimeToNextMaintainFormationTick
Time in seconds until next tick in which to perform formation monitoring.
Definition: aggregateMoveAlongPSR.h:238
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.
Definition: localObject.h:98
DtRwUUID myFormationLeader
The leader of the formation (for leadFollowInFormation)
Definition: aggregateMoveAlongPSR.h:216
DtRwBoolean myIsReevaluatingFormationRoutes
Flag indicating whether we are currently reevaluating formation routes.
Definition: aggregateMoveAlongPSR.h:251