GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Slots | Public Member Functions | Protected Attributes | List of all members
TGo4MBSViewer Class Reference

#include <TGo4MBSViewer.h>

+ Inheritance diagram for TGo4MBSViewer:

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

Public Member Functions

 TGo4MBSViewer (QWidget *parent=nullptr, const char *name=nullptr)
 
virtual ~TGo4MBSViewer ()
 
TH1 * TrendHisto (QString &refname, const QString &name, const QString &title, int value)
 
- Public Member Functions inherited from QGo4Widget
 QGo4Widget (QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags f=Qt::Widget)
 
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 Attributes

bool fbSingleRefresh {false}
 
int fiLastDataNum {0}
 
int fiLastEventNum {0}
 
int fiCalcedEventRate {0}
 
s_set_mo fxSetupMO
 
bool fbRunning {false}
 
bool fbTrendingForward {false}
 
QString fxHistokBAccessName
 
TH1 * fxRatekBTrend {nullptr}
 
bool fbTrendingInit {false}
 
QString fxHistoAccessName
 
bool fbTrending {false}
 
bool fbGetStatus {false}
 
bool fbGetSetML {false}
 
QString fxRefTime
 
bool fbGetSetup {false}
 
QString fxMessage
 
bool fbWarningState {false}
 
bool fbIsMonitoring {false}
 
s_daqst fxDaqStat
 
QString fxNode
 
QTimer * fxTimer {nullptr}
 
s_setup fxSetup
 
s_set_ml fxSetupML
 
QMovie * fxRunMovie {nullptr}
 
TH1 * fxRateTrend {nullptr}
 
int fiTrendBins {0}
 
bool fbShowMore {false}
 
QTimer * fxMovieResetTimer {nullptr}
 
int fiEvRatio {0}
 
QString fxHistoEvRatioAccessName
 
TH1 * fxEvRatio {nullptr}
 
QString fxServerLabel
 
bool fbGetSetMO {false}
 
int fiCalcedDataRate {0}
 
int fiLastServDataNum {0}
 
int fiCalcedServDataRate {0}
 
int fiDataDelta {0}
 
int fiServDataDelta {0}
 
QElapsedTimer fxDeltaClock
 
QButtonGroup * StateGroup {nullptr}
 

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
}
 pointer on browser proxy More...
 
- Signals inherited from QGo4Widget
void widgetService (QGo4Widget *editor, int serviceid, const char *str, void *par)
 
- Static Public Member Functions inherited from QGo4Widget
static QAction * AddIdAction (QMenu *menu, QSignalMapper *map, const QString &text, int id, int enabled=-1, int checked=-1)
 
static QAction * AddIdAction (QMenu *menu, QSignalMapper *map, const QIcon &icon, const QString &text, int id, int enabled=-1, int checked=-1)
 
static QAction * CreateChkAction (QMenu *menu, const QString &text, bool checked, bool enabled=true)
 
static QAction * SetIdAction (QSignalMapper *map, int id, int enabled=-1, int checked=-1)
 
- Protected Member Functions inherited from QGo4Widget
void closeEvent (QCloseEvent *e) override
 
void dragEnterEvent (QDragEnterEvent *e) override
 
void dragMoveEvent (QDragMoveEvent *e) override
 
void dropEvent (QDropEvent *e) override
 
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=0)
 
template<class T >
T * GetLinkedCast (const char *linkname, int updatelevel=0)
 
void RemoveLink (const char *linkname, bool blockreset=true)
 
void RemoveAllLinks (bool blockreset=true)
 
void RemoveLinksMasked (const char *startedwith=nullptr, 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=nullptr, TPad *pad=nullptr, bool activate=true, int updatelevel=-1)
 
TGo4ViewPanelWhereItemDrawn (const char *itemname)
 
void HelpWindow (const char *filename, const char *msg=nullptr)
 
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=nullptr)
 
bool UpdateItemInAnalysis (const char *itemname, TObject *obj=nullptr)
 
void InformThatObjectCreated (const char *itemname, TClass *cl)
 
TGo4ServerProxyGetAnalysis (const char *itemname=nullptr)
 
void StartHotstart (const char *filename)
 
void ConnectPad (TPad *pad)
 
void CallServiceFunc (int id, const char *str=nullptr, void *par=nullptr)
 
void ServiceCall (const char *name, void *par=nullptr)
 
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=nullptr)
 
void ShootResetWidget ()
 
void ShootCloseWidget (bool closeparent=false)
 
bool IsUpdateBlocked () const
 

Detailed Description

