14 #ifndef TGO4DABCMONITOR_H
15 #define TGO4DABCMONITOR_H
20 #include "ui_TGo4DabcMonitor.h"
25 #include <QTableWidget>
38 #define DABCMON_NODE_NODECOL 0
39 #define DABCMON_NODE_STATECOL 1
40 #define DABCMON_NODE_CHECKCOL 3
41 #define DABCMON_NODE_LOGCOL 4
42 #define DABCMON_NODE_INDEXCOL 2
44 #define DABCMON_RATE_NAMECOL 0
45 #define DABCMON_RATE_RATECOL 1
46 #define DABCMON_RATE_TRENDCOL 3
47 #define DABCMON_RATE_STATSCOL 4
48 #define DABCMON_RATE_INDEXCOL 2
92 :
fxOwner(owner),
fxType(
"char"),DimStampedInfo (name, time, nolink) {;}
94 :
fxOwner(owner),
fxType(type),DimStampedInfo (name, time, nolink, size) {;}
96 :
fxOwner(owner),
fxType(
"int"),DimStampedInfo (name, time, nolink) {;}
98 :
fxOwner(owner),
fxType(
"float"),DimStampedInfo (name, time, nolink) {;}
100 :
fxOwner(owner),
fxType(
"double"),DimStampedInfo (name, time, nolink) {;}
233 virtual void updateTrending(
int nodeix,
int rateix,
int hisix,
double value );
234 virtual void IncTrending( TH1 * histo,
double value,
bool forwards );
235 virtual void updateStats(
int nodeix,
int rateix,
int hix,
double value );
268 std::vector<std::vector<TGo4DabcRateInfo*> >
fxRates;
291 virtual void fillNodeTableRow(
int tableindex,
int nodeindex,
bool createnew );
293 virtual void fillRateTableRow(
int tableindex,
int nodeindex,
int rateindex,
bool createnew );
294 virtual bool getRateIndices(
int tablerow,
int & nodeix,
int & rateix );
300 #endif // TGO4DABCMONITOR_H
TGo4DabcInfo(const char *name, int time, double nolink, TGo4DabcMonitor *owner)
virtual ~TGo4DabcMonitor()
std::vector< TGo4DabcStateInfo * > fxStates
virtual void updateStats(int nodeix, int rateix, int hix, double value)
virtual void clearRates()
virtual void infoHandler()
std::vector< bool > fxShowLogFlags
static dabc::StatusRec gNolinkStateRecord
std::vector< std::vector< std::vector< bool > > > fbTrendingInit
virtual void refreshNodes()
std::vector< std::vector< float > > fxRateSum
std::vector< bool > fxShowRateFlags
virtual ~TGo4DabcNodesInfo()
virtual void histogramCheckToggled(bool val)
virtual void createRateServices(int nodeindex)
std::vector< std::vector< std::deque< float > > > fxRateQueues
TGo4DabcInfo(const char *name, int time, int nolink, TGo4DabcMonitor *owner)
std::vector< TGo4DabcServiceInfo * > fxServices
virtual void rateTableChangedSlot(int row, int column)
virtual bool getRateIndices(int tablerow, int &nodeix, int &rateix)
TGo4DabcInfo(const char *name, int time, void *nolink, int size, const char *type, TGo4DabcMonitor *owner)
TGo4DabcStateInfo(const char *name, int time, void *nolink, int size, TGo4DabcMonitor *owner)
virtual void averageCheckToggled(bool val)
std::vector< std::vector< TGo4DabcRate > > fxRateRecords
virtual void fillNodeTableRow(int tableindex, int nodeindex, bool createnew)
std::vector< std::vector< unsigned int > > fxRateCount
std::vector< std::vector< std::vector< bool > > > fbStatsInit
virtual void displayRateTable()
virtual void deleteRateServices(int nodeindex)
virtual void rateUpdated(TGo4DabcRateInfo *info)
virtual void infoHandler()
virtual void displaySampleHistograms()
virtual void displayAll()
const QString & getServiceType()
virtual void infoHandler()
virtual void createLogServices(int nodeindex)
virtual void IncTrending(TH1 *histo, double value, bool forwards)
virtual void refreshDIMSlot()
TGo4DabcState(dabc::StatusRec *rec)
std::vector< std::vector< bool > > fxStatsFlags
TGo4DabcMonitor * fxOwner
TGo4DabcNodesInfo(const char *name, int time, char *nolink, TGo4DabcMonitor *owner)
virtual void infoHandler()
std::vector< QString > fxDabcNodes
TGo4DabcRate(dabc::RateRec *rec, const QString &name)
virtual void displayNodeTable()
unsigned int fxLastTimestamp
TGo4DabcInfo(const char *name, int time, float nolink, TGo4DabcMonitor *owner)
virtual ~TGo4DabcRateInfo()
TGo4DabcServiceInfo(const char *name, int time, char *nolink, TGo4DabcMonitor *owner)
virtual void stateUpdated(TGo4DabcStateInfo *info)
TGo4DabcMonitor(QWidget *parent=0, const char *name=0)
static dabc::RateRec gNolinkRateRecord
virtual void nodesUpdated(TGo4DabcNodesInfo *info)
TGo4DabcNodesInfo * fxServerInfo
virtual void clearServices()
std::vector< TGo4DabcState > fxStateRecords
virtual void displayAverageHistograms()
virtual void infoHandler()
std::vector< std::vector< std::vector< QString > > > fxStatHistoRefnames
std::vector< std::vector< bool > > fxTrendingFlags
virtual void servicesUpdated(TGo4DabcServiceInfo *info)
TGo4DabcRateInfo(const char *name, int time, void *nolink, int size, TGo4DabcMonitor *owner)
std::vector< std::vector< std::vector< QString > > > fxTrendHistoRefnames
virtual void infoUpdated(TGo4DabcInfo *info)
virtual ~TGo4DabcStateInfo()
virtual void binsizeChanged(int val)
virtual void clearStates()
TGo4DabcInfo(const char *name, int time, char *nolink, TGo4DabcMonitor *owner)
virtual ~TGo4DabcServiceInfo()
std::vector< std::vector< TGo4DabcRateInfo * > > fxRates
virtual void storeSettings()
virtual void logDIMSlot()
virtual void fillRateTableRow(int tableindex, int nodeindex, int rateindex, bool createnew)
virtual void updateTrending(int nodeix, int rateix, int hisix, double value)
virtual void nodeTableChangedSlot(int row, int column)