VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
msdlExporter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #if !defined(Q_MOC_RUN)
12 #include <vrvUtil/signalslib.h>
14 #include <vlutil/vlFilename.h>
16 #endif
17 
18 #include <QDialog>
19 
20 namespace makVrv
21 {
22  class DtDe;
23 }
24 
25 class DtSimMessage;
26 class QVBoxLayout;
27 class QHBoxLayout;
28 class QTreeWidget;
29 class QFrame;
30 class QLabel;
31 class QTreeWidgetItem;
32 class QComboBox;
33 
34 namespace makVrf
35 {
43  {
44  Q_OBJECT
45 
46  public:
47  //CTOR
48  DtMsdlExporter(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
49 
50  //DTOR
51  virtual ~DtMsdlExporter();
52 
53  public:
58  virtual void exportFile(const QString&);
59 
60  protected:
62  virtual bool exportableObject(const DtEntityType& t) const;
63 
64  virtual void processMsdlSidcMessage(DtSimMessage* m);
65 
68  virtual void processMissingItems();
69 
71  virtual void accept();
72 
74  virtual QComboBox* createSidcSelectionWidget(bool forEntities);
75 
77  virtual void setupMissingEntities();
78 
80  virtual void setupMissingTacticalGraphics();
81 
83  virtual void exportScenarioDescription();
84 
86  virtual void addMissingEntities();
87 
89  virtual void addMissingTacticalGraphics();
90 
91  public:
93 
94  QVBoxLayout* myEntitiesLayout;
96  QFrame* myEntitiesLine;
98 
103 
104  QHBoxLayout* myButtonLayout;
107 
108  protected:
110  DtFilename myMsdlFile;
114 
115  std::map<std::string, QTreeWidgetItem*> myMissingItems;
116 
117  std::map<std::string, std::string> myMissingEntities;
118  std::map<std::string, std::string> myMissingTacticalGraphics;
119  };
120 }
QLabel * myTacticalGraphicsLabel
Definition: msdlExporter.h:100
makVrv::DtDe & myDe
Definition: msdlExporter.h:109
QVBoxLayout * myTacticalGraphicsLayout
Definition: msdlExporter.h:99
The makVrf::DtMsdlExporter class will allow the user to specify any mappings that do not exist for en...
Definition: msdlExporter.h:42
QHBoxLayout * myButtonLayout
Definition: msdlExporter.h:104
QTreeWidget * myMissingEntitiesTree
Definition: msdlExporter.h:97
QLabel * myEntitiesLabel
Definition: msdlExporter.h:95
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
int myRequestId
Definition: msdlExporter.h:111
DtFilename myMsdlFile
Definition: msdlExporter.h:110
std::map< std::string, std::string > myMissingTacticalGraphics
Definition: msdlExporter.h:118
Definition: msdlHierarchyPropertyMappings.h:37
QPushButton * myOKButton
Definition: msdlExporter.h:105
File: simMsg.h.
Definition: simMessage.h:35
QFrame * myEntitiesLine
Definition: msdlExporter.h:96
QPushButton * myCancelButton
Definition: msdlExporter.h:106
DtMsdlHierarchyPropertyMappings myNewMappings
Definition: msdlExporter.h:113
std::map< std::string, QTreeWidgetItem * > myMissingItems
Definition: msdlExporter.h:115
QLabel * myDescription
Definition: msdlExporter.h:92
DtMsdlHierarchyPropertyMappings myCurrentMappings
Definition: msdlExporter.h:112
std::map< std::string, std::string > myMissingEntities
Definition: msdlExporter.h:117
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QFrame * myTacticalGraphicsLine
Definition: msdlExporter.h:101
QTreeWidget * myMissingTacticalGraphicsTree
Definition: msdlExporter.h:102
QVBoxLayout * myEntitiesLayout
Definition: msdlExporter.h:94

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)