MAK RTIspy API Documentation for HLA 1516
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 
16 class QLabel;
17 class QDialogButtonBox;
18 
22 {
23 
24 public:
25 
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 
49 
51  DtGraphDialog &operator=(const DtGraphDialog&);
52 
53 protected:
54 
57 
59  QDialogButtonBox* myButtonBox;
60 
63 
66 
69 
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)