VR-Forces 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>
20 
52 
56 
59 {
60 public:
61 
64  const DtString& rwName = DtString::nullString(),
65  DtReaderWriterRegistry* parentRegistry = 0);
66 
69 
72  const DtString& rwName = DtString::nullString(),
73  DtReaderWriterRegistry* parentRegistry = 0);
74 
77 
80  const DtString& rwName = DtString::nullString(),
81  DtReaderWriterRegistry* parentRegistry = 0) const;
82 
85  virtual DtString type() const;
86 
91  virtual void setCurrentlyTaskedLeader(const DtUUID& objectId);
92  virtual DtSimObjectReference currentlyTaskedLeader() const;
93 
96  virtual DtPromotionEntryList* promotionList() const;
97 
99  virtual DtAggregateFormation formation() const;
100  virtual void setFormation(DtAggregateFormation formation);
101 
102  virtual void setLeaderOrderedSpeed(DtReal speed);
103  virtual DtReal leaderOrderedSpeed() const;
104 
105 public:
106 
108  static DtVrfProcessStateRepository* creator (const DtString& rwName,
109  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
110 
111 protected:
112 
120 
123 
129 
135 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
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:58
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: rwSimObjectReference.h:21
DtPromotionEntryList myPromotionList
Moved here from DtPseudoAggregateFormationController (psdAggFrmCltr.h)
Definition: pseudoAggregateMovementPSR.h:134
#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:128
DtRwReal myLeaderOrderedSpeed
Speed that was last ordered for the leader by the formation controller.
Definition: pseudoAggregateMovementPSR.h:122
DtRwSimObjectReference myCurrentlyTaskedLeader
Moved here from DtPseudoAggregateMoveController (psdAggMvCltr.h)
Definition: pseudoAggregateMovementPSR.h:119
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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)