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

#include <TGo4ConfigStep.h>

+ Inheritance diagram for TGo4ConfigStep:

Public Slots

virtual void ChangeEventInterval (int num)
 
virtual void ChangeSourceTimeout (int tim)
 
virtual void ChangeStartEvent (int num)
 
virtual void ChangeStopEvent (int num)
 
virtual void ExtraBtn_clicked ()
 
virtual void InputArguments (const QString &Arg)
 
virtual void InputFileDialog ()
 
virtual void InputPortChanged (int)
 
virtual void InputSourceText (const QString &Name)
 
virtual void InputStateChanged (int)
 
virtual void InputTagfile (const QString &tag)
 
virtual void MbsMonitorBtn_clicked ()
 
virtual void OutputFileDialog ()
 
virtual void OutputNameText (const QString &Name)
 
virtual void OutputStateChanged (int)
 
virtual void RetryCntChanged (int)
 
virtual void SourceComboHighlighted (int kind)
 
virtual void StepStateChanged (int)
 
virtual void StoreBufferSize (int t)
 
virtual void StoreComboHighlighted (int k)
 
virtual void StoreCompLevel (int t)
 
virtual void StoreOverWrite (bool overwrite)
 
virtual void StoreSplitLevel (int t)
 
virtual void StoreTreeAutoSave (int t)
 

Public Member Functions

 TGo4ConfigStep (QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags fl=Qt::Widget)
 
virtual ~TGo4ConfigStep ()
 
virtual void GetBackStore (int &bufsize, int &splitlevel)
 
virtual QString GetBackStoreName ()
 
virtual void GetFileStore (bool &overwrite, int &bufsize, int &splitlevel, int &compression, int &autosaveinterval)
 
virtual void GetHDF5Store (int &flags)
 
virtual void GetMbsFileSource (QString &TagFile)
 
virtual int GetSourceSetup (QString &name, int &timeout, int &start, int &stop, int &interval, int &port, int &nretry)
 
virtual void GetStepControl (bool &process, bool &source, bool &store)
 
virtual QString GetStepName ()
 
virtual int GetStoreSetup (QString &name)
 
virtual QString GetTabTitle ()
 
virtual void GetUserSource (int &port, QString &expr)
 
virtual void SetBackStore (QString name, int bufsize, int splitlevel)
 
virtual void SetFileSource ()
 
virtual void SetFileStore (QString name, bool overwrite, int bufsize, int splitlevel, int compression, int autosave=0)
 
virtual void SetHDF5Source (QString name)
 
virtual void SetHDF5Store (QString name, int flags)
 
virtual void SetMbsEventServerSource ()
 
virtual void SetMbsFileSource (const QString &TagFile)
 
virtual void SetMbsPort (int port)
 
virtual void SetMbsRetryCnt (int retry)
 
virtual void SetMbsRevServSource (int port)
 
virtual void SetMbsSourceWidgets (int start, int stop, int interval, int port=0)
 
virtual void SetMbsStreamSource ()
 
virtual void SetMbsTransportSource ()
 
virtual void SetRandomSource ()
 
virtual void SetSourceWidgets (const QString &name, int timeout)
 
virtual void SetStepControl (bool process, bool source, bool store)
 
virtual void SetStepStatus (TGo4AnalysisConfiguration *panel, TGo4AnalysisStepStatus *StepStatus, int number=-1)
 
virtual void SetUserSource (int port, QString expr)
 
virtual void SetUserStore (QString name)
 

Protected Types

enum  { ParsSize = 9 }
 

Protected Member Functions

void ChangeSourceParameter (int kind)
 
int CurrentSourceKind ()
 

Protected Attributes

int fBlocked {0}
 
bool fExtra {false}
 
int fLastSrcKind {0}
 
TGo4EventSourceParameterfPars [ParsSize] = { nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr }
 
int fStepNumber {0}
 
TGo4AnalysisStepStatusfStepStatus {nullptr}
 
TGo4AnalysisConfigurationfxPanel {nullptr}
 

Detailed Description

Definition at line 24 of file TGo4ConfigStep.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
ParsSize 

Definition at line 97 of file TGo4ConfigStep.h.

Constructor & Destructor Documentation

◆ TGo4ConfigStep()

◆ ~TGo4ConfigStep()

TGo4ConfigStep::~TGo4ConfigStep ( )
virtual

Definition at line 134 of file TGo4ConfigStep.cpp.

