Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes

TGo4DabcMonitor Class Reference

#include <TGo4DabcMonitor.h>

Inheritance diagram for TGo4DabcMonitor:
QGo4Widget

List of all members.

Public Slots

virtual void storeSettings ()
virtual void refreshDIMSlot ()
virtual void logDIMSlot ()
virtual void histogramCheckToggled (bool val)
virtual void averageCheckToggled (bool val)
virtual void binsizeChanged (int val)
virtual void nodeTableChangedSlot (int row, int column)
virtual void rateTableChangedSlot (int row, int column)
virtual void createLogServices (int nodeindex)
virtual void displaySampleHistograms ()
virtual void displayAverageHistograms ()
virtual void displayAll ()
virtual void updateTrending (int nodeix, int rateix, int hisix, double value)
virtual void IncTrending (TH1 *histo, double value, bool forwards)
virtual void updateStats (int nodeix, int rateix, int hix, double value)

Public Member Functions

 TGo4DabcMonitor (QWidget *parent=0, const char *name=0)
virtual ~TGo4DabcMonitor ()
virtual void infoUpdated (TGo4DabcInfo *info)
virtual void nodesUpdated (TGo4DabcNodesInfo *info)
virtual void servicesUpdated (TGo4DabcServiceInfo *info)
virtual void stateUpdated (TGo4DabcStateInfo *info)
virtual void rateUpdated (TGo4DabcRateInfo *info)

Protected Member Functions

virtual void refreshNodes ()
virtual void clearStates ()
virtual void clearServices ()
virtual void clearRates ()
virtual void createRateServices (int nodeindex)
virtual void deleteRateServices (int nodeindex)
virtual void displayNodeTable ()
virtual void fillNodeTableRow (int tableindex, int nodeindex, bool createnew)
virtual void displayRateTable ()
virtual void fillRateTableRow (int tableindex, int nodeindex, int rateindex, bool createnew)
virtual bool getRateIndices (int tablerow, int &nodeix, int &rateix)

Protected Attributes

bool fbHistogramming
bool fbDisplayRateTable
bool fbDisplayNodeTable
bool fbDisplayHistograms
bool fbRebuildNodeTable
bool fbRebuildRateTable
bool fbTrendingForward
bool fbTableBeingCreated
unsigned int fxLastTimestamp
QStringList fxNodelist
QString fxDnsNode
TGo4DabcNodesInfofxServerInfo
std::vector< std::vector
< unsigned int > > 
fxRateCount
std::vector< std::vector< float > > fxRateSum
int fiStatBins
std::vector< std::vector
< std::vector< bool > > > 
fbStatsInit
std::vector< std::vector< bool > > fxStatsFlags
int fiTrendBins
std::vector< std::vector
< std::vector< bool > > > 
fbTrendingInit
std::vector< std::vector< bool > > fxTrendingFlags
std::vector< std::vector
< TGo4DabcRate > > 
fxRateRecords
std::vector< std::vector
< TGo4DabcRateInfo * > > 
fxRates
std::vector< TGo4DabcStateInfo * > fxStates
std::vector
< TGo4DabcServiceInfo * > 
fxServices
std::vector< TGo4DabcStatefxStateRecords
std::vector< QString > fxDabcNodes
std::vector< bool > fxShowRateFlags
std::vector< bool > fxShowLogFlags
std::vector< std::vector
< std::vector< QString > > > 
fxTrendHistoRefnames
std::vector< std::vector
< std::vector< QString > > > 
fxStatHistoRefnames
std::vector< std::vector
< std::deque< float > > > 
fxRateQueues
QTimer * fxDisplayTimer
QTimer * fxAverageTimer

Detailed Description

Definition at line 204 of file TGo4DabcMonitor.h.


Constructor & Destructor Documentation

TGo4DabcMonitor::~TGo4DabcMonitor (  )  [virtual]

Definition at line 164 of file TGo4DabcMonitor.cpp.


Member Function Documentation

void TGo4DabcMonitor::averageCheckToggled ( bool  val  )  [virtual, slot]

Definition at line 275 of file TGo4DabcMonitor.cpp.

References fxAverageTimer, and storeSettings().

void TGo4DabcMonitor::binsizeChanged ( int  val  )  [virtual, slot]

Definition at line 295 of file TGo4DabcMonitor.cpp.

References fiStatBins, and fiTrendBins.

void TGo4DabcMonitor::clearRates (  )  [protected, virtual]
void TGo4DabcMonitor::clearServices (  )  [protected, virtual]

Definition at line 784 of file TGo4DabcMonitor.cpp.

References fxServices.

Referenced by refreshNodes().

void TGo4DabcMonitor::clearStates (  )  [protected, virtual]

Definition at line 770 of file TGo4DabcMonitor.cpp.

References fxShowLogFlags, fxShowRateFlags, fxStateRecords, and fxStates.

Referenced by refreshNodes().

void TGo4DabcMonitor::createLogServices ( int  nodeindex  )  [virtual, slot]

Definition at line 894 of file TGo4DabcMonitor.cpp.

References fxDabcNodes, fxServices, and gNolinkRateRecord.

Referenced by logDIMSlot().

