GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TGo4DabcMonitor Class Reference

#include <TGo4DabcMonitor.h>

+ Inheritance diagram for TGo4DabcMonitor:

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 Slots inherited from QGo4Widget
void ResetWidgetSlot ()
 
void CloseMDIParentSlot ()
 

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)
 
- Public Member Functions inherited from QGo4Widget
 QGo4Widget (QWidget *parent=0, const char *name=0, Qt::WindowFlags f=0)
 
virtual ~QGo4Widget ()
 
virtual bool IsAcceptDrag (const char *itemname, TClass *cl, int kind)
 
virtual void DropItem (const char *itemname, TClass *cl, int kind)
 
virtual void ResetWidget ()
 
void ObjectCreatedByWidget (const char *itemname, TClass *cl)
 
void ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot)
 

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 Member Functions inherited from QGo4Widget
virtual void closeEvent (QCloseEvent *e)
 
virtual void dragEnterEvent (QDragEnterEvent *e)
 
virtual void dragMoveEvent (QDragMoveEvent *e)
 
virtual void dropEvent (QDropEvent *e)
 
void AddLink (const char *itemname, const char *linkname)
 
void AddLink (TGo4Slot *slot, const char *linkname)
 
TGo4SlotAddLink (const char *itemname, TGo4Slot *parent)
 
TGo4SlotGetTopSlot (bool force=false)
 
TGo4SlotAddSlot (const char *slotname)
 
void SetLinkedName (TGo4Slot *slot, const char *itemname)
 
const char * GetLinkedName (const char *linkname)
 
const char * GetLinkedName (TGo4Slot *slot)
 
TObject * GetLinked (const char *linkname, int updatelevel)
 
void RemoveLink (const char *linkname, bool blockreset=true)
 
void RemoveAllLinks (bool blockreset=true)
 
void RemoveLinksMasked (const char *startedwith=0, bool blockreset=true)
 
bool BrowserItemRemote (const char *itemname)
 
TGo4BrowserProxyBrowser ()
 
void StatusMessage (const QString &message)
 
void AskToCreateObject (TClass *cl, int isremote)
 
void ShowItemInfo (const QString &itemname)
 
TGo4ViewPanelCreateViewPanel (int ndiv=0)
 
TGo4ViewPanelDrawItem (const QString &itemname, TGo4ViewPanel *panel=0, TPad *pad=0, bool activate=true, int updatelevel=-1)
 
TGo4ViewPanelWhereItemDrawn (const char *itemname)
 
void HelpWindow (const char *filename, const char *msg=0)
 
void UndrawItem (const char *itemname)
 
TGo4ViewPanelLastActivePanel ()
 
void EditItem (const QString &itemname)
 
void EditObjectInSlot (TGo4Slot *slot)
 
QString SaveObjectInMemory (const char *foldername, TObject *obj)
 
bool SaveItemToFile (const char *itemname, const char *subfolder=0)
 
bool UpdateItemInAnalysis (const char *itemname, TObject *obj=0)
 
void InformThatObjectCreated (const char *itemname, TClass *cl)
 
TGo4ServerProxyGetAnalysis (const char *itemname=0)
 
void StartHotstart (const char *filename)
 
void ConnectPad (TPad *pad)
 
void CallServiceFunc (int id, const char *str=0, void *par=0)
 
void ServiceCall (const char *name, void *par=0)
 
virtual void requestedObjectCreated (const char *itemname, TClass *cl)
 
virtual void linkedObjectUpdated (const char *linkname, TObject *obj)
 
virtual void linkedObjectRemoved (const char *linkname)
 
virtual void linkedUpdated (TGo4Slot *slot, TObject *obj)
 
virtual void linkedRemoved (TGo4Slot *slot, TObject *obj)
 
void setCanDestroyWidget (bool on=true)
 
void CallPanelFunc (int id, TPad *pad=0)
 
void ShootResetWidget ()
 
void ShootCloseWidget (bool closeparent=false)
 
bool IsUpdateBlocked () const
 

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
 

Additional Inherited Members