References fPars, and ParsSize.

Member Function Documentation

◆ ChangeEventInterval

void TGo4ConfigStep::ChangeEventInterval ( int num)
virtualslot

Definition at line 803 of file TGo4ConfigStep.cpp.

References fBlocked, fStepStatus, and TGo4MbsSourceParameter::SetEventInterval().

Referenced by TGo4ConfigStep().

◆ ChangeSourceParameter()

◆ ChangeSourceTimeout

void TGo4ConfigStep::ChangeSourceTimeout ( int tim)
virtualslot

Definition at line 813 of file TGo4ConfigStep.cpp.

References fBlocked, fStepStatus, and TGo4EventSourceParameter::SetTimeout().

Referenced by TGo4ConfigStep().

◆ ChangeStartEvent

void TGo4ConfigStep::ChangeStartEvent ( int num)
virtualslot

Definition at line 783 of file TGo4ConfigStep.cpp.

References fBlocked, fStepStatus, and TGo4MbsSourceParameter::SetStartEvent().

Referenced by TGo4ConfigStep().

◆ ChangeStopEvent

void TGo4ConfigStep::ChangeStopEvent ( int num)
virtualslot

Definition at line 793 of file TGo4ConfigStep.cpp.

References fBlocked, fStepStatus, and TGo4MbsSourceParameter::SetStopEvent().

Referenced by TGo4ConfigStep().

◆ CurrentSourceKind()

◆ ExtraBtn_clicked

void TGo4ConfigStep::ExtraBtn_clicked ( )
virtualslot

Definition at line 1127 of file TGo4ConfigStep.cpp.

References fBlocked, fExtra, and SourceComboHighlighted().

Referenced by TGo4ConfigStep().

◆ GetBackStore()

void TGo4ConfigStep::GetBackStore ( int & bufsize,
int & splitlevel )
virtual

Definition at line 1108 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::ProduceScript().

◆ GetBackStoreName()

QString TGo4ConfigStep::GetBackStoreName ( )
virtual

Definition at line 1084 of file TGo4ConfigStep.cpp.

References GetStepName().

Referenced by GetStoreSetup(), SetBackStore(), and StoreComboHighlighted().

◆ GetFileStore()

void TGo4ConfigStep::GetFileStore ( bool & overwrite,
int & bufsize,
int & splitlevel,
int & compression,
int & autosaveinterval )
virtual

Definition at line 1099 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::ProduceScript().

◆ GetHDF5Store()

void TGo4ConfigStep::GetHDF5Store ( int & flags)
virtual

Definition at line 1114 of file TGo4ConfigStep.cpp.

References GO4_H5F_ACC_TRUNC.

Referenced by TGo4Script::ProduceScript().

◆ GetMbsFileSource()

void TGo4ConfigStep::GetMbsFileSource ( QString & TagFile)
virtual

Definition at line 1004 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::ProduceScript().

◆ GetSourceSetup()

int TGo4ConfigStep::GetSourceSetup ( QString & name,
int & timeout,
int & start,
int & stop,
int & interval,
int & port,
int & nretry )
virtual

◆ GetStepControl()

void TGo4ConfigStep::GetStepControl ( bool & process,
bool & source,
bool & store )
virtual

Definition at line 903 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::ProduceScript().

◆ GetStepName()

QString TGo4ConfigStep::GetStepName ( )
virtual

◆ GetStoreSetup()

int TGo4ConfigStep::GetStoreSetup ( QString & name)
virtual

Definition at line 1091 of file TGo4ConfigStep.cpp.

References GetBackStoreName().

Referenced by TGo4Script::ProduceScript().

◆ GetTabTitle()

QString TGo4ConfigStep::GetTabTitle ( )
virtual

◆ GetUserSource()

void TGo4ConfigStep::GetUserSource ( int & port,
QString & expr )
virtual

Definition at line 1010 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::ProduceScript().

◆ InputArguments

void TGo4ConfigStep::InputArguments ( const QString & Arg)
virtualslot

◆ InputFileDialog

void TGo4ConfigStep::InputFileDialog ( )
virtualslot

Definition at line 822 of file TGo4ConfigStep.cpp.

References fStepStatus, fxPanel, TGo4MbsFile__fgcFILELISTSUF, and TGo4MbsFile__fgcLMDSUF.

Referenced by TGo4ConfigStep().

