VR-Forces 4.2 Class Documentation
aggregateMoveAlongPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: aggregateMoveAlongPSR.h,v $ $Revision: 1.11 $ $State: Exp $
7 *******************************************************************************/
8 
12 
14 
15 #ifndef DtAggregateMoveAlongPSR_H_
16 #define DtAggregateMoveAlongPSR_H_
17 
19 #include "vrfobjcore/processSR.h"
20 #include "vrfutil/rwString.h"
21 #include "vrfutil/rwReal.h"
23 #include "vrfutil/rwStringList.h"
24 #include "vrfutil/rwBoolean.h"
25 
26 #include <set>
27 
36 {
37  typedef std::map<DtString, int> DtObjectNamePromotionIdMap;
38  typedef std::map<int, DtString> DtPromotionIdObjectNameMap;
39 
40 public:
41 
44  const DtString& rwName = DtString::nullString(),
45  DtReaderWriterRegistry* parentRegistry = 0);
46 
49  const DtString& rwName = DtString::nullString(),
50  DtReaderWriterRegistry* parentRegistry = 0);
51 
53  virtual ~DtAggregateMoveAlongPSR();
54 
57 
60  const DtString& rwName = DtString::nullString(),
61  DtReaderWriterRegistry* parentRegistry = 0) const;
62 
66  virtual DtString type() const;
67 
70  virtual void setRouteName(const DtString& routeName);
71  virtual const DtString& routeName() const;
73 
78  virtual void setTimeToNextMaintainFormationTick(DtTime simTime);
79  virtual DtTime timeToNextMaintainFormationTick() const;
81 
83  virtual DtString lookupRouteName(int promotionId) const;
84 
86  virtual DtString lookupRouteName(const DtString& objectName) const;
87 
89  virtual void clearPromotionIdRouteNameList();
90 
92  virtual void addPromotionIdRouteNameEntry(int promotionId,
93  const DtString& routeName);
94 
96  virtual const DtPromotionIdObjectNameMap& promotionIdRouteNameList() const;
97 
99  virtual void addTaskedSubordinateNamePromotionIdEntry(
100  const DtString& objectName, int promotionId);
101 
103  virtual void removeTaskedSubordinateName(const DtString& objectName);
104 
107  virtual bool isATaskedSubordinate(const DtString& objectName);
108 
110  virtual void removeRoute(const DtString& routeName);
111 
113  virtual void clearTaskSubordinateNames();
114 
116  virtual bool taskedSubordinateNamesEmpty() const;
117 
120  virtual void setMovingToRoute(bool trueOrFalse);
121  virtual bool movingToRoute() const;
123 
125  virtual const DtObjectNamePromotionIdMap& taskedSubordinateNames() const;
126 
129  virtual void setRouteIsDiscovered(bool value);
130  virtual bool routeIsDiscovered() const;
132 
135  virtual void putSelf(FILE *fp, int indentLevel = 0,
136  bool writeUnspecified = false,
137  const DtFilename& path = DtReaderWriter::appPath());
138 
141  virtual void getSelf(DtlObjPtr args, const DtFilename& searchPath,
142  const DtVariableBindingsList& variableBindings);
143 
145  static DtVrfProcessStateRepository* creator (const DtString& rwName,
146  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
147 
148 protected:
149 
152 
155 
158 
164 
170 
173 
177 
180 };
181 
182 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)