VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
externalDataSymbolDecorationUpdater.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2013 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrfGuiCore/vrfGuiCore.h>
14 
15 namespace makVrf
16 {
17  class DtVrfSimBackendManager;
18 
22  {
23  public:
24 
27 
29  virtual ~DtExternalDataSymbolDecorationUpdater() override;
30 
32  virtual void setTimeOfReport(unsigned int);
33 
34  virtual void setTimeOfReportUpdateTimePeriod(int);
36  {
37  return myTimeOfReportUpdateTimePeriod;
38  }
39 
40  virtual void associateIdWithIndex(makVrv::DtUnicode idString, unsigned int index) override;
41 
42  protected:
43 
44  virtual std::string formatTime(double time) const;
45 
47  virtual void update(DtTime tNow) override;
48 
49  virtual DtVrfSimBackendManager& vrfSimBackendManager() const;
50 
51  virtual void updateTimeSinceLastReport(int);
52 
53  protected:
54  unsigned int myTimeOfReport;
56 
60  };
61 }
DtVrfSimBackendManager * myVrfSimBackendManager
Definition: externalDataSymbolDecorationUpdater.h:55
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
time_t myLastTimeOfUpdate
Definition: externalDataSymbolDecorationUpdater.h:59
Contains makVrv::DtSymbolDecorationUpdater class.
int myTimeOfReportUpdateTimePeriod
Default of 1 second.
Definition: externalDataSymbolDecorationUpdater.h:58
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
unsigned int myTimeOfReport
Definition: externalDataSymbolDecorationUpdater.h:54
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
int timeOfReportUpdateTimePeriod() const
Definition: externalDataSymbolDecorationUpdater.h:35
Maintains and signals state of the simulation engines that are currently connected to the GUI...
Definition: vrfSimBackendManager.h:79
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
DtSymbolDecorationUpdater updates symbol decorations while considering the object-type, e.g. Fixed Wing, of the entity the updater is associated with and the display unit settings for that object-type.
Definition: DtSymbolDecorationUpdater.h:39
Extends the symbol decoration updater to add some items that can be updated in external data...
Definition: externalDataSymbolDecorationUpdater.h:20

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)