#include <TGo4MBSViewer.h>
Public Slots | |
virtual void | StoreSettings () |
virtual void | TimerStart () |
virtual void | TimerStop () |
virtual void | Display () |
virtual void | Refresh () |
virtual void | NodeEditEnter () |
virtual void | NodeChanged (const QString &txt) |
virtual void | ShowStatus () |
virtual void | StateGroup_clicked (int id) |
virtual void | PrintStatus () |
virtual void | TrendSwitched (bool on) |
virtual void | UpdateTrending () |
virtual void | IncTrending (TH1 *histo, int value, bool forwards) |
virtual void | FrequencyBox_valueChanged (int) |
virtual void | MoreBox_toggled (bool on) |
virtual void | TrendBinsBox_valueChanged (int i) |
virtual void | RefreshButtonClick () |
virtual void | SetNode (const QString &txt) |
virtual void | ResetRunIcon () |
virtual void | StartMovieReset () |
Public Member Functions | |
TGo4MBSViewer (QWidget *parent=0, const char *name=0) | |
virtual | ~TGo4MBSViewer () |
TH1 * | TrendHisto (QString &refname, const QString &name, const QString &title, int value) |
Protected Attributes | |
bool | fbSingleRefresh |
int | fiLastDataNum |
int | fiLastEventNum |
int | fiCalcedEventRate |
s_set_mo | fxSetupMO |
bool | fbRunning |
bool | fbTrendingForward |
QString | fxHistokBAccessName |
TH1 * | fxRatekBTrend |
bool | fbTrendingInit |
QString | fxHistoAccessName |
bool | fbTrending |
bool | fbGetSetML |
QString | fxRefTime |
bool | fbGetSetup |
QString | fxMessage |
bool | fbWarningState |
bool | fbIsMonitoring |
s_daqst | fxDaqStat |
QString | fxNode |
QTimer * | fxTimer |
s_setup | fxSetup |
s_set_ml | fxSetupML |
QMovie * | fxRunMovie |
TH1 * | fxRateTrend |
int | fiTrendBins |
bool | fbShowMore |
QTimer * | fxMovieResetTimer |
int | fiEvRatio |
QString | fxHistoEvRatioAccessName |
TH1 * | fxEvRatio |
QString | fxServerLabel |
bool | fbGetSetMO |
int | fiCalcedDataRate |
int | fiLastServDataNum |
int | fiCalcedServDataRate |
int | fiDataDelta |
int | fiServDataDelta |
QTime | fxDeltaClock |
QButtonGroup * | StateGroup |
Definition at line 44 of file TGo4MBSViewer.h.
TGo4MBSViewer::TGo4MBSViewer | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Definition at line 28 of file TGo4MBSViewer.cpp.
References Display(), fbGetSetML, fbGetSetMO, fbGetSetup, fbIsMonitoring, fbRunning, fbShowMore, fbSingleRefresh, fbTrending, fbTrendingForward, fbTrendingInit, fbWarningState, fiCalcedDataRate, fiCalcedEventRate, fiCalcedServDataRate, fiLastDataNum, fiLastEventNum, fiLastServDataNum, fiTrendBins, fxDaqStat, fxDeltaClock, fxHistoAccessName, fxHistoEvRatioAccessName, fxHistokBAccessName, fxMovieResetTimer, fxRunMovie, fxServerLabel, fxTimer, TGo4QSettings::getMbsMonitorBackwardsTrending(), TGo4QSettings::getMbsMonitorBins(), TGo4QSettings::getMbsMonitorFreq(), TGo4QSettings::getMbsMonitorMore(), TGo4QSettings::getMbsMonitorNode(), TGo4QSettings::getMbsMonitorTrend(), go4sett, Refresh(), ResetRunIcon(), SetNode(), StateGroup, and StateGroup_clicked().
TGo4MBSViewer::~TGo4MBSViewer | ( | ) | [virtual] |
Definition at line 105 of file TGo4MBSViewer.cpp.
References fxRunMovie.
void TGo4MBSViewer::Display | ( | ) | [virtual, slot] |
Definition at line 148 of file TGo4MBSViewer.cpp.
References s_daqst::bh_set_ml_loaded, s_daqst::bh_set_mo_loaded, s_daqst::bh_setup_loaded, s_daqst::bl_n_events, s_daqst::bl_n_kbyte, s_daqst::bl_n_kbyte_file, s_daqst::c_file_name, fbIsMonitoring, fbRunning, fbShowMore, fbSingleRefresh, fbTrending, fbWarningState, fiCalcedDataRate, fiCalcedEventRate, fiEvRatio, fxDaqStat, fxMessage, fxRefTime, fxRunMovie, fxServerLabel, and s_daqst::l_open_file.
Referenced by MoreBox_toggled(), Refresh(), ResetRunIcon(), TGo4MBSViewer(), TimerStart(), TimerStop(), and TrendSwitched().
void TGo4MBSViewer::FrequencyBox_valueChanged | ( | int | ) | [virtual, slot] |
Definition at line 493 of file TGo4MBSViewer.cpp.
References fbTrendingInit.
void TGo4MBSViewer::IncTrending | ( | TH1 * | histo, | |
int | value, | |||
bool | forwards | |||
) | [virtual, slot] |
Definition at line 470 of file TGo4MBSViewer.cpp.
Referenced by TrendHisto().
void TGo4MBSViewer::MoreBox_toggled | ( | bool | on | ) | [virtual, slot] |
Definition at line 548 of file TGo4MBSViewer.cpp.
References Display(), fbShowMore, go4sett, and TGo4QSettings::setMbsMonitorMore().
void TGo4MBSViewer::NodeChanged | ( | const QString & | txt | ) | [virtual, slot] |
Definition at line 356 of file TGo4MBSViewer.cpp.
References fxNode.
void TGo4MBSViewer::NodeEditEnter | ( | ) | [virtual, slot] |
Definition at line 349 of file TGo4MBSViewer.cpp.
References Refresh().
void TGo4MBSViewer::PrintStatus | ( | ) | [virtual, slot] |
Definition at line 401 of file TGo4MBSViewer.cpp.
References f_mbs_ml_setup(), f_mbs_mo_setup(), f_mbs_setup(), fbGetSetML, fbGetSetMO, fbGetSetup, fbWarningState, fxMessage, fxNode, fxSetup, fxSetupML, fxSetupMO, RefreshButtonClick(), and ShowStatus().
void TGo4MBSViewer::Refresh | ( | ) | [virtual, slot] |
Definition at line 201 of file TGo4MBSViewer.cpp.
References s_daqst::bh_acqui_running, s_daqst::bh_event_serv_ready, s_daqst::bh_running, s_daqst::bl_evtsrv_scale, s_daqst::bl_n_events, s_daqst::bl_n_evserv_kbytes, s_daqst::bl_n_kbyte, s_daqst::bl_n_strserv_kbytes, s_daqst::bl_r_events, s_daqst::bl_r_evserv_kbytes, s_daqst::bl_r_kbyte, s_daqst::bl_r_strserv_kbytes, s_daqst::bl_strsrv_scale, s_daqst::c_date, Display(), f_mbs_status(), fbIsMonitoring, fbRunning, fbTrending, fbTrendingInit, fbWarningState, fiCalcedDataRate, fiCalcedEventRate, fiCalcedServDataRate, fiDataDelta, fiEvRatio, fiLastDataNum, fiLastEventNum, fiLastServDataNum, fiServDataDelta, fxDaqStat, fxDeltaClock, fxMessage, fxNode, fxRefTime, fxServerLabel, StartMovieReset(), STC__SUCCESS, SYS__event_serv, SYS__stream_serv, and UpdateTrending().
Referenced by NodeEditEnter(), RefreshButtonClick(), TGo4MBSViewer(), and TimerStart().
void TGo4MBSViewer::RefreshButtonClick | ( | ) | [virtual, slot] |
Definition at line 563 of file TGo4MBSViewer.cpp.
References fbIsMonitoring, fbSingleRefresh, fbTrending, and Refresh().
Referenced by PrintStatus().
void TGo4MBSViewer::ResetRunIcon | ( | ) | [virtual, slot] |
Definition at line 585 of file TGo4MBSViewer.cpp.
References Display(), and fbRunning.
Referenced by TGo4MBSViewer().
void TGo4MBSViewer::SetNode | ( | const QString & | txt | ) | [virtual, slot] |
Definition at line 578 of file TGo4MBSViewer.cpp.
References fxNode.
Referenced by TGo4MBSViewer(), and TGo4MainWindow::ToggleMbsMonitor().
void TGo4MBSViewer::ShowStatus | ( | ) | [virtual, slot] |
Definition at line 365 of file TGo4MBSViewer.cpp.
References f_ut_seg_show(), fbGetSetML, fbGetSetMO, fbGetSetup, fbWarningState, fxDaqStat, fxMessage, fxSetup, fxSetupML, fxSetupMO, and StateGroup.
Referenced by PrintStatus().
void TGo4MBSViewer::StartMovieReset | ( | ) | [virtual, slot] |
Definition at line 592 of file TGo4MBSViewer.cpp.
References fbIsMonitoring, and fxMovieResetTimer.
Referenced by Refresh(), and TimerStop().
void TGo4MBSViewer::StateGroup_clicked | ( | int | id | ) | [virtual, slot] |
Definition at line 386 of file TGo4MBSViewer.cpp.
References fbGetSetML, fbGetSetMO, fbGetSetup, and StateGroup.
Referenced by TGo4MBSViewer().
void TGo4MBSViewer::StoreSettings | ( | ) | [virtual, slot] |
Definition at line 111 of file TGo4MBSViewer.cpp.
References fbIsMonitoring, fbShowMore, fbTrending, fbTrendingForward, fiTrendBins, fxNode, go4sett, TGo4QSettings::setMbsMonitorBackwardsTrending(), TGo4QSettings::setMbsMonitorBins(), TGo4QSettings::setMbsMonitorFreq(), TGo4QSettings::setMbsMonitorMonitorActive(), TGo4QSettings::setMbsMonitorMore(), TGo4QSettings::setMbsMonitorNode(), and TGo4QSettings::setMbsMonitorTrend().
Referenced by TimerStart(), and TimerStop().
void TGo4MBSViewer::TimerStart | ( | ) | [virtual, slot] |
Definition at line 124 of file TGo4MBSViewer.cpp.
References Display(), fbIsMonitoring, fbTrendingInit, fiLastDataNum, fiLastEventNum, fiLastServDataNum, fxTimer, Refresh(), and StoreSettings().
Referenced by TGo4MainWindow::TGo4MainWindow().
void TGo4MBSViewer::TimerStop | ( | ) | [virtual, slot] |
Definition at line 138 of file TGo4MBSViewer.cpp.
References Display(), fbIsMonitoring, fxTimer, StartMovieReset(), and StoreSettings().
void TGo4MBSViewer::TrendBinsBox_valueChanged | ( | int | i | ) | [virtual, slot] |
Definition at line 556 of file TGo4MBSViewer.cpp.
References fbTrendingInit, and fiTrendBins.
TH1 * TGo4MBSViewer::TrendHisto | ( | QString & | refname, | |
const QString & | name, | |||
const QString & | title, | |||
int | value | |||
) |
Definition at line 499 of file TGo4MBSViewer.cpp.
References TGo4Slot::AssignObject(), QGo4Widget::Browser(), TGo4BrowserProxy::BrowserSlot(), TGo4BrowserProxy::DataSlot(), TGo4Slot::evObjUpdated, fbTrendingForward, fbTrendingInit, fiTrendBins, TGo4Slot::ForwardEvent(), TGo4Slot::GetAssignedObject(), IncTrending(), TGo4BrowserProxy::SaveToMemory(), and TGo4BrowserProxy::SetItemTimeDate().
Referenced by UpdateTrending().
void TGo4MBSViewer::TrendSwitched | ( | bool | on | ) | [virtual, slot] |
Definition at line 452 of file TGo4MBSViewer.cpp.
References Display(), fbTrending, fbTrendingInit, go4sett, and TGo4QSettings::setMbsMonitorTrend().
void TGo4MBSViewer::UpdateTrending | ( | ) | [virtual, slot] |
Definition at line 461 of file TGo4MBSViewer.cpp.
References fbTrendingInit, fiCalcedDataRate, fiCalcedEventRate, fiEvRatio, fxHistoAccessName, fxHistoEvRatioAccessName, fxHistokBAccessName, fxServerLabel, and TrendHisto().
Referenced by Refresh().
bool TGo4MBSViewer::fbGetSetML [protected] |
Definition at line 113 of file TGo4MBSViewer.h.
Referenced by PrintStatus(), ShowStatus(), StateGroup_clicked(), and TGo4MBSViewer().
bool TGo4MBSViewer::fbGetSetMO [protected] |
Definition at line 133 of file TGo4MBSViewer.h.
Referenced by PrintStatus(), ShowStatus(), StateGroup_clicked(), and TGo4MBSViewer().
bool TGo4MBSViewer::fbGetSetup [protected] |
Definition at line 115 of file TGo4MBSViewer.h.
Referenced by PrintStatus(), ShowStatus(), StateGroup_clicked(), and TGo4MBSViewer().
bool TGo4MBSViewer::fbIsMonitoring [protected] |
Definition at line 118 of file TGo4MBSViewer.h.
Referenced by Display(), Refresh(), RefreshButtonClick(), StartMovieReset(), StoreSettings(), TGo4MBSViewer(), TimerStart(), and TimerStop().
bool TGo4MBSViewer::fbRunning [protected] |
Definition at line 106 of file TGo4MBSViewer.h.
Referenced by Display(), Refresh(), ResetRunIcon(), and TGo4MBSViewer().
bool TGo4MBSViewer::fbShowMore [protected] |
Definition at line 127 of file TGo4MBSViewer.h.
Referenced by Display(), MoreBox_toggled(), StoreSettings(), and TGo4MBSViewer().
bool TGo4MBSViewer::fbSingleRefresh [protected] |
Definition at line 101 of file TGo4MBSViewer.h.
Referenced by Display(), RefreshButtonClick(), and TGo4MBSViewer().
bool TGo4MBSViewer::fbTrending [protected] |
Definition at line 112 of file TGo4MBSViewer.h.
Referenced by Display(), Refresh(), RefreshButtonClick(), StoreSettings(), TGo4MBSViewer(), and TrendSwitched().
bool TGo4MBSViewer::fbTrendingForward [protected] |
Definition at line 107 of file TGo4MBSViewer.h.
Referenced by StoreSettings(), TGo4MBSViewer(), and TrendHisto().
bool TGo4MBSViewer::fbTrendingInit [protected] |
Definition at line 110 of file TGo4MBSViewer.h.
Referenced by FrequencyBox_valueChanged(), Refresh(), TGo4MBSViewer(), TimerStart(), TrendBinsBox_valueChanged(), TrendHisto(), TrendSwitched(), and UpdateTrending().
bool TGo4MBSViewer::fbWarningState [protected] |
Definition at line 117 of file TGo4MBSViewer.h.
Referenced by Display(), PrintStatus(), Refresh(), ShowStatus(), and TGo4MBSViewer().
int TGo4MBSViewer::fiCalcedDataRate [protected] |
Definition at line 134 of file TGo4MBSViewer.h.
Referenced by Display(), Refresh(), TGo4MBSViewer(), and UpdateTrending().
int TGo4MBSViewer::fiCalcedEventRate [protected] |
Definition at line 104 of file TGo4MBSViewer.h.
Referenced by Display(), Refresh(), TGo4MBSViewer(), and UpdateTrending().
int TGo4MBSViewer::fiCalcedServDataRate [protected] |
Definition at line 136 of file TGo4MBSViewer.h.
Referenced by Refresh(), and TGo4MBSViewer().
int TGo4MBSViewer::fiDataDelta [protected] |
Definition at line 137 of file TGo4MBSViewer.h.
Referenced by Refresh().
int TGo4MBSViewer::fiEvRatio [protected] |
Definition at line 129 of file TGo4MBSViewer.h.
Referenced by Display(), Refresh(), and UpdateTrending().
int TGo4MBSViewer::fiLastDataNum [protected] |
Definition at line 102 of file TGo4MBSViewer.h.
Referenced by Refresh(), TGo4MBSViewer(), and TimerStart().
int TGo4MBSViewer::fiLastEventNum [protected] |
Definition at line 103 of file TGo4MBSViewer.h.
Referenced by Refresh(), TGo4MBSViewer(), and TimerStart().
int TGo4MBSViewer::fiLastServDataNum [protected] |
Definition at line 135 of file TGo4MBSViewer.h.
Referenced by Refresh(), TGo4MBSViewer(), and TimerStart().
int TGo4MBSViewer::fiServDataDelta [protected] |
Definition at line 138 of file TGo4MBSViewer.h.
Referenced by Refresh().
int TGo4MBSViewer::fiTrendBins [protected] |
Definition at line 126 of file TGo4MBSViewer.h.
Referenced by StoreSettings(), TGo4MBSViewer(), TrendBinsBox_valueChanged(), and TrendHisto().
s_daqst TGo4MBSViewer::fxDaqStat [protected] |
Definition at line 119 of file TGo4MBSViewer.h.
Referenced by Display(), Refresh(), ShowStatus(), and TGo4MBSViewer().
QTime TGo4MBSViewer::fxDeltaClock [protected] |
Definition at line 139 of file TGo4MBSViewer.h.
Referenced by Refresh(), and TGo4MBSViewer().
TH1* TGo4MBSViewer::fxEvRatio [protected] |
Definition at line 131 of file TGo4MBSViewer.h.
QString TGo4MBSViewer::fxHistoAccessName [protected] |
Definition at line 111 of file TGo4MBSViewer.h.
Referenced by TGo4MBSViewer(), and UpdateTrending().
QString TGo4MBSViewer::fxHistoEvRatioAccessName [protected] |
Definition at line 130 of file TGo4MBSViewer.h.
Referenced by TGo4MBSViewer(), and UpdateTrending().
QString TGo4MBSViewer::fxHistokBAccessName [protected] |
Definition at line 108 of file TGo4MBSViewer.h.
Referenced by TGo4MBSViewer(), and UpdateTrending().
QString TGo4MBSViewer::fxMessage [protected] |
Definition at line 116 of file TGo4MBSViewer.h.
Referenced by Display(), PrintStatus(), Refresh(), and ShowStatus().
QTimer* TGo4MBSViewer::fxMovieResetTimer [protected] |
Definition at line 128 of file TGo4MBSViewer.h.
Referenced by StartMovieReset(), and TGo4MBSViewer().
QString TGo4MBSViewer::fxNode [protected] |
Definition at line 120 of file TGo4MBSViewer.h.
Referenced by NodeChanged(), PrintStatus(), Refresh(), SetNode(), and StoreSettings().
TH1* TGo4MBSViewer::fxRatekBTrend [protected] |
Definition at line 109 of file TGo4MBSViewer.h.
TH1* TGo4MBSViewer::fxRateTrend [protected] |
Definition at line 125 of file TGo4MBSViewer.h.
QString TGo4MBSViewer::fxRefTime [protected] |
Definition at line 114 of file TGo4MBSViewer.h.
QMovie* TGo4MBSViewer::fxRunMovie [protected] |
Definition at line 124 of file TGo4MBSViewer.h.
Referenced by Display(), TGo4MBSViewer(), and ~TGo4MBSViewer().
QString TGo4MBSViewer::fxServerLabel [protected] |
Definition at line 132 of file TGo4MBSViewer.h.
Referenced by Display(), Refresh(), TGo4MBSViewer(), and UpdateTrending().
s_setup TGo4MBSViewer::fxSetup [protected] |
Definition at line 122 of file TGo4MBSViewer.h.
Referenced by PrintStatus(), and ShowStatus().
s_set_ml TGo4MBSViewer::fxSetupML [protected] |
Definition at line 123 of file TGo4MBSViewer.h.
Referenced by PrintStatus(), and ShowStatus().
s_set_mo TGo4MBSViewer::fxSetupMO [protected] |
Definition at line 105 of file TGo4MBSViewer.h.
Referenced by PrintStatus(), and ShowStatus().
QTimer* TGo4MBSViewer::fxTimer [protected] |
Definition at line 121 of file TGo4MBSViewer.h.
Referenced by TGo4MBSViewer(), TimerStart(), and TimerStop().
QButtonGroup* TGo4MBSViewer::StateGroup [protected] |
Definition at line 140 of file TGo4MBSViewer.h.
Referenced by ShowStatus(), StateGroup_clicked(), and TGo4MBSViewer().