MAK RTIspy API Documentation for HLA 1516
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
rtiAssistantApp
graphDialog.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2012 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef graphDialog_H_
7
#define graphDialog_H_
8
9
#include "
rtiMsConfig.h
"
10
#include <qdialog.h>
11
14
15
class
DtAssistantPlotWidget
;
16
class
QLabel
;
17
class
QDialogButtonBox;
18
21
class
DT_DLL_ASSISTANTAPP
DtGraphDialog
:
public
QDialog
22
{
23
24
public
:
25
26
enum
DtGraphType
27
{
28
DtValueGraph
,
// graphs the actual values (e.g. number of msgs)
29
DtRateGraph
// graphs the rate of the values (e.g. number of msgs/sec)
30
};
31
33
DtGraphDialog
(
const
QString& description,
const
QString& units,
34
DtGraphType type,
QWidget
* parent = 0, Qt::WindowFlags f = 0);
35
37
~
DtGraphDialog
();
38
40
void
addPoint(
double
time,
double
val);
41
43
void
clearGraph();
44
45
private
:
46
48
DtGraphDialog
(
const
DtGraphDialog
&);
49
51
DtGraphDialog
&operator=(
const
DtGraphDialog
&);
52
53
protected
:
54
56
DtAssistantPlotWidget
*
myGraph
;
57
59
QDialogButtonBox*
myButtonBox
;
60
62
QLabel
*
myLabel
;
63
65
DtGraphType
myGraphType
;
66
68
double
myLastGraphedTime
;
69
71
double
myLastGraphedValue
;
72
74
unsigned
mySeriesId
;
75
};
76
77
#endif
78
Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)