VR-Forces 4.8 Class Documentation
 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 
14 #include <readerWriter/rwString.h>
16 #include <vlpi/disEnums.h>
17 #include <readerWriter/rwInt.h>
18 #include <readerWriter/rwReal.h>
19 #include <vl/hostStructs.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 const DtRwVrfObjectReference& currentlyTaskedLeader() const;
93  virtual DtRwVrfObjectReference& currentlyTaskedLeader();
94 
97  virtual DtPromotionEntryList* promotionList() const;
98 
100  virtual DtAggregateFormation formation() const;
101  virtual void setFormation(DtAggregateFormation formation);
102 
103  virtual void setLeaderOrderedSpeed(DtReal speed);
104  virtual DtReal leaderOrderedSpeed() const;
105 
106 public:
107 
109  static DtVrfProcessStateRepository* creator (const DtString& rwName,
110  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
111 
112  static void objectAddedCallback(DtVrfObject* object, void* usr);
113 
114 protected:
115 
123 
126 
132 
138 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Definition: readerWriterRegistry.h:39
DtPseudoAggregateMovementPSR; deprecated class needed for reading.
Definition: pseudoAggregateMovementPSR.h:58
DtPromotionEntryList myPromotionList
Moved here from DtPseudoAggregateFormationController (psdAggFrmCltr.h)
Definition: pseudoAggregateMovementPSR.h:137
#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 used as the reader/writer implementation of the DtVrfObjectReference.
Definition: vrfObjectReference.h:204
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories.
Definition: vrfProcessStateRepository.h:43
DtRwVrfObjectReference myCurrentlyTaskedLeader
Moved here from DtPseudoAggregateMoveController (psdAggMvCltr.h)
Definition: pseudoAggregateMovementPSR.h:122
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).
Definition: pseudoAggregateMovementPSR.h:131
DtRwReal myLeaderOrderedSpeed
Speed that was last ordered for the leader by the formation controller.
Definition: pseudoAggregateMovementPSR.h:125
class DtPromotionEntryList:
Definition: promotionEntryList.h:35
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)