MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
lgrSimGui
lgrTrafficAnalyzerPrefPage.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2012 VT MAK
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
;
27
class
DtTrafficAnalyzerConfig
;
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
56
virtual
QString title();
57
59
virtual
const
std::string& pageClassName()
const
;
60
62
static
const
std::string& thePageClassName();
63
65
virtual
bool
saveTaConfiguration()
const
;
66
68
virtual
void
load();
69
71
virtual
void
accept();
72
74
virtual
void
reject();
75
77
enum
DtCoordSysOption
78
{
79
DtDefaultCoordSys
,
80
DtAlternateCoordSys
81
};
82
83
public
slots:
84
85
void
editDelimiters();
86
void
editDatatypes();
87
88
void
acceptDelimiters();
89
void
rejectDelimiters();
90
void
acceptDatatypes();
91
void
rejectDatatypes();
92
95
void
checkTrafficAnalyzerEnabled(
bool
connected);
96
97
protected
:
98
100
virtual
void
activate();
101
103
virtual
void
deactivate();
104
105
protected
:
106
107
const
DtLgrFullInterface
*
myInterface
;
108
DtLgrGuiModel
*
myModel
;
109
110
QDialog
*
myDatatypeDialog
;
111
DtDatatypeViewer
*
myDatatypeViewer
;
112
113
QDialog
*
myDelimiterDialog
;
114
DtDelimiterViewer
*
myDelimiterViewer
;
115
116
QCheckBox*
myEnableCheckBox
;
117
118
QCheckBox*
mySaveConfigurationCheckBox
;
119
120
QLabel
*
myMaxInteractionsLabel
;
121
QSpinBox*
myMaxInteractionsSpinBox
;
122
123
QLabel
*
myDefaultEnumSizeLabel
;
124
QSpinBox*
myDefaultEnumSizeSpinBox
;
125
126
QLabel
*
myFloatPrecLabel
;
127
QSpinBox*
myFloatPrecSpinBox
;
128
129
QLabel
*
myDefaultDelimLabel
;
130
QLineEdit*
myDefaultDelimLineEdit
;
131
132
QLabel
*
myDelimsLabel
;
133
QPushButton*
myDelimsEditButton
;
134
135
QLabel
*
myDatatypesLabel
;
136
QPushButton*
myDatatypesEditButton
;
137
138
QLabel
*
myLocationCoordLabel
;
139
QComboBox*
myLocationCoordComboBox
;
140
141
QLabel
*
myOrientationCoordLabel
;
142
QComboBox*
myOrientationCoordComboBox
;
143
144
QLabel
*
myVelocityCoordLabel
;
145
QComboBox*
myVelocityCoordComboBox
;
146
147
QLabel
*
myEntityTypeCoordLabel
;
148
QComboBox*
myEntityTypeCoordComboBox
;
149
150
//Pointers - Not owned by this class
151
DtTrafficAnalyzerConfig
*
myConfigFile
;
152
DtDatatypeManager
*
myDtManager
;
153
DtOMTTree
*
myOMTTree
;
154
155
static
const
QString
theEnableToolTip
;
156
static
const
QString
theSaveConfigToolTip
;
157
static
const
QString
theMaxInteractionsToolTip
;
158
static
const
QString
theDefaultEnumSizeToolTip
;
159
static
const
QString
theFloatPrecToolTip
;
160
static
const
QString
theDefaultDelimToolTip
;
161
static
const
QString
theDelimsToolTip
;
162
static
const
QString
theDelimsDisabledToolTip
;
163
static
const
QString
theDatatypesToolTip
;
164
static
const
QString
theDatatypesDisabledToolTip
;
165
static
const
QString
theLocationCoordToolTip
;
166
static
const
QString
theOrientationCoordToolTip
;
167
static
const
QString
theVelocityCoordToolTip
;
168
static
const
QString
theEntityTypeCoordToolTip
;
169
};
170
171
}
172
#endif
173
#endif
174
175
Document ID: Generated on Thu Apr 7 20:50:59 EDT 2016 from SVN revision 163818
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)