MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrTrafficAnalyzerPrefPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrTrafficAnalyzerPrefPage_H_
10 #define lgrTrafficAnalyzerPrefPage_H_
11 
12 #if DtHLA
13 
14 #include <lgrSimGui/lgrSimGui.h>
15 #include <lgrGui/preferencesPage.h>
16 #include <commonWidgets/preciseTimeEdit.h>
17 #include <vlutil/vlString.h>
18 
19 class QLabel;
20 class QPushButton;
21 class QLineEdit;
22 class QComboBox;
23 class QCheckBox;
24 class QSpinBox;
25 class DtDatatypeViewer;
26 class DtDelimiterViewer;
28 class DtDatatypeManager;
29 class DtOMTTree;
30 class DtComplexDatatypeNode;
31 
32 namespace MAKLogger
33 {
34  class DtLgrFullInterface;
35  class DtLgrGuiModel;
36 
39  class DT_DLL_LGRSIMGUI DtLgrTrafficAnalyzerPrefPage : public DtPage
40  {
41  Q_OBJECT
42 
43  public:
44 
46  DtLgrTrafficAnalyzerPrefPage(const DtLgrFullInterface* lgrInterface,
47  DtLgrGuiModel* model, QWidget* parent, Qt::WindowFlags f = 0);
48 
50  virtual ~DtLgrTrafficAnalyzerPrefPage();
51 
53  virtual QIcon icon();
54 
57  virtual DtQIconConfigurations qIconConfigurations() const;
58 
60  virtual QString title();
61 
63  virtual const std::string& pageClassName() const;
64 
66  static const std::string& thePageClassName();
67 
69  virtual bool saveTaConfiguration() const;
70 
72  virtual void load();
73 
75  virtual void accept();
76 
78  virtual void reject();
79 
81  enum DtCoordSysOption
82  {
83  DtDefaultCoordSys,
84  DtAlternateCoordSys
85  };
86 
87  public slots:
88 
89  void editDelimiters();
90  void editDatatypes();
91 
92  void acceptDelimiters();
93  void rejectDelimiters();
94  void acceptDatatypes();
95  void rejectDatatypes();
96 
99  void checkTrafficAnalyzerEnabled(bool connected);
100 
101  protected:
102 
104  virtual void activate();
105 
107  virtual void deactivate();
108 
109  protected:
110 
111  const DtLgrFullInterface* myInterface;
112  DtLgrGuiModel* myModel;
113 
114  QDialog* myDatatypeDialog;
115  DtDatatypeViewer* myDatatypeViewer;
116 
117  QDialog* myDelimiterDialog;
118  DtDelimiterViewer* myDelimiterViewer;
119 
120  QCheckBox* myEnableCheckBox;
121 
122  QCheckBox* mySaveConfigurationCheckBox;
123 
124  QLabel* myMaxInteractionsLabel;
125  QSpinBox* myMaxInteractionsSpinBox;
126 
127  QLabel* myDefaultEnumSizeLabel;
128  QSpinBox* myDefaultEnumSizeSpinBox;
129 
130  QLabel* myFloatPrecLabel;
131  QSpinBox* myFloatPrecSpinBox;
132 
133  QLabel* myDefaultDelimLabel;
134  QLineEdit* myDefaultDelimLineEdit;
135 
136  QLabel* myDelimsLabel;
137  QPushButton* myDelimsEditButton;
138 
139  QLabel* myDatatypesLabel;
140  QPushButton* myDatatypesEditButton;
141 
142  QLabel* myLocationCoordLabel;
143  QComboBox* myLocationCoordComboBox;
144 
145  QLabel* myOrientationCoordLabel;
146  QComboBox* myOrientationCoordComboBox;
147 
148  QLabel* myVelocityCoordLabel;
149  QComboBox* myVelocityCoordComboBox;
150 
151  QLabel* myEntityTypeCoordLabel;
152  QComboBox* myEntityTypeCoordComboBox;
153 
154  //Pointers - Not owned by this class
155  DtTrafficAnalyzerConfig* myConfigFile;
156  DtDatatypeManager* myDtManager;
157  DtOMTTree* myOMTTree;
158 
159  static const QString theEnableToolTip();
160  static const QString theSaveConfigToolTip();
161  static const QString theMaxInteractionsToolTip();
162  static const QString theDefaultEnumSizeToolTip();
163  static const QString theFloatPrecToolTip();
164  static const QString theDefaultDelimToolTip();
165  static const QString theDelimsToolTip();
166  static const QString theDelimsDisabledToolTip();
167  static const QString theDatatypesToolTip();
168  static const QString theDatatypesDisabledToolTip();
169  static const QString theLocationCoordToolTip();
170  static const QString theOrientationCoordToolTip();
171  static const QString theVelocityCoordToolTip();
172  static const QString theEntityTypeCoordToolTip();
173  };
174 
175 }
176 #endif
177 #endif
178 
179 
Contains DtPage class.
Defines IMPORT/EXPORT macros for lgrSimGui library.
Definition: trafficAnalyzerConfig.h:23
Definition: delimiterViewer.h:32
Definition: datatypeViewer.h:30
#define DT_DLL_LGRSIMGUI
Definition: lgrSimGui.h:21

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)