Definition at line 33 of file TGo4MBSViewer.h.

Constructor & Destructor Documentation

◆ TGo4MBSViewer()

TGo4MBSViewer::TGo4MBSViewer ( QWidget *  parent = nullptr,
const char *  name = nullptr 
)

◆ ~TGo4MBSViewer()

TGo4MBSViewer::~TGo4MBSViewer ( )
virtual

Definition at line 113 of file TGo4MBSViewer.cpp.

References fxRunMovie.

Member Function Documentation

◆ Display

void TGo4MBSViewer::Display ( )
virtualslot

◆ FrequencyBox_valueChanged

void TGo4MBSViewer::FrequencyBox_valueChanged ( int  )
virtualslot

Definition at line 482 of file TGo4MBSViewer.cpp.

References fbTrendingInit.

Referenced by TGo4MBSViewer().

◆ IncTrending

void TGo4MBSViewer::IncTrending ( TH1 *  histo,
int  value,
bool  forwards 
)
virtualslot

Definition at line 460 of file TGo4MBSViewer.cpp.

Referenced by TrendHisto().

◆ MoreBox_toggled

void TGo4MBSViewer::MoreBox_toggled ( bool  on)
virtualslot

Definition at line 530 of file TGo4MBSViewer.cpp.

References Display(), fbShowMore, go4sett, and TGo4QSettings::setMbsMonitorMore().

Referenced by TGo4MBSViewer().

◆ NodeChanged

void TGo4MBSViewer::NodeChanged ( const QString &  txt)
virtualslot

Definition at line 357 of file TGo4MBSViewer.cpp.

References fxNode.

Referenced by TGo4MBSViewer().

◆ NodeEditEnter

void TGo4MBSViewer::NodeEditEnter ( )
virtualslot

Definition at line 351 of file TGo4MBSViewer.cpp.

References Refresh().

Referenced by TGo4MBSViewer().

◆ PrintState

void TGo4MBSViewer::PrintState ( )
virtualslot

◆ Refresh

void TGo4MBSViewer::Refresh ( )
virtualslot

◆ RefreshButtonClick

void TGo4MBSViewer::RefreshButtonClick ( )
virtualslot

Definition at line 545 of file TGo4MBSViewer.cpp.

References fbIsMonitoring, fbSingleRefresh, fbTrending, and Refresh().

Referenced by PrintState(), and TGo4MBSViewer().

◆ ResetRunIcon

void TGo4MBSViewer::ResetRunIcon ( )
virtualslot

Definition at line 566 of file TGo4MBSViewer.cpp.

References Display(), and fbRunning.

Referenced by TGo4MBSViewer().

◆ SetNode

void TGo4MBSViewer::SetNode ( const QString &  txt)
virtualslot

Definition at line 559 of file TGo4MBSViewer.cpp.

References fxNode.

Referenced by TGo4MBSViewer().

◆ ShowStatus

void TGo4MBSViewer::ShowStatus ( )
virtualslot

◆ StartMovieReset

void TGo4MBSViewer::StartMovieReset ( )
virtualslot

Definition at line 572 of file TGo4MBSViewer.cpp.

References fbIsMonitoring, and fxMovieResetTimer.

Referenced by Refresh(), and TimerStop().

◆ StateGroup_clicked

void TGo4MBSViewer::StateGroup_clicked ( int  id)
virtualslot

Definition at line 382 of file TGo4MBSViewer.cpp.

References fbGetSetML, fbGetSetMO, fbGetSetup, and fbGetStatus.

Referenced by TGo4MBSViewer().

◆ StoreSettings

void TGo4MBSViewer::StoreSettings ( )
virtualslot

◆ TimerStart

void TGo4MBSViewer::TimerStart ( )
virtualslot

◆ TimerStop

void TGo4MBSViewer::TimerStop ( )
virtualslot

Definition at line 145 of file TGo4MBSViewer.cpp.

References Display(), fbIsMonitoring, fxTimer, StartMovieReset(), and StoreSettings().

Referenced by TGo4MBSViewer().

◆ TrendBinsBox_valueChanged

void TGo4MBSViewer::TrendBinsBox_valueChanged ( int  i)
virtualslot

Definition at line 538 of file TGo4MBSViewer.cpp.

References fbTrendingInit, and fiTrendBins.

Referenced by TGo4MBSViewer().

◆ TrendHisto()

TH1 * TGo4MBSViewer::TrendHisto ( QString &  refname,
const QString &  name,
const QString &  title,
int  value 
)

◆ TrendSwitched

