VR-Forces 4.10 Class Documentation
 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 forwardSubordinateReports() const;
57  virtual void setForwardSubordinateReports(const bool& newValue);
59 
62  virtual const DtRwSpotReportDeltaCheckList& spotReportMovementDeltaCheckList() const;
63  virtual void setSpotReportMovementDeltaCheckList(const DtRwSpotReportDeltaCheckList & list);
65 
68  virtual const DtRwSpotReportDeltaCheckList& spotReportHeartbeatDeltaCheckList() const;
69  virtual void setSpotReportHeartbeatDeltaCheckList(const DtRwSpotReportDeltaCheckList & list);
71 
74  virtual const DtRwObjectTypeList & objTypesToSpot() const;
75  virtual void setObjTypesToSpot(const DtRwObjectTypeList & list);
77 
80  virtual bool reportOnOwnForce() const;
81  virtual void setReportOnOwnForce(bool newVal);
83 
85 
86  virtual bool reportOnHostileForces() const;
87  virtual void setReportOnHostileForces(bool newVal);
89 
91 
92  virtual bool sendSpotReportsOnScenarioLoad() const;
93  virtual void setSendSpotReportsOnScenarioLoad(bool newVal);
95 
97 
98  virtual bool sendOnlyOnDataChange() const;
99  virtual void setSendOnlyOnDataChange(bool newVal);
101 
103 
104  virtual bool sendToFrontEndOnly() const;
105  virtual void setSendToFrontEndOnly(bool newVal);
107 
109 
110  virtual bool reportOnNeutralForces() const;
111  virtual void setReportOnNeutralForces(bool newVal);
113 
115 
116  virtual bool onlyOneDestroyedReport() const;
117  virtual void setOnlyOneDestroyedReport(bool newVal);
119 
121 
122  virtual bool broadcast() const;
123  virtual void setBroadcast(bool newVal);
125 
128  virtual double reportResendPeriod() const;
129  virtual void setReportResendPeriod(const double& newValue);
131 
133 
134  virtual DtString radioName() const;
135  virtual void setRadioName(const DtString& name);
137 
140 
141 protected:
145 
151 
158 
163 
169 
175 
182 
188 
195 
203 
210 
216 
221 
226 
232 };
DtRwSpotReportDeltaCheckList mySpotReportMovementDeltaCheckList
Parameter Name: &quot;send-spot-reports-on-movement-delta&quot; Parameter Description: Entries in this list wil...
Definition: spotReportGeneratorControllerDescriptor.h:201
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:168
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:42
DtRwBoolean myOnlyOneDestroyedReport
Parameter Name: &quot;only-one-destroyed-report&quot; Parameter Description: Only send one destroyed report if ...
Definition: spotReportGeneratorControllerDescriptor.h:225
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:187
DtRwSpotReportDeltaCheckList mySpotReportHeartbeatDeltaCheckList
Parameter Name: &quot;send-spot-reports-heartbeat-delta&quot; Parameter Description: Entries in this list will ...
Definition: spotReportGeneratorControllerDescriptor.h:209
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwObjectTypeList myObjTypesToSpot
Parameter Name: &quot;object-types-to-spot-report&quot; Parameter Description: List of object types to be repor...
Definition: spotReportGeneratorControllerDescriptor.h:162
DtRwBoolean mySendOnlyOnDataChange
Parameter Name: &quot;send-only-on-data-change&quot; Parameter Description: Send spot reports only when data on...
Definition: spotReportGeneratorControllerDescriptor.h:230
DtRwBoolean mySendReportsOnHostileForces
Parameter Name: &quot;send-spot-reports-on-hostile-forces&quot; Parameter Description: Flag indicating whether ...
Definition: spotReportGeneratorControllerDescriptor.h:174
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:194
DtRwReal myReportResendPeriod
Parameter Name: &quot;report-resend-period&quot; Parameter Description: Heartbeat interval at which a given rep...
Definition: spotReportGeneratorControllerDescriptor.h:157
DtRwBoolean mySendReportsOnNeutralForces
Parameter Name: &quot;send-spot-reports-on-neutral-forces&quot; Parameter Description: Flag indicating whether ...
Definition: spotReportGeneratorControllerDescriptor.h:181
virtual DtString type() const
Returns the type of component this descriptor describes.
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:220
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:215
Definition: rwSpotReportDeltaCheckList.h:89
DtRwBoolean myForwardSubordinateReports
Parameter Name: &quot;forward-subordinate-reports&quot; Parameter Description: Flag indicating whether reports ...
Definition: spotReportGeneratorControllerDescriptor.h:150
static const DtString theDefaultRadioName
Name used to indicate the default radio name in myRadioName.
Definition: spotReportGeneratorControllerDescriptor.h:139

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)