MAK Data Logger API Documentation for HLA
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 <lgrGuiComponent.h>
15 #include <timeComponent.h>
16 #include <lgrZoomableWidget.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  public:
35 
38 
40  virtual ~DtStateObserverView();
41 
43  void setTotalObjectCount(int count);
44 
46  void setRemovedObjectCount(int count);
47 
49  void setUnknownObjectCount(int count);
50 
52  void setEntityCount(int count);
53 
55  void setAggregateCount(int count);
56 
58  void setEnvironmentalProcessCount(int count);
59 
61  virtual QWidget* initialize(QWidget* parent);
62 
64  virtual void activate();
65 
67  virtual void deactivate();
68 
70  virtual bool canCloseFile() const;
71 
73  void startView();
74 
76  void stopView();
77 
82  virtual double updateTime();
83 
86  virtual void update();
87 
91  virtual MAKLogger::DtLgrZoomableWidget* zoomComponent();
92 
93 
94  protected:
103 
104  // Update at 1/10 the default redraw rate.
105  const static int theRequestUpdateRate = 10;
106 
107  enum GraphIds
108  {
109  Graph_TotalObjectCount = 1,
111 
115  Graph_EnvironmentalProcessCount
116  };
117 
118  };
119 }
120 

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)