VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
spotReportGeneratorControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <readerWriter/rwReal.h>
16 #include <readerWriter/rwBoolean.h>
19 
24 {
25 public:
28  const DtString& rwName = DtString::nullString(),
29  DtReaderWriterRegistry* parentRegistry = 0);
30 
34  DtReaderWriterRegistry* parentRegistry = 0);
35 
39 
42 
45  DtReaderWriterRegistry* parentRegistry = 0) const;
46 
49  virtual DtString type() const;
50 
53 
56  virtual bool sendStopSpottingReports() const;
57  virtual void setSendStopSpottingReports(const bool& newValue);
59 
62  virtual bool forwardSubordinateReports() const;
63  virtual void setForwardSubordinateReports(const bool& newValue);
65 
68  virtual const DtRwSpotReportDeltaCheckList& spotReportMovementDeltaCheckList() const;
69  virtual void setSpotReportMovementDeltaCheckList(const DtRwSpotReportDeltaCheckList & list);
71 
74  virtual const DtRwSpotReportDeltaCheckList& spotReportHeartbeatDeltaCheckList() const;
75  virtual void setSpotReportHeartbeatDeltaCheckList(const DtRwSpotReportDeltaCheckList & list);
77 
80  virtual const DtRwObjectTypeList & objTypesToSpot() const;
81  virtual void setObjTypesToSpot(const DtRwObjectTypeList & list);
83 
86  virtual bool reportOnOwnForce() const;
87  virtual void setReportOnOwnForce(bool newVal);
89 
91 
92  virtual bool reportOnHostileForces() const;
93  virtual void setReportOnHostileForces(bool newVal);
95 
97 
98  virtual bool sendSpotReportsOnScenarioLoad() const;
99  virtual void setSendSpotReportsOnScenarioLoad(bool newVal);
101 
103 
104  virtual bool sendOnlyOnDataChange() const;
105  virtual void setSendOnlyOnDataChange(bool newVal);
107 
109 
110  virtual bool sendToFrontEndOnly() const;
111  virtual void setSendToFrontEndOnly(bool newVal);
113 
115 
116  virtual bool reportOnNeutralForces() const;
117  virtual void setReportOnNeutralForces(bool newVal);
119 
121 
122  virtual bool onlyOneDestroyedReport() const;
123  virtual void setOnlyOneDestroyedReport(bool newVal);
125 
127 
128  virtual bool broadcast() const;
129  virtual void setBroadcast(bool newVal);
131 
134  virtual double reportResendPeriod() const;
135  virtual void setReportResendPeriod(const double& newValue);
137 
139 
140  virtual DtString radioName() const;
141  virtual void setRadioName(const DtString& name);
143 
146 
147 protected:
151 
157 
164 
169 
175 
181 
188 
194 
201 
209 
216 
222 
227 
232 
237 
243 };
DtRwSpotReportDeltaCheckList mySpotReportMovementDeltaCheckList
Parameter Name: &quot;send-spot-reports-on-movement-delta&quot; Parameter Description: Entries in this list wil...
Definition: spotReportGeneratorControllerDescriptor.h:207
DtSpotReportGeneratorControllerDescriptor; descriptor for the DtSpotReportGeneratorController compone...
Definition: spotReportGeneratorControllerDescriptor.h:23
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwBoolean mySendReportsOnOwnForce
Parameter Name: &quot;send-spot-reports-on-own-force&quot; Parameter Description: Flag indicating whether ent...
Definition: spotReportGeneratorControllerDescriptor.h:174
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtRwBoolean myOnlyOneDestroyedReport
Parameter Name: &quot;only-one-destroyed-report&quot; Parameter Description: Only send one destroyed report if ...
Definition: spotReportGeneratorControllerDescriptor.h:231
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
class DtRwObjectTypeList:
Definition: rwObjectTypeList.h:30
DtRwBoolean myBroadcast
Parameter Name: &quot;broadcast&quot; Parameter Description: If true send to the front-end and all entities...
Definition: spotReportGeneratorControllerDescriptor.h:193
DtRwSpotReportDeltaCheckList mySpotReportHeartbeatDeltaCheckList
Parameter Name: &quot;send-spot-reports-heartbeat-delta&quot; Parameter Description: Entries in this list will ...
Definition: spotReportGeneratorControllerDescriptor.h:215
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwBoolean mySendStopSpottingReports
Parameter Name: &quot;send-stop-spotting-reports&quot; Parameter Description: For those items without spot repo...
Definition: spotReportGeneratorControllerDescriptor.h:241
DtRwObjectTypeList myObjTypesToSpot
Parameter Name: &quot;object-types-to-spot-report&quot; Parameter Description: List of object types to be repor...
Definition: spotReportGeneratorControllerDescriptor.h:168
DtRwBoolean mySendOnlyOnDataChange
Parameter Name: &quot;send-only-on-data-change&quot; Parameter Description: Send spot reports only when data on...
Definition: spotReportGeneratorControllerDescriptor.h:236
DtRwBoolean mySendReportsOnHostileForces
Parameter Name: &quot;send-spot-reports-on-hostile-forces&quot; Parameter Description: Flag indicating whether ...
Definition: spotReportGeneratorControllerDescriptor.h:180
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwString myRadioName
Parameter Name: &quot;radio-name&quot; Parameter Description: The name of the radio on which the spot reports w...
Definition: spotReportGeneratorControllerDescriptor.h:200
DtRwReal myReportResendPeriod
Parameter Name: &quot;report-resend-period&quot; Parameter Description: Heartbeat interval at which a given rep...
Definition: spotReportGeneratorControllerDescriptor.h:163
DtRwBoolean mySendReportsOnNeutralForces
Parameter Name: &quot;send-spot-reports-on-neutral-forces&quot; Parameter Description: Flag indicating whether ...
Definition: spotReportGeneratorControllerDescriptor.h:187
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean mySendToFrontEndOnly
Parameter Name: &quot;send-to-front-end-only&quot; Parameter Description: If true send the spot reports only to...
Definition: spotReportGeneratorControllerDescriptor.h:226
static DtComponentDescriptor * creator()
DtRwBoolean mySendSpotReportsOnScenarioLoad
Parameter Name: &quot;send-spot-reports-on-scenario-load&quot; Parameter Description: If this value is true...
Definition: spotReportGeneratorControllerDescriptor.h:221
Definition: rwSpotReportDeltaCheckList.h:89
DtRwBoolean myForwardSubordinateReports
Parameter Name: &quot;forward-subordinate-reports&quot; Parameter Description: Flag indicating whether reports ...
Definition: spotReportGeneratorControllerDescriptor.h:156
static const DtString theDefaultRadioName
Name used to indicate the default radio name in myRadioName.
Definition: spotReportGeneratorControllerDescriptor.h:145

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)