◆ InputPortChanged

◆ InputSourceText

void TGo4ConfigStep::InputSourceText ( const QString & Name)
virtualslot

Definition at line 222 of file TGo4ConfigStep.cpp.

References fBlocked, fStepStatus, kind_MbsFile, and TGo4MbsFile__fgcFILELISTSUF.

Referenced by TGo4ConfigStep().

◆ InputStateChanged

void TGo4ConfigStep::InputStateChanged ( int )
virtualslot

Definition at line 154 of file TGo4ConfigStep.cpp.

References fStepNumber, fStepStatus, and fxPanel.

Referenced by TGo4ConfigStep(), and StepStateChanged().

◆ InputTagfile

void TGo4ConfigStep::InputTagfile ( const QString & tag)
virtualslot

◆ MbsMonitorBtn_clicked

void TGo4ConfigStep::MbsMonitorBtn_clicked ( )
virtualslot

Definition at line 1121 of file TGo4ConfigStep.cpp.

References fxPanel.

Referenced by TGo4ConfigStep().

◆ OutputFileDialog

void TGo4ConfigStep::OutputFileDialog ( )
virtualslot

Definition at line 675 of file TGo4ConfigStep.cpp.

References fStepStatus, and fxPanel.

Referenced by TGo4ConfigStep().

◆ OutputNameText

void TGo4ConfigStep::OutputNameText ( const QString & Name)
virtualslot

Definition at line 259 of file TGo4ConfigStep.cpp.

References fStepStatus.

Referenced by TGo4ConfigStep().

◆ OutputStateChanged

void TGo4ConfigStep::OutputStateChanged ( int )
virtualslot

Definition at line 240 of file TGo4ConfigStep.cpp.

References fStepNumber, fStepStatus, and fxPanel.

Referenced by TGo4ConfigStep(), and StepStateChanged().

◆ RetryCntChanged

void TGo4ConfigStep::RetryCntChanged ( int cnt)
virtualslot

◆ SetBackStore()

void TGo4ConfigStep::SetBackStore ( QString name,
int bufsize,
int splitlevel )
virtual

Definition at line 1034 of file TGo4ConfigStep.cpp.

References GetBackStoreName(), and StoreComboHighlighted().

Referenced by SetStepStatus(), and TGo4Script::StepBackStore().

◆ SetFileSource()

void TGo4ConfigStep::SetFileSource ( )
virtual

Definition at line 910 of file TGo4ConfigStep.cpp.

References kind_RootFile.

Referenced by TGo4Script::StepFileSource().

◆ SetFileStore()

void TGo4ConfigStep::SetFileStore ( QString name,
bool overwrite,
int bufsize,
int splitlevel,
int compression,
int autosave = 0 )
virtual

Definition at line 1016 of file TGo4ConfigStep.cpp.

References StoreComboHighlighted().

Referenced by SetStepStatus(), and TGo4Script::StepFileStore().

◆ SetHDF5Source()

void TGo4ConfigStep::SetHDF5Source ( QString name)
virtual

Definition at line 970 of file TGo4ConfigStep.cpp.

References kind_HDF5.

Referenced by TGo4Script::StepHDF5Source().

◆ SetHDF5Store()

void TGo4ConfigStep::SetHDF5Store ( QString name,
int flags )
virtual

Definition at line 1064 of file TGo4ConfigStep.cpp.

References GO4_H5F_ACC_TRUNC, and StoreComboHighlighted().

Referenced by SetStepStatus(), and TGo4Script::StepHDF5Store().

◆ SetMbsEventServerSource()

void TGo4ConfigStep::SetMbsEventServerSource ( )
virtual

Definition at line 935 of file TGo4ConfigStep.cpp.

References kind_MbsEvent.

Referenced by TGo4Script::StepMbsEventServerSource().

◆ SetMbsFileSource()

void TGo4ConfigStep::SetMbsFileSource ( const QString & TagFile)
virtual

Definition at line 915 of file TGo4ConfigStep.cpp.

References kind_MbsFile, and TGo4MbsFile__fgcNOTAGFILE.

Referenced by TGo4Script::StepMbsFileSource().

◆ SetMbsPort()

void TGo4ConfigStep::SetMbsPort ( int port)
virtual

Definition at line 947 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::StepMbsPort().

◆ SetMbsRetryCnt()

void TGo4ConfigStep::SetMbsRetryCnt ( int retry)
virtual

