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 #include <vrvCore/DtStateView.h>
15 
16 namespace makVrf
17 {
18  class DtVrfSimBackendManager;
19 
23  {
24  public:
25 
28 
31 
33  virtual void setTimeOfReport(unsigned int);
34 
35  virtual void setTimeOfReportUpdateTimePeriod(int);
37  {
38  return myTimeOfReportUpdateTimePeriod;
39  }
40 
41  virtual void associateIdWithIndex( makVrv::DtUnicode idString, unsigned int index );
42 
43  protected:
44 
45  virtual std::string formatTime(double time) const;
46 
48  virtual void update( DtTime tNow );
49 
50  virtual DtVrfSimBackendManager& vrfSimBackendManager() const;
51 
52  virtual void updateTimeSinceLastReport(int);
53 
54  protected:
55  unsigned int myTimeOfReport;
57 
61  };
62 }
DtVrfSimBackendManager * myVrfSimBackendManager
Definition: externalDataSymbolDecorationUpdater.h:56
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:60
Contains makVrv::DtStateView class.
Contains makVrv::DtSymbolDecorationUpdater class.
int myTimeOfReportUpdateTimePeriod
Default of 1 second.
Definition: externalDataSymbolDecorationUpdater.h:59
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
unsigned int myTimeOfReport
Definition: externalDataSymbolDecorationUpdater.h:55
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
int timeOfReportUpdateTimePeriod() const
Definition: externalDataSymbolDecorationUpdater.h:36
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:72
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:21

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)