MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
16 class QLabel;
17 class QDialogButtonBox;
18 
22 {
23  Q_OBJECT
24 
25 public:
26 
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 
50 
52  DtGraphDialog &operator=(const DtGraphDialog&);
53 
54 protected:
55 
58 
60  QDialogButtonBox* myButtonBox;
61 
64 
67 
70 
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)