MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
stateObView.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
9 
10 #pragma once
11 
12 #include "stateObserver.h"
13 
14 #include <lgrGui/lgrGuiComponent.h>
15 #include <lgrGui/timeComponent.h>
17 
18 class QWidget;
19 
20 namespace MAKLogger
21 {
22  class DtLgrAppGui;
23  class DtLgrGuiModel;
24  class DtProgressiveLineGraph;
25  class DtStateObjectViewWidget;
26  class DtStateObserverController;
27 
32  {
33 
34  Q_OBJECT
35 
36  public:
37 
40 
42  virtual ~DtStateObserverView();
43 
45  void setTotalObjectCount(int count);
46 
48  void setRemovedObjectCount(int count);
49 
51  void setUnknownObjectCount(int count);
52 
54  void setEntityCount(int count);
55 
57  void setAggregateCount(int count);
58 
60  void setEnvironmentalProcessCount(int count);
61 
63  virtual QWidget* initialize(QWidget* parent);
64 
66  virtual void activate();
67 
69  virtual void deactivate();
70 
72  virtual bool canCloseFile() const;
73 
75  void startView();
76 
78  void stopView();
79 
81  void clearView();
82 
87  virtual double updateTime();
88 
91  virtual void update();
92 
96  virtual MAKLogger::DtLgrZoomableWidget* zoomComponent();
97 
98  public slots:
99 
100  void fileOpenChanged(QString fileName);
101  void connectionStatusChanged(bool connected);
102 
103  protected:
112 
113  // Update at 1/10 the default redraw rate.
114  const static int theRequestUpdateRate = 10;
115 
116  enum GraphIds
117  {
118  Graph_TotalObjectCount = 1,
120 
124  Graph_EnvironmentalProcessCount
125  };
126 
127  };
128 }
129 

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)