40 const DtString& rwName = DtString::nullString(),
45 const DtString& rwName = DtString::nullString(),
56 const DtString& rwName = DtString::nullString(),
67 virtual void setRoute(
const DtUUID& route);
78 virtual void setTimeToNextMaintainFormationTick(
DtTime simTime);
79 virtual DtTime timeToNextMaintainFormationTick()
const;
83 virtual DtUUID lookupRoute(
int promotionId)
const;
86 virtual DtUUID lookupRoute(
const DtUUID& subordinate)
const;
89 virtual void clearPromotionIdRouteList();
92 virtual void addPromotionIdRouteEntry(
int promotionId,
99 virtual void addTaskedSubordinatePromotionIdEntry(
100 const DtUUID& subordinate,
int promotionId);
103 virtual void removeTaskedSubordinate(
const DtUUID& subordiante);
107 virtual bool isATaskedSubordinate(
const DtUUID& subordinate);
110 virtual void removeRoute(
const DtUUID& route);
113 virtual void clearTaskSubordinates();
116 virtual bool taskedSubordinatesEmpty()
const;
120 virtual void setMovingToRoute(
bool trueOrFalse);
121 virtual bool movingToRoute()
const;
129 virtual void setRouteIsDiscovered(
bool value);
130 virtual bool routeIsDiscovered()
const;
135 virtual void setIsGeneratingFormationRoutes(
bool value);
136 virtual bool isGeneratingFormationRoutes()
const;
141 virtual void setIsReevaluatingFormationRoutes(
bool value);
142 virtual bool isReevaluatingFormationRoutes()
const;
147 virtual void putSelf(std::string& fp,
int indentLevel = 0,
148 bool writeUnspecified =
false,
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
std::map< int, DtUUID > DtPromotionIdUUIDMap
Definition: aggregateMoveAlongPSR.h:34
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtPromotionIdUUIDList myPromotionIdRouteList
Readable writeable list of promotion Id/route.
Definition: aggregateMoveAlongPSR.h:175
std::map< DtUUID, int > DtUUIDPromotionIdMap
Definition: aggregateMoveAlongPSR.h:33
Definition: readerWriterRegistry.h:39
DtRwBoolean myIsGeneratingFormationRoutes
Flag indicating whether we are currently generating formation routes.
Definition: aggregateMoveAlongPSR.h:194
DtUUIDPromotionIdMap myCurrentlyTaskedSubordinates
Map of currently tasked subordinate object uuids to promotion Id.
Definition: aggregateMoveAlongPSR.h:166
#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:191
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
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:188
DtPromotionIdUUIDMap myPromotionIndexRouteMap
Map of promotion Ids (formation positions) to route uuids.
Definition: aggregateMoveAlongPSR.h:163
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.
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Class used as the reader/writer implementation of the DtVrfObjectReference.
Definition: vrfObjectReference.h:204
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories.
Definition: vrfProcessStateRepository.h:43
DtPromotionIdUUIDList myPromotionIdEntityList
Readable writeable list of promotion Id/entity.
Definition: aggregateMoveAlongPSR.h:181
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Top level to read itself from an input stream.
DtRwVrfObjectReference myRoute
Route the aggregate is currently moving along.
Definition: aggregateMoveAlongPSR.h:169
file aggregateMoveAlongPSR.h
Definition: aggregateMoveAlongPSR.h:31
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:184
static const DtFilename & appPath()
Gets the current working directory.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
DtRwBoolean myIsReevaluatingFormationRoutes
Flag indicating whether we are currently reevaluating formation routes.
Definition: aggregateMoveAlongPSR.h:197