void TGo4MBSViewer::TrendSwitched ( bool  on)
virtualslot

◆ UpdateTrending

void TGo4MBSViewer::UpdateTrending ( )
virtualslot

Member Data Documentation

◆ fbGetSetML

bool TGo4MBSViewer::fbGetSetML {false}
protected

Definition at line 81 of file TGo4MBSViewer.h.

Referenced by PrintState(), ShowStatus(), StateGroup_clicked(), and TGo4MBSViewer().

◆ fbGetSetMO

bool TGo4MBSViewer::fbGetSetMO {false}
protected

Definition at line 101 of file TGo4MBSViewer.h.

Referenced by PrintState(), ShowStatus(), StateGroup_clicked(), and TGo4MBSViewer().

◆ fbGetSetup

bool TGo4MBSViewer::fbGetSetup {false}
protected

Definition at line 83 of file TGo4MBSViewer.h.

Referenced by PrintState(), ShowStatus(), StateGroup_clicked(), and TGo4MBSViewer().

◆ fbGetStatus

bool TGo4MBSViewer::fbGetStatus {false}
protected

Definition at line 80 of file TGo4MBSViewer.h.

Referenced by ShowStatus(), StateGroup_clicked(), and TGo4MBSViewer().

◆ fbIsMonitoring

bool TGo4MBSViewer::fbIsMonitoring {false}
protected

◆ fbRunning

bool TGo4MBSViewer::fbRunning {false}
protected

Definition at line 73 of file TGo4MBSViewer.h.

Referenced by Display(), Refresh(), ResetRunIcon(), and TGo4MBSViewer().

◆ fbShowMore

bool TGo4MBSViewer::fbShowMore {false}
protected

Definition at line 95 of file TGo4MBSViewer.h.

Referenced by Display(), MoreBox_toggled(), StoreSettings(), and TGo4MBSViewer().

◆ fbSingleRefresh

bool TGo4MBSViewer::fbSingleRefresh {false}
protected

Definition at line 68 of file TGo4MBSViewer.h.

Referenced by Display(), RefreshButtonClick(), and TGo4MBSViewer().

◆ fbTrending

bool TGo4MBSViewer::fbTrending {false}
protected

◆ fbTrendingForward

bool TGo4MBSViewer::fbTrendingForward {false}
protected

Definition at line 74 of file TGo4MBSViewer.h.

Referenced by StoreSettings(), TGo4MBSViewer(), and TrendHisto().

◆ fbTrendingInit

bool TGo4MBSViewer::fbTrendingInit {false}
protected

◆ fbWarningState

bool TGo4MBSViewer::fbWarningState {false}
protected

Definition at line 85 of file TGo4MBSViewer.h.

Referenced by Display(), PrintState(), Refresh(), ShowStatus(), and TGo4MBSViewer().

◆ fiCalcedDataRate

int TGo4MBSViewer::fiCalcedDataRate {0}
protected

Definition at line 102 of file TGo4MBSViewer.h.

Referenced by Display(), Refresh(), TGo4MBSViewer(), and UpdateTrending().

◆ fiCalcedEventRate

int TGo4MBSViewer::fiCalcedEventRate {0}
protected

Definition at line 71 of file TGo4MBSViewer.h.

Referenced by Display(), Refresh(), TGo4MBSViewer(), and UpdateTrending().

◆ fiCalcedServDataRate

int TGo4MBSViewer::fiCalcedServDataRate {0}
protected

Definition at line 104 of file TGo4MBSViewer.h.

Referenced by Refresh(), and TGo4MBSViewer().

◆ fiDataDelta

int TGo4MBSViewer::fiDataDelta {0}
protected

Definition at line 105 of file TGo4MBSViewer.h.

Referenced by Refresh().

◆ fiEvRatio

int TGo4MBSViewer::fiEvRatio {0}
protected

Definition at line 97 of file TGo4MBSViewer.h.

Referenced by Display(), Refresh(), and UpdateTrending().

◆ fiLastDataNum

int TGo4MBSViewer::fiLastDataNum {0}
protected

Definition at line 69 of file TGo4MBSViewer.h.

Referenced by Refresh(), TGo4MBSViewer(), and TimerStart().

◆ fiLastEventNum

int TGo4MBSViewer::fiLastEventNum {0}
protected

Definition at line 70 of file TGo4MBSViewer.h.

Referenced by Refresh(), TGo4MBSViewer(), and TimerStart().

◆ fiLastServDataNum

int TGo4MBSViewer::fiLastServDataNum {0}
protected

