MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrMediaStreamView.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2016 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
9 
10 #pragma once
11 
12 #include <lgrGui/lgrGui.h>
13 
14 #include <lgrGui/lgrGuiComponent.h>
15 #include <lgrUtil/absoluteTime.h>
16 
17 class QWidget;
18 
19 namespace MAKLogger
20 {
21  class DtLgrGuiModel;
22  class DtProgressiveLineGraph;
24 
27  {
28 
29  Q_OBJECT
30 
31  public:
32 
35 
37  virtual ~DtLgrMediaStreamView();
38 
40  virtual QWidget* initialize(QWidget* parent);
41 
43  virtual void activate();
44 
46  virtual void deactivate();
47 
49  virtual bool canCloseFile() const;
50 
52  void startView();
53 
55  void stopView();
56 
58  void clearView();
59 
64  virtual double updateTime();
65 
68  virtual void update();
69 
73  virtual MAKLogger::DtLgrZoomableWidget* zoomComponent();
74 
75  public slots:
76 
77  void fileOpenChanged(QString fileName);
78  void connectionStatusChanged(bool connected);
79  void playbackStateChanged(bool isPlaying);
80  void playbackPausedChanged(bool isPaused);
81 
82 
83  protected:
89 
90  // Update at 1/10 the default redraw rate.
91  const static int theRequestUpdateRate = 10;
92 
93  };
94 }
95 

Document ID: Generated on Tue Aug 1 09:00:26 EDT 2017 from SVN revision 179128
Copyright © 2017 VT MÄK. All Rights Reserved (www.mak.com)