- Public Types inherited from QGo4Widget
enum  {
  service_DragEnter = 1, service_DropEvent = 2, service_CreateItem = 3, service_DrawItem = 4,
  service_EditItem = 5, service_ShowInfo = 6, service_EditInSlot = 7, service_SaveItem = 8,
  service_UpdateAnalysisItem = 9, service_StatusMessage = 15, service_CreateViewPanel = 17, service_BrowserItemRemote = 18,
  service_Browser = 19, service_SaveToMemory = 20, service_GetAnalysis = 21, service_AddEditorLink = 22,
  service_AddDirectLink = 23, service_AddLinkInSlot = 24, service_GetTopSlot = 25, service_AddEditorSlot = 26,
  service_SetLinkedName = 27, service_GetLinkedName = 28, service_GetLinkedName2 = 29, service_GetLinked0 = 30,
  service_GetLinked1 = 31, service_GetLinked2 = 32, service_RemoveLink = 33, service_RemoveAllLinks = 34,
  service_ObjectCreated = 35, service_ConnectPad = 36, service_LastActivePanel = 37, service_WhereItemDrawn = 38,
  service_UndrawItem = 39, service_General = 40, service_PanelTimer = 41, service_HelpWindow = 42,
  service_HotStart = 43, panel_Activated = 101, panel_Modified = 102, panel_Updated = 103,
  panel_ActiveUpdated = 104, panel_PadDeleted = 105, panel_Deleted = 106
}
 
- Signals inherited from QGo4Widget
void widgetService (QGo4Widget *editor, int serviceid, const char *str, void *par)
 

Detailed Description

Definition at line 204 of file TGo4DabcMonitor.h.

Constructor & Destructor Documentation

TGo4DabcMonitor::TGo4DabcMonitor ( QWidget *  parent = 0,
const char *  name = 0 
)
TGo4DabcMonitor::~TGo4DabcMonitor ( )
virtual

Definition at line 164 of file TGo4DabcMonitor.cpp.

Member Function Documentation

void TGo4DabcMonitor::averageCheckToggled ( bool  val)
virtualslot

Definition at line 275 of file TGo4DabcMonitor.cpp.

References fxAverageTimer, and storeSettings().

void TGo4DabcMonitor::binsizeChanged ( int  val)
virtualslot

Definition at line 295 of file TGo4DabcMonitor.cpp.

References fiStatBins, and fiTrendBins.

void TGo4DabcMonitor::clearRates ( )
protectedvirtual
void TGo4DabcMonitor::clearServices ( )
protectedvirtual

Definition at line 784 of file TGo4DabcMonitor.cpp.

References fxServices.

Referenced by refreshNodes().

void TGo4DabcMonitor::clearStates ( )
protectedvirtual

Definition at line 770 of file TGo4DabcMonitor.cpp.

References fxShowLogFlags, fxShowRateFlags, fxStateRecords, and fxStates.

Referenced by refreshNodes().

void TGo4DabcMonitor::createLogServices ( int  nodeindex)
virtualslot

Definition at line 894 of file TGo4DabcMonitor.cpp.

References fxDabcNodes, fxServices, and gNolinkRateRecord.

Referenced by logDIMSlot().

void TGo4DabcMonitor::createRateServices ( int  nodeindex)
protectedvirtual
void TGo4DabcMonitor::deleteRateServices ( int  nodeindex)
protectedvirtual
void TGo4DabcMonitor::displayAll ( )
virtualslot
void TGo4DabcMonitor::displayAverageHistograms ( )
virtualslot
void TGo4DabcMonitor::displayNodeTable ( )
protectedvirtual
void TGo4DabcMonitor::displayRateTable ( )
protectedvirtual
void TGo4DabcMonitor::displaySampleHistograms ( )
virtualslot
void TGo4DabcMonitor::fillNodeTableRow ( int  tableindex,
int  nodeindex,
bool  createnew 
)
protectedvirtual
void TGo4DabcMonitor::fillRateTableRow ( int  tableindex,
int  nodeindex,
int  rateindex,
bool  createnew 
)
protectedvirtual
bool TGo4DabcMonitor::getRateIndices ( int  tablerow,
int &  nodeix,
int &  rateix 
)
protectedvirtual

Definition at line 1238 of file TGo4DabcMonitor.cpp.

References DABCMON_RATE_INDEXCOL.

Referenced by displayRateTable(), and rateTableChangedSlot().

