19 #include <vlutil/vlTime.h>
26 class DtProgressiveLineGraph;
27 class DtLgrPacketBreakdownDialog;
32 Q_PROPERTY(QColor GraphBG MEMBER myGraphBG)
33 Q_PROPERTY(QColor GraphFG MEMBER myGraphFG)
34 Q_PROPERTY(QColor UpdateColor MEMBER myUpdateColor)
35 Q_PROPERTY(QColor InteraColor MEMBER myInteraColor)
36 Q_PROPERTY(QColor CheckpColor MEMBER myCheckpColor)
47 virtual
void update();
53 virtual
double updateTime();
59 virtual
void activate();
62 virtual
void deactivate();
87 virtual
void reloadFile();
91 virtual
void enableZoom();
105 virtual
void reloadFile(QString fileName);
114 virtual
void syncExpandingData(DtLgrGuiModel&);
118 virtual
void showPacketBreakdown(
double startSec,
double stopSec);
121 virtual
void showPreviousBreakdown();
124 virtual
void showNextBreakdown();
128 virtual
void showNextCheckpointBreakdown();
131 virtual
void breakdownDialogClosed();
136 virtual
void presentBreakdown();
139 virtual
void navigateToSpike(
int index);
143 virtual
int nextSpikeWithCheckpoint(
int fromIndex) const;
148 virtual
void syncData();
151 void toggleRunningData(const
bool& running);
160 void fileExpandingChanged(const
bool& isExpanding);
163 void followExportIntervalChanged(const
double& interval);
167 void updateCurrentSet(const DtString& exportType);
170 virtual
void adjustValue(
unsigned long& value, const
DtLgrDataViewSet::DataPoint& dataPoint);
173 virtual
double updateGraph( const
DtLgrDataViewSet& aSet,
double firstVisibleTime,
174 double lastVisibleTime);
177 void cancelUpdateCurrentSet(const DtString& exportType);
258 static const int Graph_Updates = 0;
259 static const int Graph_Interactions = 1;
260 static const int Graph_Checkpoints = 2;
DtTime myNextExportTime
Definition: lgrDataViewComponent.h:233
bool myActivatedFlag
Definition: lgrDataViewComponent.h:221
Contains MAKLogger::DtLgrEditorInterface subclass of MAKLogger::DtLgrSystemInterface.
DtLgrPacketBreakdownRecordList myBreakdownResults
Records collected for the pending/last breakdown request.
Definition: lgrDataViewComponent.h:205
DtTime myExportInterval
Definition: lgrDataViewComponent.h:243
DtMutex * myRunningMutex
Definition: lgrDataViewComponent.h:197
Contains MAKLogger::DtLgrPacketBreakdownPrinter class and the MAKLogger::DtLgrPacketBreakdownRecord s...
double myMiddle
Definition: lgrDataViewComponent.h:185
QColor myInteraColor
Definition: lgrDataViewComponent.h:252
Provides the base interface for Logger Application gui components.
Definition: lgrGuiComponent.h:36
DtAbsoluteTime myJumpTime
Definition: lgrDataViewComponent.h:231
bool myRecording
Definition: lgrDataViewComponent.h:222
QColor myGraphBG
Definition: lgrDataViewComponent.h:249
QColor myGraphFG
Definition: lgrDataViewComponent.h:250
Relative Time, an elapsed duration of time, no implied measurement, could be seconds/cycles or ticks ...
Definition: absoluteTime.h:28
bool myWaitingForDataFlag
Definition: lgrDataViewComponent.h:220
size_t myRunningDataIndex
Definition: lgrDataViewComponent.h:239
QColor myUpdateColor
Definition: lgrDataViewComponent.h:251
DtLgrDataViewSet * myRunningDataSet
Definition: lgrDataViewComponent.h:237
DtMutex * myBreakdownMutex
Guards myBreakdownResults across the print and GUI threads.
Definition: lgrDataViewComponent.h:203
Contains MAKLogger::DtLgrGuiComponent class.
The logger GUI's model.
Definition: lgrGuiModel.h:56
double myStart
Definition: lgrDataViewComponent.h:183
QWidget * myMainWidget
Definition: lgrDataViewComponent.h:195
The class which interfaces with the logger editor functionality.
Definition: lgrEditorInterface.h:31
DtAbsoluteTime myLastTimeChange
Definition: lgrDataViewComponent.h:228
DtAbsoluteTime myUpdateFirstTime
Definition: lgrDataViewComponent.h:226
DtLgrDataViewSet * myCompleteDataSet
Definition: lgrDataViewComponent.h:238
QColor myCheckpColor
Definition: lgrDataViewComponent.h:253
unsigned long myInteractionCount
Definition: lgrDataViewComponent.h:189
bool myIsExpanding
Definition: lgrDataViewComponent.h:240
bool myFileLoading
Definition: lgrDataViewComponent.h:223
std::vector< double > myCheckpointTimes
Times (seconds) of the checkpoint/initial-state packets currently drawn.
Definition: lgrDataViewComponent.h:209
std::shared_ptr< DtLgrDataViewSet > DtLgrDataViewSetSP
Definition: lgrDataViewSet.h:27
int myBreakdownSpikeIndex
Index of the spike currently shown in the breakdown dialog, or -1.
Definition: lgrDataViewComponent.h:217
double myStop
Definition: lgrDataViewComponent.h:184
DtLgrGuiModel * myModel
Definition: lgrDataViewComponent.h:192
DtAbsoluteTime myPreviousLastTime
Definition: lgrDataViewComponent.h:230
std::vector< DtLgrPacketBreakdownRecord > DtLgrPacketBreakdownRecordList
Definition: lgrPacketBreakdownPrinter.h:49
Definition: lgrDataViewComponent.h:29
std::vector< BreakdownSpikeWindow > myBreakdownSpikeWindows
True packet windows that produced currently visible update/interaction spikes.
Definition: lgrDataViewComponent.h:207
A modeless dialog that presents the breakdown of the packets (PDUs/Updates) contained within a select...
Definition: lgrPacketBreakdownDialog.h:35
DtMutex * myDataMutex
Definition: lgrDataViewComponent.h:196
double myBreakdownStop
Definition: lgrDataViewComponent.h:212
DtClock myClock
Definition: lgrDataViewComponent.h:245
#define DT_DLL_LGRGUI
Definition: lgrGui.h:19
DtString myBreakdownExportName
Export type name used to collect the packet breakdown for a selection.
Definition: lgrDataViewComponent.h:201
double myBreakdownStart
Bounds (seconds) of the pending breakdown request.
Definition: lgrDataViewComponent.h:211
DtString myExporteraName
Definition: lgrDataViewComponent.h:198
DtAbsoluteTime myPreviousFirstTime
Definition: lgrDataViewComponent.h:229
DtLgrDataViewSetSP myExportedDataSet
Definition: lgrDataViewComponent.h:236
Widget which draws a line graphic where the data is progressively added over time.
Definition: progressiveLineGraph.h:34
Contains MAKLogger::DtLgrDataViewSet class.
DtProgressiveLineGraph * myGraph
Definition: lgrDataViewComponent.h:194
Defines INPORT/EXPORT macros for lgrGui library.
Collection of data values sorted by time used for data views.
Definition: lgrDataViewSet.h:33
unsigned long myUpdateCount
Packet counts this cluster contributed to the histogram spike, so breakdown selection can match the b...
Definition: lgrDataViewComponent.h:188
DtAbsoluteTime myUpdateLastTime
Definition: lgrDataViewComponent.h:227
DtLgrPacketBreakdownDialog * myBreakdownDialog
The open breakdown dialog (reused across Previous/Next), or null.
Definition: lgrDataViewComponent.h:215
bool myDataOutOfSyncFlag
Definition: lgrDataViewComponent.h:219
bool myJumpPending
Definition: lgrDataViewComponent.h:224
Absolute Time, a particular measured instance in time, could be thought of as a set of relative times...
Definition: absoluteTime.h:82
Definition: lgrDataViewComponent.h:181