Definition at line 103 of file TGo4MBSViewer.h.

Referenced by Refresh(), TGo4MBSViewer(), and TimerStart().

◆ fiServDataDelta

int TGo4MBSViewer::fiServDataDelta {0}
protected

Definition at line 106 of file TGo4MBSViewer.h.

Referenced by Refresh().

◆ fiTrendBins

int TGo4MBSViewer::fiTrendBins {0}
protected

◆ fxDaqStat

s_daqst TGo4MBSViewer::fxDaqStat
protected

Definition at line 87 of file TGo4MBSViewer.h.

Referenced by Display(), Refresh(), ShowStatus(), and TGo4MBSViewer().

◆ fxDeltaClock

QElapsedTimer TGo4MBSViewer::fxDeltaClock
protected

Definition at line 107 of file TGo4MBSViewer.h.

Referenced by Refresh(), and TGo4MBSViewer().

◆ fxEvRatio

TH1* TGo4MBSViewer::fxEvRatio {nullptr}
protected

Definition at line 99 of file TGo4MBSViewer.h.

◆ fxHistoAccessName

QString TGo4MBSViewer::fxHistoAccessName
protected

Definition at line 78 of file TGo4MBSViewer.h.

Referenced by TGo4MBSViewer(), and UpdateTrending().

◆ fxHistoEvRatioAccessName

QString TGo4MBSViewer::fxHistoEvRatioAccessName
protected

Definition at line 98 of file TGo4MBSViewer.h.

Referenced by TGo4MBSViewer(), and UpdateTrending().

◆ fxHistokBAccessName

QString TGo4MBSViewer::fxHistokBAccessName
protected

Definition at line 75 of file TGo4MBSViewer.h.

Referenced by TGo4MBSViewer(), and UpdateTrending().

◆ fxMessage

QString TGo4MBSViewer::fxMessage
protected

Definition at line 84 of file TGo4MBSViewer.h.

Referenced by Display(), PrintState(), Refresh(), and ShowStatus().

◆ fxMovieResetTimer

QTimer* TGo4MBSViewer::fxMovieResetTimer {nullptr}
protected

Definition at line 96 of file TGo4MBSViewer.h.

Referenced by StartMovieReset(), and TGo4MBSViewer().

◆ fxNode

QString TGo4MBSViewer::fxNode
protected

Definition at line 88 of file TGo4MBSViewer.h.

Referenced by NodeChanged(), PrintState(), Refresh(), SetNode(), and StoreSettings().

◆ fxRatekBTrend

TH1* TGo4MBSViewer::fxRatekBTrend {nullptr}
protected

Definition at line 76 of file TGo4MBSViewer.h.

◆ fxRateTrend

TH1* TGo4MBSViewer::fxRateTrend {nullptr}
protected

Definition at line 93 of file TGo4MBSViewer.h.

◆ fxRefTime

QString TGo4MBSViewer::fxRefTime
protected

Definition at line 82 of file TGo4MBSViewer.h.

Referenced by Display(), and Refresh().

◆ fxRunMovie

QMovie* TGo4MBSViewer::fxRunMovie {nullptr}
protected

Definition at line 92 of file TGo4MBSViewer.h.

Referenced by Display(), TGo4MBSViewer(), and ~TGo4MBSViewer().

◆ fxServerLabel

QString TGo4MBSViewer::fxServerLabel
protected

Definition at line 100 of file TGo4MBSViewer.h.

Referenced by Display(), Refresh(), TGo4MBSViewer(), and UpdateTrending().

◆ fxSetup

s_setup TGo4MBSViewer::fxSetup
protected

Definition at line 90 of file TGo4MBSViewer.h.

Referenced by PrintState(), and ShowStatus().

◆ fxSetupML

s_set_ml TGo4MBSViewer::fxSetupML
protected

Definition at line 91 of file TGo4MBSViewer.h.

Referenced by PrintState(), and ShowStatus().

◆ fxSetupMO

s_set_mo TGo4MBSViewer::fxSetupMO
protected

Definition at line 72 of file TGo4MBSViewer.h.

Referenced by PrintState(), and ShowStatus().

◆ fxTimer

QTimer* TGo4MBSViewer::fxTimer {nullptr}
protected

Definition at line 89 of file TGo4MBSViewer.h.

Referenced by TGo4MBSViewer(), TimerStart(), and TimerStop().

◆ StateGroup

QButtonGroup* TGo4MBSViewer::StateGroup {nullptr}
protected

Definition at line 108 of file TGo4MBSViewer.h.


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