VR-Forces 4.1 Class Documentation
pseudoMovePSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: pseudoMovePSR.h,v $ $Revision: 1.11 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef DtPseudoAggregateMovementPSR_H_
15 #define DtPseudoAggregateMovementPSR_H_
16 
17 #include "vrfobjcore/processSR.h"
18 #include "vrfutil/rwString.h"
20 #include <vlpi/disEnums.h>
21 #include "vrfutil/rwInt.h"
22 #include "vrfutil/rwReal.h"
23 #include <vl/hostStructs.h>
24 
56 
60 
63 {
64 public:
65 
68  const DtString& rwName = DtString::nullString(),
69  DtReaderWriterRegistry* parentRegistry = 0);
70 
73 
76  const DtString& rwName = DtString::nullString(),
77  DtReaderWriterRegistry* parentRegistry = 0);
78 
81 
84  const DtString& rwName = DtString::nullString(),
85  DtReaderWriterRegistry* parentRegistry = 0) const;
86 
89  virtual DtString type() const;
90 
95  virtual void setCurrentlyTaskedLeaderId(const DtEntityIdentifier& objectId);
96  virtual const DtEntityIdentifier& currentlyTaskedLeaderId() const;
97 
100  virtual DtVrfObject* currentlyTaskedLeader() const;
101 
104  virtual DtPromotionEntryList* promotionList() const;
105 
107  virtual DtAggregateFormation formation() const;
108  virtual void setFormation(DtAggregateFormation formation);
109 
110  virtual void setLeaderOrderedSpeed(DtReal speed);
111  virtual DtReal leaderOrderedSpeed() const;
112 
115  virtual void putSelf(FILE *fp, int indentLevel = 0,
116  bool writeUnspecified = false, const DtFilename& path = DtReaderWriter::appPath());
117  virtual void getSelf(DtlObjPtr args, const DtFilename& searchPath,
118  const DtVariableBindingsList& variableBindings);
119 
120 public:
121 
123  static DtVrfProcessStateRepository* creator (const DtString& rwName,
124  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
125 
126  static void objectAddedCallback(DtVrfObject* object, void* usr);
127 
128 protected:
132  virtual void processObjectAdded(DtVrfObject* object);
133 
134 protected:
135 
143 
144  DtEntityIdentifier myCurrentlyTaskedLeaderId;
145 
148 
154 
160 };
161 
162 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)