MAK RTIspy API Documentation for HLA 1.3
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 <QtGui/QDialog>
11
14
15
class
DtAssistantPlotWidget
;
16
class
QLabel
;
17
class
QDialogButtonBox;
18
21
class
DT_DLL_ASSISTANTAPP
DtGraphDialog
:
public
QDialog
22
{
23
Q_OBJECT
24
25
public
:
26
27
enum
DtGraphType
28
{
29
DtValueGraph
,
// graphs the actual values (e.g. number of msgs)
30
DtRateGraph
// graphs the rate of the values (e.g. number of msgs/sec)
31
};
32
34
DtGraphDialog
(
const
QString& description,
const
QString& units,
35
DtGraphType type,
QWidget
* parent = 0, Qt::WindowFlags f = 0);
36
38
~
DtGraphDialog
();
39
41
void
addPoint(
double
time,
double
val);
42
44
void
clearGraph();
45
46
private
:
47
49
DtGraphDialog
(
const
DtGraphDialog
&);
50
52
DtGraphDialog
&operator=(
const
DtGraphDialog
&);
53
54
protected
:
55
57
DtAssistantPlotWidget
*
myGraph
;
58
60
QDialogButtonBox*
myButtonBox
;
61
63
QLabel
*
myLabel
;
64
66
DtGraphType
myGraphType
;
67
69
double
myLastGraphedTime
;
70
72
double
myLastGraphedValue
;
73
75
unsigned
mySeriesId
;
76
};
77
78
#endif
79
Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (
www.mak.com
)