void TGo4DabcMonitor::histogramCheckToggled ( bool  val)
virtualslot
void TGo4DabcMonitor::IncTrending ( TH1 *  histo,
double  value,
bool  forwards 
)
virtualslot

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 ( )
virtualslot

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 
)
virtualslot
void TGo4DabcMonitor::rateTableChangedSlot ( int  row,
int  column 
)
virtualslot
void TGo4DabcMonitor::rateUpdated ( TGo4DabcRateInfo info)
virtual
void TGo4DabcMonitor::refreshDIMSlot ( )
virtualslot

Definition at line 185 of file TGo4DabcMonitor.cpp.

References fxDnsNode, fxServerInfo, and storeSettings().

void TGo4DabcMonitor::refreshNodes ( )
protectedvirtual
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
void TGo4DabcMonitor::storeSettings ( )
virtualslot
void TGo4DabcMonitor::updateStats ( int  nodeix,
int  rateix,
int  hix,
double  value 
)
virtualslot
void TGo4DabcMonitor::updateTrending ( int  nodeix,
int  rateix,
int  hisix,
double  value 
)
virtualslot

Member Data Documentation

bool TGo4DabcMonitor::fbDisplayHistograms
protected

Definition at line 242 of file TGo4DabcMonitor.h.

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

bool TGo4DabcMonitor::fbDisplayNodeTable
protected

Definition at line 241 of file TGo4DabcMonitor.h.

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

bool TGo4DabcMonitor::fbDisplayRateTable
protected
bool TGo4DabcMonitor::fbHistogramming
protected
bool TGo4DabcMonitor::fbRebuildNodeTable
protected

Definition at line 243 of file TGo4DabcMonitor.h.

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

bool TGo4DabcMonitor::fbRebuildRateTable
protected

Definition at line 244 of file TGo4DabcMonitor.h.

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

std::vector< std::vector <std::vector <bool> > > TGo4DabcMonitor::fbStatsInit
protected
bool TGo4DabcMonitor::fbTableBeingCreated
protected
bool TGo4DabcMonitor::fbTrendingForward
protected

Definition at line 245 of file TGo4DabcMonitor.h.

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

std::vector< std::vector <std::vector <bool> > > TGo4DabcMonitor::fbTrendingInit
protected
int TGo4DabcMonitor::fiStatBins
protected

Definition at line 259 of file TGo4DabcMonitor.h.

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

int TGo4DabcMonitor::fiTrendBins
protected

Definition at line 262 of file TGo4DabcMonitor.h.

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

QTimer* TGo4DabcMonitor::fxAverageTimer
protected

Definition at line 282 of file TGo4DabcMonitor.h.

Referenced by averageCheckToggled(), and TGo4DabcMonitor().

std::vector<QString> TGo4DabcMonitor::fxDabcNodes
protected
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 <unsigned int> > TGo4DabcMonitor::fxRateCount
protected
std::vector< std::vector < std::deque <float> > > TGo4DabcMonitor::fxRateQueues
protected
std::vector<std::vector<TGo4DabcRate> > TGo4DabcMonitor::fxRateRecords
protected
std::vector<std::vector<TGo4DabcRateInfo*> > TGo4DabcMonitor::fxRates
protected
std::vector< std::vector <float> > TGo4DabcMonitor::fxRateSum
protected
TGo4DabcNodesInfo* TGo4DabcMonitor::fxServerInfo
protected

Definition at line 254 of file TGo4DabcMonitor.h.

Referenced by refreshDIMSlot(), and TGo4DabcMonitor().

std::vector<TGo4DabcServiceInfo*> TGo4DabcMonitor::fxServices
protected
std::vector<bool> TGo4DabcMonitor::fxShowLogFlags
protected
std::vector<bool> TGo4DabcMonitor::fxShowRateFlags
protected
std::vector<TGo4DabcState> TGo4DabcMonitor::fxStateRecords
protected
std::vector<TGo4DabcStateInfo*> TGo4DabcMonitor::fxStates
protected
std::vector< std::vector <std::vector<QString > > > TGo4DabcMonitor::fxStatHistoRefnames
protected
std::vector< std::vector <bool> > TGo4DabcMonitor::fxStatsFlags
protected
std::vector< std::vector <std::vector < QString> > > TGo4DabcMonitor::fxTrendHistoRefnames
protected
std::vector<std::vector<bool> > TGo4DabcMonitor::fxTrendingFlags
protected

The documentation for this class was generated from the following files: