VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
spotReportDataHandler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
14 
15 #pragma once
16 
19 #include <vrftasks/spotReport.h>
20 
21 #include <map>
22 
23 namespace makVrf
24 {
25  class DtStateData;
26 }
27 
29 
31 {
32 public:
34  virtual ~DtSpotReportDataHandler();
35 
39  virtual bool updateFromNetwork(const DtSpotReport*);
40 
42  virtual bool objectEntryRemoved(const DtUUID&);
43 
44  virtual const std::map<DtUUID, double>& observedBy() const;
45 
46  virtual void updateState(makVrf::DtSpotReportStateComponentData&);
47 
49  virtual bool flushData(bool force = false);
50 
52  virtual void idleTick();
53 
54  const DtUUID& uniqueId() const
55  {
56  return myUniqueId;
57  }
58 
59  virtual void setId(unsigned long long);
60  virtual unsigned long long id() const;
61 
62  virtual void purgeSpotters();
63 
65  virtual bool updateObservedBy(const DtUUID& observer, double dateAndTimeOfReport);
66  virtual void removeObservedBy(const DtUUID& observer);
67  virtual bool observedBy(const DtUUID&) const;
68 
69  virtual const DtUUID& contact() const;
70 
75  {
76  return myCurrentFrameSpotState;
77  }
78 
80  virtual void aboutToBeRemoved();
81 
82 protected:
83  virtual bool mergeSpotReport(const DtSpotReport& cur);
84 
86  virtual void updateLastSpotterName(const DtSpotReport*);
87 
89  virtual void updateFromGroundTruth(const makVrf::DtStateData*);
90  virtual bool updateFromGroundTruth(const DtSpotReport*);
91 
92  virtual double simTime() const;
93 
95  virtual double dateAndTimeOfDay() const;
96 
100  virtual std::string adjustIncomingMarkingText(const std::string& markingText) const;
101 
103  virtual double spotReportGatherTime() const;
104 
105  virtual int certaintyLevelForTime(double elapsedReportTime) const;
106 
107 protected:
114 };
DtSpotReport myPendingReport
Definition: spotReportDataHandler.h:108
UUID is a unique ID wrapper class.
Definition: uuid.h:59
makVrf::DtSpotReportStateComponentData myCurrentFrameSpotState
Definition: spotReportDataHandler.h:110
DtUUID myUniqueId
Definition: spotReportDataHandler.h:112
The DtSpotReportManager class is used manage and keep track of spot reports. by spotter and who they ...
Definition: spotReportManager.h:34
#define DT_DLL_vrfcontrol
This file is used to determine how to build.
Definition: vrfcontrolDefines.h:28
makVrf::DtSpotReportStateComponentData myNextFrameSpotState
Definition: spotReportDataHandler.h:109
DtSpotReportManager & myManager
Definition: spotReportDataHandler.h:113
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:513
DtUUID myUUIDMarkingTextResolve
Definition: spotReportDataHandler.h:111
0) Define the State Component Data. This struct replaces the legion stuff
Definition: spotReportStateComponent.h:24
const DtUUID & uniqueId() const
Definition: spotReportDataHandler.h:54
const makVrf::DtSpotReportStateComponentData & spotReportData() const
Returns the current frame&#39;s spot report state data. This data reflects the most recently committed st...
Definition: spotReportDataHandler.h:74
DtSpotReport; subclass of DtSimReport.
Definition: spotReport.h:35
Definition: spotReportDataHandler.h:30

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)