16 #include <QtCore/QObject>
22 namespace MAKVrExchange
25 class DtFrameratePlot;
26 class DtPortalConnection;
27 class DtSeriesColorRecord;
28 class DtPlotColorSettings;
29 class DtPlotterLegendDialog;
30 class DtPortalAppInitializer;
49 virtual void toggleShowStatistics(
bool show );
53 virtual void toggleLegend(
bool show );
58 void legendVisibilityChanged(
bool show );
68 void connectToSignals();
72 void initializeColors();
83 virtual void initPortalMessageFields();
87 virtual void plotPortalMessageCounts();
98 virtual void processBrokerRemoval(
const DtString& broker );
108 virtual DtU32 getSeriesId( DtU32 brokerId,
const DtString& fieldName );
111 virtual bool lookupSeriesBrokerField(
unsigned int seriesId,
119 virtual void getSeriesRecord(
const DtString& brokername,
129 virtual void toggleLegend();
132 virtual void onContextMenuRequested(
const QPoint& where );
135 virtual void onSeriesToggled(
const DtString& brokerName,
136 const DtString& fieldName,
bool enabled );
139 virtual void onSeriesStyleChanged(
const DtString& brokerName,
140 const DtString& fieldName,
unsigned int style );
143 virtual void onSeriesColorChanged(
const DtString& brokerName,
144 const DtString& fieldName,
int r,
int g,
int b );
148 virtual void onLegendDialogClosed();
Stores general information about a broker's plotted series.
Definition: pStatisticsViewComponent.h:162
DtU32 myNextSeriesId
Definition: pStatisticsViewComponent.h:197
int myNextStyle
Definition: pStatisticsViewComponent.h:195
QWidget * myParent
Definition: pStatisticsViewComponent.h:192
QMenu * myLegendContextMenu
Definition: pStatisticsViewComponent.h:212
std::map< DtString, unsigned int > FieldIdMap
Maps a field name to its series id.
Definition: pStatisticsViewComponent.h:173
DtPlotterLegendDialog * myLegendDialog
Definition: pStatisticsViewComponent.h:209
bool myStatisticsShownFlag
Definition: pStatisticsViewComponent.h:204
DtTime myLastMessageReportTime
Definition: pStatisticsViewComponent.h:203
QTimer * myTimer
Definition: pStatisticsViewComponent.h:213
A view component which plots broker statistics.
Definition: pStatisticsViewComponent.h:34
std::map< DtU32, BrokerInfoStruct > BrokerInfoMap
Definition: pStatisticsViewComponent.h:187
std::map< unsigned int, DtU32 > FieldBrokerMap
Definition: pStatisticsViewComponent.h:182
float myNextHue
Definition: pStatisticsViewComponent.h:194
Contains the DtStatisticsReportMessage class declaration.
The base class for all messages passed through the portal.
Definition: pMessage.h:67
DtPortalConnection * myPConn
Definition: pStatisticsViewComponent.h:207
unsigned int myPortalControlMessageCount
Definition: pStatisticsViewComponent.h:201
unsigned int myPortalInteractionCount
Definition: pStatisticsViewComponent.h:200
DtPortalAppInitializer instances are used to parse the mtl file/command line arguments, and store the parameters.
Definition: portalAppInitializer.h:31
DtTime myVisibleTimeRange
Definition: pStatisticsViewComponent.h:206
DtFrameratePlot * myFpsPlot
Definition: pStatisticsViewComponent.h:210
PortalControlMessageTemplate is used to create new DtPortalControlMessage types.
Definition: pControlMessage.h:71
DtPlotColorSettings * myPlotColorSettings
Definition: pStatisticsViewComponent.h:190
BrokerFieldIdMap myBrokerFieldIdMap
Definition: pStatisticsViewComponent.h:178
#define DT_DLL_LIBPORTALAPP
Definition: include/portalApp/dllExport.h:20
A QwtPlot Widget customized for plotting broker framerates.
Definition: frameratePlot.h:35
float myHueInterval
Definition: pStatisticsViewComponent.h:196
DtStatisticsReportMessage lastMessage
Definition: pStatisticsViewComponent.h:164
Used by brokers to report timing statistics.
Definition: statisticsReportMessage.h:21
DtPortalAppInitializer * myInitializer
Definition: pStatisticsViewComponent.h:191
unsigned int myPortalOtherMessageCount
Definition: pStatisticsViewComponent.h:202
Definition: plotColorSettings.h:20
Connects a broker to the Portal Data Exchange.
Definition: pConnection.h:49
unsigned int myPortalObjectCount
Definition: pStatisticsViewComponent.h:199
DtTime lastUpdateTime
Definition: pStatisticsViewComponent.h:165
BrokerInfoMap myBrokerInfoMap
Definition: pStatisticsViewComponent.h:188
QPushButton * myLegendButton
Definition: pStatisticsViewComponent.h:211
Record for storing color/style information about a broker series.
Definition: seriesColorRecord.h:21
FieldBrokerMap myFieldBrokerMap
Definition: pStatisticsViewComponent.h:183
A dialog for customizing plot series display settings.
Definition: plotterLegendDialog.h:36
DtTime reportingIntervalChangeTime
Definition: pStatisticsViewComponent.h:166
std::map< DtU32, FieldIdMap > BrokerFieldIdMap
Definition: pStatisticsViewComponent.h:177