VR-Exchange 2.1 API Documentation
pDataViewComponent.h
Go to the documentation of this file.
1 /******************************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3  ** All rights reserved.
4  ******************************************************************************/
5 
6 #ifndef pDataViewComponent_H_
7 #define pDataViewComponent_H_
8 
9 
10 #include <QtCore/QObject>
11 #include <QtGui/QWidget>
12 #include "progressiveLineGraph.h"
13 #include <namespace.h>
14 #include "pDataViewSet.h"
15 
17 class QTimer;
18 
19 namespace MAKVrExchange {
20 
21  class DtPortalConnection;
22 
26  {
27 
28 
29  Q_OBJECT
30 
31  public:
32 
35 
37  virtual ~DtDataViewComponent();
38 
40  virtual QWidget* getGuiFrame();
41 
43  virtual void toggleShowData(bool show);
44 
45  private:
46  // Copy CTOR not Implemented -- do not copy
48 
49  // Assignment Operator not Implemented -- do not copy
50  DtDataViewComponent& operator=(DtDataViewComponent &other);
51 
52  protected slots:
53 
55  virtual void update();
56 
57 
58  protected:
59 
61  void initView();
62 
64  double updateGraph( const DtPortalViewSet& aSet,double firstVisibleTime,
65  double lastVisibleTime);
66 
68  virtual void processMessage(const DtPortalMessage& message);
69 
72  QTimer *myTimer;
73 
75 
79 
80  protected:
82  static void portalMessageCb(const DtPortalMessage &msg, void *userData);
83 
84  static const int Graph_Control = 1;
85  static const int Graph_Interactions = 2;
86  static const int Graph_Updates = 3;
87 
88  private:
89  // This is private since it is only safely accessed via the updateDataAcrossThread
90  // and currentDataSet functions.
92  };
93 
94 }
95 #endif
96 

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)