VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pseudoAggregateMovementPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
13 #include "vrfobjcore/simObject.h"
14 #include <readerWriter/rwString.h>
16 #include <vlpi/disEnums.h>
17 #include <readerWriter/rwInt.h>
18 #include <readerWriter/rwReal.h>
19 
51 
55 
58 {
59 public:
60 
63  const DtString& rwName = DtString::nullString(),
64  DtReaderWriterRegistry* parentRegistry = 0);
65 
68 
71  const DtString& rwName = DtString::nullString(),
72  DtReaderWriterRegistry* parentRegistry = 0);
73 
76 
79  const DtString& rwName = DtString::nullString(),
80  DtReaderWriterRegistry* parentRegistry = 0) const;
81 
84  virtual DtString type() const;
85 
90  virtual void setCurrentlyTaskedLeader(const DtUUID& objectId);
91  virtual DtSimObjectReference currentlyTaskedLeader() const;
92 
95  virtual DtPromotionEntryList* promotionList() const;
96 
98  virtual DtAggregateFormation formation() const;
99  virtual void setFormation(DtAggregateFormation formation);
100 
101  virtual void setLeaderOrderedSpeed(DtReal speed);
102  virtual DtReal leaderOrderedSpeed() const;
103 
104 public:
105 
107  static DtVrfProcessStateRepository* creator (const DtString& rwName,
108  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
109 
110 protected:
111 
119 
122 
128 
134 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
Definition: readerWriterRegistry.h:39
DtPseudoAggregateMovementPSR; deprecated class needed for reading.
Definition: pseudoAggregateMovementPSR.h:57
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: simObjectReference.h:74
DtPromotionEntryList myPromotionList
Moved here from DtPseudoAggregateFormationController (psdAggFrmCltr.h)
Definition: pseudoAggregateMovementPSR.h:133
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
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
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
DtRwInt myFormation
Copied here from DtSubordinateManager (subordMgr.h). Note - still exists in DtSubordinateManager, but is not read/writeable there.
Definition: pseudoAggregateMovementPSR.h:127
DtRwReal myLeaderOrderedSpeed
Speed that was last ordered for the leader by the formation controller.
Definition: pseudoAggregateMovementPSR.h:121
DtRwSimObjectReference myCurrentlyTaskedLeader
Moved here from DtPseudoAggregateMoveController (psdAggMvCltr.h)
Definition: pseudoAggregateMovementPSR.h:118
class DtPromotionEntryList:
Definition: promotionEntryList.h:35
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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)