Definition at line 952 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::StepMbsRetryCnt().

◆ SetMbsRevServSource()

void TGo4ConfigStep::SetMbsRevServSource ( int port)
virtual

Definition at line 940 of file TGo4ConfigStep.cpp.

References kind_MbsREvent.

Referenced by TGo4Script::StepMbsRevServSource().

◆ SetMbsSourceWidgets()

void TGo4ConfigStep::SetMbsSourceWidgets ( int start,
int stop,
int interval,
int port = 0 )
virtual

◆ SetMbsStreamSource()

void TGo4ConfigStep::SetMbsStreamSource ( )
virtual

Definition at line 925 of file TGo4ConfigStep.cpp.

References kind_MbsStream.

Referenced by TGo4Script::StepMbsStreamSource().

◆ SetMbsTransportSource()

void TGo4ConfigStep::SetMbsTransportSource ( )
virtual

Definition at line 930 of file TGo4ConfigStep.cpp.

References kind_MbsTransport.

Referenced by TGo4Script::StepMbsTransportSource().

◆ SetRandomSource()

void TGo4ConfigStep::SetRandomSource ( )
virtual

Definition at line 957 of file TGo4ConfigStep.cpp.

References kind_MbsRandom.

Referenced by TGo4Script::StepRandomSource().

◆ SetSourceWidgets()

◆ SetStepControl()

void TGo4ConfigStep::SetStepControl ( bool process,
bool source,
bool store )
virtual

Definition at line 894 of file TGo4ConfigStep.cpp.

References StepStateChanged().

Referenced by TGo4Script::ConfigStep(), and SetStepStatus().

◆ SetStepStatus()

◆ SetUserSource()

void TGo4ConfigStep::SetUserSource ( int port,
QString expr )
virtual

Definition at line 962 of file TGo4ConfigStep.cpp.

References kind_UserSource.

Referenced by TGo4Script::StepUserSource().

◆ SetUserStore()

void TGo4ConfigStep::SetUserStore ( QString name)
virtual

Definition at line 1049 of file TGo4ConfigStep.cpp.

References StoreComboHighlighted().

Referenced by SetStepStatus(), and TGo4Script::StepUserStore().

◆ SourceComboHighlighted

◆ StepStateChanged

void TGo4ConfigStep::StepStateChanged ( int )
virtualslot

◆ StoreBufferSize

void TGo4ConfigStep::StoreBufferSize ( int t)
virtualslot

◆ StoreComboHighlighted

void TGo4ConfigStep::StoreComboHighlighted ( int k)
virtualslot

◆ StoreCompLevel

void TGo4ConfigStep::StoreCompLevel ( int t)
virtualslot

Definition at line 733 of file TGo4ConfigStep.cpp.

References fStepStatus, and TGo4FileStoreParameter::SetCompression().

Referenced by TGo4ConfigStep().

◆ StoreOverWrite

void TGo4ConfigStep::StoreOverWrite ( bool overwrite)
virtualslot

◆ StoreSplitLevel

void TGo4ConfigStep::StoreSplitLevel ( int t)
virtualslot

◆ StoreTreeAutoSave

void TGo4ConfigStep::StoreTreeAutoSave ( int t)
virtualslot

Definition at line 757 of file TGo4ConfigStep.cpp.

References fStepStatus, and TGo4FileStoreParameter::SetAutosaveSize().

Referenced by TGo4ConfigStep().

Field Documentation

◆ fBlocked

◆ fExtra

bool TGo4ConfigStep::fExtra {false}
protected

Definition at line 95 of file TGo4ConfigStep.h.

Referenced by TGo4ConfigStep(), ExtraBtn_clicked(), and SourceComboHighlighted().

◆ fLastSrcKind

int TGo4ConfigStep::fLastSrcKind {0}
protected

Definition at line 93 of file TGo4ConfigStep.h.

Referenced by TGo4ConfigStep(), ChangeSourceParameter(), and SetStepStatus().

◆ fPars

TGo4EventSourceParameter* TGo4ConfigStep::fPars[ParsSize] = { nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr }
protected

Definition at line 100 of file TGo4ConfigStep.h.

Referenced by TGo4ConfigStep(), ~TGo4ConfigStep(), and ChangeSourceParameter().

◆ fStepNumber

int TGo4ConfigStep::fStepNumber {0}
protected

◆ fStepStatus

◆ fxPanel


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