void TGo4DabcMonitor::createRateServices ( int  nodeindex  )  [protected, virtual]
void TGo4DabcMonitor::deleteRateServices ( int  nodeindex  )  [protected, virtual]
void TGo4DabcMonitor::displayAll (  )  [virtual, slot]
void TGo4DabcMonitor::displayAverageHistograms (  )  [virtual, slot]
void TGo4DabcMonitor::displayNodeTable (  )  [protected, virtual]
void TGo4DabcMonitor::displayRateTable (  )  [protected, virtual]
void TGo4DabcMonitor::displaySampleHistograms (  )  [virtual, slot]
void TGo4DabcMonitor::fillNodeTableRow ( int  tableindex,
int  nodeindex,
bool  createnew 
) [protected, virtual]
void TGo4DabcMonitor::fillRateTableRow ( int  tableindex,
int  nodeindex,
int  rateindex,
bool  createnew 
) [protected, virtual]
bool TGo4DabcMonitor::getRateIndices ( int  tablerow,
int &  nodeix,
int &  rateix 
) [protected, virtual]

Definition at line 1238 of file TGo4DabcMonitor.cpp.

References DABCMON_RATE_INDEXCOL.

Referenced by displayRateTable(), and rateTableChangedSlot().

void TGo4DabcMonitor::histogramCheckToggled ( bool  val  )  [virtual, slot]
void TGo4DabcMonitor::IncTrending ( TH1 *  histo,
double  value,
bool  forwards 
) [virtual, slot]

Definition at line 1484 of file TGo4DabcMonitor.cpp.

Referenced by updateTrending().

void TGo4DabcMonitor::infoUpdated ( TGo4DabcInfo info  )  [virtual]

Definition at line 414 of file TGo4DabcMonitor.cpp.

References TGo4DabcInfo::getServiceType().

Referenced by TGo4DabcInfo::infoHandler().

void TGo4DabcMonitor::logDIMSlot (  )  [virtual, slot]

Definition at line 205 of file TGo4DabcMonitor.cpp.

References createLogServices(), fxDabcNodes, and fxShowLogFlags.

void TGo4DabcMonitor::nodesUpdated ( TGo4DabcNodesInfo info  )  [virtual]
void TGo4DabcMonitor::nodeTableChangedSlot ( int  row,
int  column 
) [virtual, slot]
void TGo4DabcMonitor::rateTableChangedSlot ( int  row,
int  column 
) [virtual, slot]
void TGo4DabcMonitor::rateUpdated ( TGo4DabcRateInfo info  )  [virtual]
void TGo4DabcMonitor::refreshDIMSlot (  )  [virtual, slot]

Definition at line 185 of file TGo4DabcMonitor.cpp.

References fxDnsNode, fxServerInfo, and storeSettings().

void TGo4DabcMonitor::servicesUpdated ( TGo4DabcServiceInfo info  )  [virtual]

Definition at line 513 of file TGo4DabcMonitor.cpp.

References fxServices, fxStates, and gNolinkStateRecord.

Referenced by TGo4DabcServiceInfo::infoHandler().

void TGo4DabcMonitor::stateUpdated ( TGo4DabcStateInfo info  )  [virtual]

Member Data Documentation

Definition at line 242 of file TGo4DabcMonitor.h.

Referenced by displayAll(), rateUpdated(), and TGo4DabcMonitor().

Definition at line 241 of file TGo4DabcMonitor.h.

Referenced by displayAll(), nodesUpdated(), stateUpdated(), and TGo4DabcMonitor().

Definition at line 243 of file TGo4DabcMonitor.h.

Referenced by displayNodeTable(), refreshNodes(), and TGo4DabcMonitor().

Definition at line 244 of file TGo4DabcMonitor.h.

Referenced by displayRateTable(), refreshNodes(), and TGo4DabcMonitor().

std::vector< std::vector <std::vector <bool> > > TGo4DabcMonitor::fbStatsInit [protected]

Definition at line 245 of file TGo4DabcMonitor.h.

Referenced by storeSettings(), TGo4DabcMonitor(), and updateTrending().

int TGo4DabcMonitor::fiStatBins [protected]

Definition at line 259 of file TGo4DabcMonitor.h.

Referenced by binsizeChanged(), TGo4DabcMonitor(), and updateStats().

QTimer* TGo4DabcMonitor::fxAverageTimer [protected]

Definition at line 282 of file TGo4DabcMonitor.h.

Referenced by averageCheckToggled(), and TGo4DabcMonitor().

QTimer* TGo4DabcMonitor::fxDisplayTimer [protected]

Definition at line 281 of file TGo4DabcMonitor.h.

Referenced by TGo4DabcMonitor().

QString TGo4DabcMonitor::fxDnsNode [protected]

Definition at line 253 of file TGo4DabcMonitor.h.

Referenced by refreshDIMSlot(), and storeSettings().

unsigned int TGo4DabcMonitor::fxLastTimestamp [protected]

Definition at line 251 of file TGo4DabcMonitor.h.

Referenced by displayAll(), rateUpdated(), stateUpdated(), and TGo4DabcMonitor().

QStringList TGo4DabcMonitor::fxNodelist [protected]

Definition at line 252 of file TGo4DabcMonitor.h.

Referenced by nodesUpdated(), and refreshNodes().

std::vector< std::vector < std::deque <float> > > TGo4DabcMonitor::fxRateQueues [protected]

Definition at line 254 of file TGo4DabcMonitor.h.

Referenced by refreshDIMSlot(), and TGo4DabcMonitor().

std::vector< std::vector <std::vector<QString > > > TGo4DabcMonitor::fxStatHistoRefnames [protected]
std::vector< std::vector <std::vector < QString> > > TGo4DabcMonitor::fxTrendHistoRefnames [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines