MAK RTIspy API Documentation for HLA 1.3
 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) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include "rtiMsConfig.h"
13 #include <QDialog>
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 };

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)