MAK RTIspy API Documentation for HLA Evolved
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
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 Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (
www.mak.com
)