MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrPerformanceStatus.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <lgrGui/lgrGui.h>
12 #include <vlutil/vlTime.h>
13 #include <QColor>
14 #include <QIcon>
15 #include <QWidget>
16 #include <vlutil/vlString.h>
17 
18 namespace MAKLogger
19 {
20  class DtLgrGuiModel;
21  class DtLgrSystemInterface;
22  class DtLgrPlaybackInterface;
23  class DtLgrRecordInterface;
24  class DtLgrPerformanceWarningDialog;
25 
28  {
29  Q_OBJECT
30 
31  public:
33  virtual ~DtLgrPerformanceStatus();
34 
36  void setPerformanceWarning(const bool& active);
37 
39  bool performanceWarning() const;
40 
42  bool isPlayingOrRecording() const;
43 
45  void updateWarningList();
46 
48  void loggerFileOpened(const DtString& filename);
49 
50 
51  public slots :
52 
54  void postModelUpdate(DtLgrGuiModel&);
55 
57  void closePerformanceDialog();
58 
60  void savePerformanceLog();
61 
63  void clearPerformanceLog();
64 
65 
66  protected:
67 
68  virtual void drawIcons();
69  virtual void paintEvent(QPaintEvent *);
70  virtual void contextMenuEvent(QContextMenuEvent*);
71  virtual void mouseDoubleClickEvent(QMouseEvent*);
72 
73  protected:
74 
75  // Logger interfaces
79 
83  QPixmap myEmptyIcon;
84 
86 
91 
93  };
94 }
95 
Performance Status widget which will show the performance status via icon.
Definition: lgrPerformanceStatus.h:27
QPixmap myNewBadPerformanceIcon
Definition: lgrPerformanceStatus.h:81
DtTime myTickOverheadTime
Definition: lgrPerformanceStatus.h:87
QPixmap myNormalPerformanceIcon
Definition: lgrPerformanceStatus.h:80
QIcon myPerformanceIcon
Definition: lgrPerformanceStatus.h:88
DtLgrSystemInterface * mySystemInterface
Definition: lgrPerformanceStatus.h:76
Definition: lgrPerformanceWarningDialog.h:18
The class responsible for interfacing with the logger playback functionality.
Definition: lgrPlaybackInterface.h:35
The logger GUI&#39;s model.
Definition: lgrGuiModel.h:56
QStringList myPerformanceWarningList
Definition: lgrPerformanceStatus.h:89
QPixmap myOldBadPerformanceIcon
Definition: lgrPerformanceStatus.h:82
DtLgrPlaybackInterface * myPlaybackInterface
Definition: lgrPerformanceStatus.h:77
DtLgrRecordInterface * myRecordInterface
Definition: lgrPerformanceStatus.h:78
The class responsible for interfacing with the low level logger system functions. ...
Definition: lgrSystemInterface.h:31
#define DT_DLL_LGRGUI
Definition: lgrGui.h:19
The class responsible for interfacing with the logger recording functionality.
Definition: lgrRecordInterface.h:28
int myMaxWarningsNum
Definition: lgrPerformanceStatus.h:90
Defines INPORT/EXPORT macros for lgrGui library.
QPixmap myEmptyIcon
Definition: lgrPerformanceStatus.h:83
bool myNewWarnings
Definition: lgrPerformanceStatus.h:85
DtLgrPerformanceWarningDialog * myPerformanceLogDlg
Definition: lgrPerformanceStatus.h:92

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)