GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4MBSViewer Class Reference

#include <TGo4MBSViewer.h>

+ Inheritance diagram for TGo4MBSViewer:

Public Slots

virtual void Display ()
 
virtual void FrequencyBox_valueChanged (int)
 
virtual void IncTrending (TH1 *histo, int value, bool forwards)
 
virtual void MoreBox_toggled (bool on)
 
virtual void NodeChanged (const QString &txt)
 
virtual void NodeEditEnter ()
 
virtual void PrintState ()
 
virtual void Refresh ()
 
virtual void RefreshButtonClick ()
 
virtual void ResetRunIcon ()
 
virtual void SetNode (const QString &txt)
 
virtual void ShowStatus ()
 
virtual void StartMovieReset ()
 
virtual void StateGroup_clicked (int id)
 
virtual void StoreSettings ()
 
virtual void TimerStart ()
 
virtual void TimerStop ()
 
virtual void TrendBinsBox_valueChanged (int i)
 
virtual void TrendSwitched (bool on)
 
virtual void UpdateTrending ()
 
- 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 void DropItem (const char *itemname, TClass *cl, int kind)
 
virtual bool IsAcceptDrag (const char *itemname, TClass *cl, int kind)
 
void ObjectCreatedByWidget (const char *itemname, TClass *cl)
 
void ProcessSignal (const char *linkname, bool assigned, TObject *obj, TGo4Slot *slot)
 
virtual void ResetWidget ()
 

Protected Attributes

bool fbGetSetML {false}
 
bool fbGetSetMO {false}
 
bool fbGetSetup {false}
 
bool fbGetStatus {false}
 
bool fbIsMonitoring {false}
 
bool fbRunning {false}
 
bool fbShowMore {false}
 
bool fbSingleRefresh {false}
 
bool fbTrending {false}
 
bool fbTrendingForward {false}
 
bool fbTrendingInit {false}
 
bool fbWarningState {false}
 
int fiCalcedDataRate {0}
 
int fiCalcedEventRate {0}
 
int fiCalcedServDataRate {0}
 
int fiDataDelta {0}
 
int fiEvRatio {0}
 
int fiLastDataNum {0}
 
int fiLastEventNum {0}
 
int fiLastServDataNum {0}
 
int fiServDataDelta {0}
 
int fiTrendBins {0}
 
s_daqst fxDaqStat
 
QElapsedTimer fxDeltaClock
 
TH1 * fxEvRatio {nullptr}
 
QString fxHistoAccessName
 
QString fxHistoEvRatioAccessName
 
QString fxHistokBAccessName
 
QString fxMessage
 
QTimer * fxMovieResetTimer {nullptr}
 
QString fxNode
 
TH1 * fxRatekBTrend {nullptr}
 
TH1 * fxRateTrend {nullptr}
 
QString fxRefTime
 
QMovie * fxRunMovie {nullptr}
 
QString fxServerLabel
 
s_setup fxSetup
 
s_set_ml fxSetupML
 
s_set_mo fxSetupMO
 
QTimer * fxTimer {nullptr}
 
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 QIcon &icon, const QString &text, int id, int enabled=-1, int checked=-1)
 
