51 const DtString& rwName = DtString::nullString(),
56 const DtString& rwName = DtString::nullString(),
67 const DtString& rwName = DtString::nullString(),
78 virtual void setRoute(
const DtUUID& route);
88 virtual void setTimeToNextMaintainFormationTick(
DtTime simTime);
89 virtual DtTime timeToNextMaintainFormationTick()
const;
93 virtual DtUUID lookupRoute(
int promotionId)
const;
96 virtual DtUUID lookupRoute(
const DtUUID& subordinate)
const;
99 virtual void clearPromotionIdRouteList();
102 virtual void addPromotionIdRouteEntry(
int promotionId,
109 virtual void addTaskedSubordinatePromotionIdEntry(
110 const DtUUID& subordinate,
int promotionId,
int taskTrackingNum);
113 virtual void changeSubordinatePromotionId(
114 const DtUUID& subordinate,
int newPromotionId);
117 virtual void removeTaskedSubordinate(
const DtUUID& subordiante);
121 virtual bool isATaskedSubordinate(
const DtUUID& subordinate);
125 virtual bool isATaskedSubordinateWithTrackingNumber(
const DtUUID& subordinate,
int trackingNum)
const;
128 virtual void removeRoute(
const DtUUID& route);
131 virtual void clearTaskSubordinates();
134 virtual bool taskedSubordinatesEmpty()
const;
138 virtual void setMovingToRoute(
bool trueOrFalse);
139 virtual bool movingToRoute()
const;
147 virtual void setRouteIsDiscovered(
bool value);
148 virtual bool routeIsDiscovered()
const;
153 virtual void setIsGeneratingFormationRoutes(
bool value);
154 virtual bool isGeneratingFormationRoutes()
const;
159 virtual void setIsReevaluatingFormationRoutes(
bool value);
160 virtual bool isReevaluatingFormationRoutes()
const;
165 virtual void setSpeed(
double aSpeed);
166 virtual double speed()
const;
172 virtual void setFormationName(
const DtString& name);
173 virtual DtString formationName()
const;
176 virtual void setFormationLeader(
const DtUUID& leader);
177 virtual DtUUID formationLeader()
const;
181 virtual void putSelf(std::string& fp,
int indentLevel = 0,
182 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:212
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
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:235
DtRwString myFormationName
The current formation name.
Definition: aggregateMoveAlongPSR.h:244
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:200
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:206
#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:232
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:229
DtSubordinateMoveAlongInfo(int promId, int ttNum)
Definition: aggregateMoveAlongPSR.h:38
DtPromotionIdUUIDMap myPromotionIndexRouteMap
Map of promotion Ids (formation positions) to route uuids.
Definition: aggregateMoveAlongPSR.h:197
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
DtRwReal mySpeed
Speed from task or ordered speed.
Definition: aggregateMoveAlongPSR.h:241
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:218
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:222
file aggregateMoveAlongPSR.h
Definition: aggregateMoveAlongPSR.h:33
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
DtRwReal myTimeToNextMaintainFormationTick
Time in seconds until next tick in which to perform formation monitoring.
Definition: aggregateMoveAlongPSR.h:225
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
DtRwUUID myFormationLeader
The leader of the formation (for leadFollowInFormation)
Definition: aggregateMoveAlongPSR.h:203
DtRwBoolean myIsReevaluatingFormationRoutes
Flag indicating whether we are currently reevaluating formation routes.
Definition: aggregateMoveAlongPSR.h:238