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>
21 
53 
57 
60 {
61 public:
62 
65  const DtString& rwName = DtString::nullString(),
66  DtReaderWriterRegistry* parentRegistry = 0);
67 
69  virtual ~DtPseudoAggregateMovementPSR() override;
70 
73  const DtString& rwName = DtString::nullString(),
74  DtReaderWriterRegistry* parentRegistry = 0);
75 
78 
81  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
82 
85  virtual DtString type() const override;
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
Definition: readerWriterRegistry.h:39
DtPseudoAggregateMovementPSR; deprecated class needed for reading.
Definition: pseudoAggregateMovementPSR.h:59
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 psrTypes.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.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)