static QAction * AddIdAction (QMenu *menu, QSignalMapper *map, 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 AddLink (const char *itemname, const char *linkname)
 create link for item with name linkname
 
TGo4SlotAddLink (const char *itemname, TGo4Slot *parent)
 create link for item in dedicated slot parent
 
void AddLink (TGo4Slot *slot, const char *linkname)
 create link for object in slot with name linkname
 
TGo4SlotAddSlot (const char *slotname)
 add slot with specific name to widget top folder
 
void AskToCreateObject (TClass *cl, int isremote)
 Function call dialog to create object of appropriate class isremote == 0 - object should be created localy and widget will be informed isremote == 1 - object should be created on analysis side and widget should be informed isremote == -1 - activate creation dialog without restriction (remote or local), widget will not be informed.
 
TGo4BrowserProxyBrowser ()
 
bool BrowserItemRemote (const char *itemname)
 
void CallPanelFunc (int id, TPad *pad=nullptr)
 
void CallServiceFunc (int id, const char *str=nullptr, void *par=nullptr)
 
void closeEvent (QCloseEvent *e) override
 
void ConnectPad (TPad *pad)
 connect pad axis change signals to react on such signals
 
TGo4ViewPanelCreateViewPanel (int ndiv=0)
 
void dragEnterEvent (QDragEnterEvent *e) override
 
void dragMoveEvent (QDragMoveEvent *e) override
 
TGo4ViewPanelDrawItem (const QString &itemname, TGo4ViewPanel *panel=nullptr, TPad *pad=nullptr, bool activate=true, int updatelevel=-1)
 
void dropEvent (QDropEvent *e) override
 
void EditItem (const QString &itemname)
 
void EditObjectInSlot (TGo4Slot *slot)
 
TGo4ServerProxyGetAnalysis (const char *itemname=nullptr)
 
TObject * GetLinked (const char *linkname, int updatelevel=0)
 
template<class T>
T * GetLinkedCast (const char *linkname, int updatelevel=0)
 
const char * GetLinkedName (const char *linkname)
 returns name of item, which was linked with linkname
 
const char * GetLinkedName (TGo4Slot *slot)
 returns name of item, which was linked in that slot
 
TGo4SlotGetTopSlot (bool force=false)
 return top slot of structure, corresponding to this widget
 
void HelpWindow (const char *filename, const char *msg=nullptr)
 
void InformThatObjectCreated (const char *itemname, TClass *cl)
 
bool IsUpdateBlocked () const
 
TGo4ViewPanelLastActivePanel ()
 
virtual void linkedObjectRemoved (const char *linkname)
 
virtual void linkedObjectUpdated (const char *linkname, TObject *obj)
 
virtual void linkedRemoved (TGo4Slot *slot, TObject *obj)
 
virtual void linkedUpdated (TGo4Slot *slot, TObject *obj)
 
void RemoveAllLinks (bool blockreset=true)
 
void RemoveLink (const char *linkname, bool blockreset=true)
 
void RemoveLinksMasked (const char *startedwith=nullptr, bool blockreset=true)
 
virtual void requestedObjectCreated (const char *itemname, TClass *cl)
 
bool SaveItemToFile (const char *itemname, const char *subfolder=nullptr)
 
QString SaveObjectInMemory (const char *foldername, TObject *obj)
 
void ServiceCall (const char *name, void *par=nullptr)
 
void setCanDestroyWidget (bool on=true)
 
void SetLinkedName (TGo4Slot *slot, const char *itemname)
 set name of item, which was linked by this slot
 
void ShootCloseWidget (bool closeparent=false)
 
void ShootResetWidget ()
 
void ShowItemInfo (const QString &itemname)
 
void StartHotstart (const char *filename)
 
void StatusMessage (const QString &message)
 
void UndrawItem (const char *itemname)
 
bool UpdateItemInAnalysis (const char *itemname, TObject *obj=nullptr)
 
TGo4ViewPanelWhereItemDrawn (const char *itemname)
 

Detailed Description

Definition at line 33 of file TGo4MBSViewer.h.

Constructor & Destructor Documentation

◆ TGo4MBSViewer()

◆ ~TGo4MBSViewer()

TGo4MBSViewer::~TGo4MBSViewer ( )
virtual

Definition at line 113 of file TGo4MBSViewer.cpp.

References fxRunMovie.

Member Function Documentation

◆ Display

◆ 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, and go4sett.

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

◆ RefreshButtonClick

void TGo4MBSViewer::RefreshButtonClick ( )
virtualslot

Definition at line 545 of file TGo4MBSViewer.cpp.

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

Referenced by TGo4MBSViewer(), and PrintState().

◆ 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(), and TGo4MainWindow::ToggleMbsMonitor().

◆ 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

Definition at line 119 of file TGo4MBSViewer.cpp.

References fbIsMonitoring, fbShowMore, fbTrending, fbTrendingForward, fiTrendBins, fxNode, and go4sett.

Referenced by TimerStart(), and TimerStop().

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

◆ TrendSwitched

void TGo4MBSViewer::TrendSwitched ( bool on)
virtualslot

Definition at line 442 of file TGo4MBSViewer.cpp.

References Display(), fbTrending, fbTrendingInit, and go4sett.

Referenced by TGo4MBSViewer().

◆ UpdateTrending

void TGo4MBSViewer::UpdateTrending ( )
virtualslot

Field Documentation

◆ fbGetSetML

bool TGo4MBSViewer::fbGetSetML {false}
protected

Definition at line 81 of file TGo4MBSViewer.h.

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

◆ fbGetSetMO

bool TGo4MBSViewer::fbGetSetMO {false}
protected

Definition at line 101 of file TGo4MBSViewer.h.

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

◆ fbGetSetup

bool TGo4MBSViewer::fbGetSetup {false}
protected

Definition at line 83 of file TGo4MBSViewer.h.

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

◆ fbGetStatus

bool TGo4MBSViewer::fbGetStatus {false}
protected

Definition at line 80 of file TGo4MBSViewer.h.

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

◆ fbIsMonitoring

bool TGo4MBSViewer::fbIsMonitoring {false}
protected

◆ fbRunning

bool TGo4MBSViewer::fbRunning {false}
protected

Definition at line 73 of file TGo4MBSViewer.h.

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

◆ fbShowMore

bool TGo4MBSViewer::fbShowMore {false}
protected

Definition at line 95 of file TGo4MBSViewer.h.

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

◆ fbSingleRefresh

bool TGo4MBSViewer::fbSingleRefresh {false}
protected

Definition at line 68 of file TGo4MBSViewer.h.

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

◆ fbTrending

bool TGo4MBSViewer::fbTrending {false}
protected

◆ fbTrendingForward

bool TGo4MBSViewer::fbTrendingForward {false}
protected

Definition at line 74 of file TGo4MBSViewer.h.

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

◆ fbTrendingInit

bool TGo4MBSViewer::fbTrendingInit {false}
protected

◆ fbWarningState

bool TGo4MBSViewer::fbWarningState {false}
protected

Definition at line 85 of file TGo4MBSViewer.h.

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

◆ fiCalcedDataRate

int TGo4MBSViewer::fiCalcedDataRate {0}
protected

Definition at line 102 of file TGo4MBSViewer.h.

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

◆ fiCalcedEventRate

int TGo4MBSViewer::fiCalcedEventRate {0}
protected

Definition at line 71 of file TGo4MBSViewer.h.

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

◆ fiCalcedServDataRate

int TGo4MBSViewer::fiCalcedServDataRate {0}
protected

Definition at line 104 of file TGo4MBSViewer.h.

Referenced by TGo4MBSViewer(), and Refresh().

◆ 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 TGo4MBSViewer(), Refresh(), and TimerStart().

◆ fiLastEventNum

int TGo4MBSViewer::fiLastEventNum {0}
protected

Definition at line 70 of file TGo4MBSViewer.h.

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

◆ fiLastServDataNum

int TGo4MBSViewer::fiLastServDataNum {0}
protected

Definition at line 103 of file TGo4MBSViewer.h.

Referenced by TGo4MBSViewer(), Refresh(), 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 TGo4MBSViewer(), Display(), Refresh(), and ShowStatus().

◆ fxDeltaClock

QElapsedTimer TGo4MBSViewer::fxDeltaClock
protected

Definition at line 107 of file TGo4MBSViewer.h.

Referenced by TGo4MBSViewer(), and Refresh().

◆ 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 TGo4MBSViewer(), and StartMovieReset().

◆ 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 TGo4MBSViewer(), ~TGo4MBSViewer(), and Display().

◆ fxServerLabel

QString TGo4MBSViewer::fxServerLabel
protected

Definition at line 100 of file TGo4MBSViewer.h.

Referenced by TGo4MBSViewer(), Display(), Refresh(), 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: