VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfOsgEarthCacheDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
17 
18 namespace makVrv
19 {
20  class DtDe;
21 }
22 
24 class DtSimMessage;
25 
26 namespace makVrf
27 {
31  {
32 
33  public:
34 
36  DtVrfOsgEarthCacheDialog(makVrv::DtDe& de, QWidget* parent);
37 
39  virtual ~DtVrfOsgEarthCacheDialog();
40 
42  virtual void resetCacheAreaWidgets();
43 
44  virtual void resetServerProgressBars();
45 
46  virtual void setServerProgress(std::string server, bool complete, int current, double elapsedTime);
47  virtual void show();
48 
49  public:
52 
54  {
55  QHBoxLayout* hLayout;
56  QWidget* widget;
59  };
60 
61  typedef std::map<std::string, ServerProgressBar> ServerProgressBars;
63  };
64 
66  {
67  public:
68 
70 
72 
73  virtual makVrv::DtOsgEarthCacheDialog* create(makVrv::DtDe& de, QWidget* parent) const;
74  };
75 
78  {
79 
80  public:
81 
84 
86  virtual ~DtVrfOsgEarthCacheHandler();
87 
88  virtual void fulfillCacheRequest(const DtIfOsgEarthCacheRequest&);
89 
90  protected:
91 
93  virtual void cancelCache();
94 
95  virtual void processOsgEarthCacheProgress(DtSimMessage* msg);
96 
97  virtual void slot_cacheFinished();
98 
99  protected:
103 
104  typedef std::map<std::string, int> ActiveServers;
106  };
107 
109  {
110  public:
112 
113  virtual ~DtVrfOsgEarthCacheLogic();
114 
115  protected:
116  virtual void slot_generateCacheButtonClicked();
117  virtual void fillInCacheRequest(DtIfOsgEarthCacheRequest& req);
118  };
119 
121  {
122  public:
124 
126  };
127 
128 
130  {
131  public:
132 
134 
136 
138  };
139 }
QVBoxLayout * myServerProgressBarsLayout
Definition: vrfOsgEarthCacheDialog.h:51
int myRequestId
Definition: vrfOsgEarthCacheDialog.h:100
This dialog will extend the base DtOsgEarthCacheDialog to deal with sending information to the server...
Definition: vrfOsgEarthCacheDialog.h:30
ActiveServers myActiveServers
Definition: vrfOsgEarthCacheDialog.h:105
bool myFrontEndFinished
Definition: vrfOsgEarthCacheDialog.h:101
class DtIfOsgEarthCacheRequest:
Definition: ifOsgEarthCacheRequest.h:18
Contains makVrv::DtOsgEarthCacheDialog class.
Creator class for DtOsgEarthCacheLogic.
Definition: DtOsgEarthCacheLogic.h:165
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
ServerProgressBars myServerProgressBars
Definition: vrfOsgEarthCacheDialog.h:62
DtOsgEarthCacheHandler, using QThread to run the cache process in a separate thread.
Definition: DtOsgEarthCacheHandler.h:33
Definition: vrfOsgEarthCacheDialog.h:53
Definition: vrfOsgEarthCacheDialog.h:120
QWidget * widget
Definition: vrfOsgEarthCacheDialog.h:56
QLabel * label
Definition: vrfOsgEarthCacheDialog.h:57
QWidget * myServerProgressBarsWidget
Definition: vrfOsgEarthCacheDialog.h:50
Definition: asyncJobServer.h:37
Override to send message to back-end with bounds information to cache on the back-ends.
Definition: vrfOsgEarthCacheDialog.h:77
std::map< std::string, int > ActiveServers
Definition: vrfOsgEarthCacheDialog.h:104
QProgressBar * progressBar
Definition: vrfOsgEarthCacheDialog.h:58
File: simMsg.h.
Definition: simMessage.h:35
Creator class for DtOsgEarthCacheLogic.
Definition: DtOsgEarthCacheHandler.h:109
std::map< std::string, ServerProgressBar > ServerProgressBars
Definition: vrfOsgEarthCacheDialog.h:61
DtOsgEarthCacheInterface Interface class for generating cache data of image/elevation/model.
Definition: DtOsgEarthCacheInterface.h:18
DtOsgEarthCacheDialog Widget for generating cache data of image/elevation/model.
Definition: DtOsgEarthCacheDialog.h:40
Contains makVrv::DtOsgEarthCacheLogic class.
Definition: vrfOsgEarthCacheDialog.h:129
DtOsgEarthCacheLogic.
Definition: DtOsgEarthCacheLogic.h:41
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:70
Definition: vrfOsgEarthCacheDialog.h:108
Contains makVrv::DtOsgEarthCacheHandler class.
Definition: vrfOsgEarthCacheDialog.h:65
QHBoxLayout * hLayout
Definition: vrfOsgEarthCacheDialog.h:55
bool myBackEndFinished
Definition: vrfOsgEarthCacheDialog.h:102
Creator for the DtOsgEarthCacheDialogCreator.
Definition: DtOsgEarthCacheDialog.h:201

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)