VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfSpotReportDataHandler.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <vrfGuiCore/vrfGuiCore.h>
15 #include <vrftasks/spotReport.h>
16 #include <vrfutil/rwUUID.h>
19 
20 #include <boost/function.hpp>
21 
22 namespace makVrf
23 {
24  class DtVrfSpotReportsSettingsRecord;
25  class DtSpotReportStateComponent;
26 
28  {
29  public:
31  virtual ~DtVrfSpotReportDataHandler() override;
32 
36  virtual bool update(void*) override;
37  virtual bool objectEntryRemoved(makVrv::DtUniqueID) override;
38 
39  static std::string handlerType();
40 
41  virtual const std::map<makVrv::DtUniqueID, double>& observedBy() const override;
42 
45  virtual void slot_onContactUpdated(DtSimObjectReference);
46 
48  virtual bool updateReport(const DtSpotReport&);
49 
51  virtual bool flushData(bool force = false) override;
52  virtual void idleTick() override;
53 
54  protected:
55  virtual void purgeSpotters();
56 
57  virtual void slot_stateAdded(DtSimObjectReference);
58  virtual void updateLastSpotterName();
59 
61  virtual void slot_spotReportOptionsChanged(const DtVrfSpotReportsSettingsRecord&, bool calledFromOptionsChanged = false);
62 
63  protected:
70 
75  boost::signals2::connection mySimObjectAddedConnection;
76  };
77 
79  {
80  public:
81  virtual ~DtVrfSpotReportDataHandlerCreator() override;
82 
83  virtual DtSpotReportDataHandler* create(makVrv::DtDe&, makVrv::DtUniqueID) override;
84  };
85 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
bool myHasBeenUpdated
Definition: vrfSpotReportDataHandler.h:69
boost::signals2::connection mySimObjectAddedConnection
Definition: vrfSpotReportDataHandler.h:75
bool myNeedsUpdateOnNextPass
Definition: vrfSpotReportDataHandler.h:67
makVrv::DtSignalConnectionManager myConnections
Definition: vrfSpotReportDataHandler.h:74
Definition: vrfSpotReportsSettingsRecord.h:33
DtSpotReportStateComponentData mySpotState
Definition: vrfSpotReportDataHandler.h:71
Contains makVrv::DtSpotReportDataHandler class. This class, and it&#39;s subclasses, will be responsible ...
DtUUID myUUIDMarkingTextResolve
Definition: vrfSpotReportDataHandler.h:73
Contains the DtUUID class declaration.
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Definition: spotReportDataHandler.h:72
bool myPendingGroundTruth
Definition: vrfSpotReportDataHandler.h:68
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtSpotReport myPendingReport
Definition: vrfSpotReportDataHandler.h:64
0) Define the State Component Data. This struct replaces the legion stuff
Definition: spotReportStateComponent.h:25
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Definition: spotReportDataHandler.h:35
Definition: vrfSpotReportDataHandler.h:27
Base class to provide boost signal/slot management.
makVrv::DtUniqueID myContactId
Definition: vrfSpotReportDataHandler.h:72
double mySimTimeToReportAt
Definition: vrfSpotReportDataHandler.h:65
bool myNeedsReportTimeReset
Definition: vrfSpotReportDataHandler.h:66
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Definition: vrfSpotReportDataHandler.h:78
DtSpotReport; subclass of DtSimReport.
Definition: spotReport.h:35

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)