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

#include <TGo4ConfigStep.h>

+ Inheritance diagram for TGo4ConfigStep:

Public Slots

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

Public Member Functions

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

Protected Types

enum  { ParsSize = 9 }
 

Protected Member Functions

void ChangeSourceParameter (int kind)
 
int CurrentSourceKind ()
 

Protected Attributes

TGo4AnalysisConfigurationfxPanel {nullptr}
 
TGo4AnalysisStepStatusfStepStatus {nullptr}
 
int fStepNumber {0}
 
int fLastSrcKind {0}
 
int fBlocked {0}
 
bool fExtra {false}
 
TGo4EventSourceParameterfPars [ParsSize] = { nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, 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 ( QWidget *  parent = nullptr,
const char *  name = nullptr,
Qt::WindowFlags  fl = Qt::Widget 
)

◆ ~TGo4ConfigStep()

TGo4ConfigStep::~TGo4ConfigStep ( )
virtual

Definition at line 128 of file TGo4ConfigStep.cpp.

References fPars, and ParsSize.

Member Function Documentation

◆ ChangeEventInterval

void TGo4ConfigStep::ChangeEventInterval ( int  num)
virtualslot

◆ ChangeSourceParameter()

void TGo4ConfigStep::ChangeSourceParameter ( int  kind)
protected

◆ ChangeSourceTimeout

void TGo4ConfigStep::ChangeSourceTimeout ( int  tim)
virtualslot

◆ ChangeStartEvent

void TGo4ConfigStep::ChangeStartEvent ( int  num)
virtualslot

◆ ChangeStopEvent

void TGo4ConfigStep::ChangeStopEvent ( int  num)
virtualslot

◆ CurrentSourceKind()

int TGo4ConfigStep::CurrentSourceKind ( )
protected

◆ ExtraBtn_clicked

void TGo4ConfigStep::ExtraBtn_clicked ( )
virtualslot

Definition at line 1121 of file TGo4ConfigStep.cpp.

References fBlocked, fExtra, and SourceComboHighlighted().

Referenced by TGo4ConfigStep().

◆ GetBackStore()

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

Definition at line 1102 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::ProduceScript().

◆ GetBackStoreName()

QString TGo4ConfigStep::GetBackStoreName ( )
virtual

Definition at line 1078 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 1093 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::ProduceScript().

◆ GetHDF5Store()

void TGo4ConfigStep::GetHDF5Store ( int &  flags)
virtual

Definition at line 1108 of file TGo4ConfigStep.cpp.

References GO4_H5F_ACC_TRUNC.

Referenced by TGo4Script::ProduceScript().

◆ GetMbsFileSource()

void TGo4ConfigStep::GetMbsFileSource ( QString &  TagFile)
virtual

Definition at line 998 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 897 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::ProduceScript().

◆ GetStepName()

QString TGo4ConfigStep::GetStepName ( )
virtual

◆ GetStoreSetup()

int TGo4ConfigStep::GetStoreSetup ( QString &  name)
virtual

Definition at line 1085 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 1004 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::ProduceScript().

◆ InputArguments

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

◆ InputFileDialog

void TGo4ConfigStep::InputFileDialog ( )
virtualslot

◆ InputPortChanged

void TGo4ConfigStep::InputPortChanged ( int  port)
virtualslot

◆ InputSourceText

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

◆ InputStateChanged

void TGo4ConfigStep::InputStateChanged ( int  )
virtualslot

◆ InputTagfile

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

◆ MbsMonitorBtn_clicked

void TGo4ConfigStep::MbsMonitorBtn_clicked ( )
virtualslot

Definition at line 1115 of file TGo4ConfigStep.cpp.

References TGo4AnalysisConfiguration::DisplayMbsMonitor(), and fxPanel.

Referenced by TGo4ConfigStep().

◆ OutputFileDialog

void TGo4ConfigStep::OutputFileDialog ( )
virtualslot

◆ OutputNameText

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

Definition at line 253 of file TGo4ConfigStep.cpp.

References fStepStatus, and TGo4AnalysisStepStatus::GetStorePar().

Referenced by TGo4ConfigStep().

◆ OutputStateChanged

void TGo4ConfigStep::OutputStateChanged ( int  )
virtualslot

◆ RetryCntChanged

void TGo4ConfigStep::RetryCntChanged ( int  cnt)
virtualslot

◆ SetBackStore()

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

Definition at line 1028 of file TGo4ConfigStep.cpp.

References GetBackStoreName(), and StoreComboHighlighted().

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

◆ SetFileSource()

void TGo4ConfigStep::SetFileSource ( )
virtual

Definition at line 904 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 1010 of file TGo4ConfigStep.cpp.

References StoreComboHighlighted().

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

◆ SetHDF5Source()

void TGo4ConfigStep::SetHDF5Source ( QString  name)
virtual

Definition at line 964 of file TGo4ConfigStep.cpp.

References kind_HDF5.

Referenced by TGo4Script::StepHDF5Source().

◆ SetHDF5Store()

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

Definition at line 1058 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 929 of file TGo4ConfigStep.cpp.

References kind_MbsEvent.

Referenced by TGo4Script::StepMbsEventServerSource().

◆ SetMbsFileSource()

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

Definition at line 909 of file TGo4ConfigStep.cpp.

References kind_MbsFile, and TGo4MbsFile__fgcNOTAGFILE.

Referenced by TGo4Script::StepMbsFileSource().

◆ SetMbsPort()

void TGo4ConfigStep::SetMbsPort ( int  port)
virtual

Definition at line 941 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::StepMbsPort().

◆ SetMbsRetryCnt()

void TGo4ConfigStep::SetMbsRetryCnt ( int  retry)
virtual

Definition at line 946 of file TGo4ConfigStep.cpp.

Referenced by TGo4Script::StepMbsRetryCnt().

◆ SetMbsRevServSource()

void TGo4ConfigStep::SetMbsRevServSource ( int  port)
virtual

Definition at line 934 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 919 of file TGo4ConfigStep.cpp.

References kind_MbsStream.

Referenced by TGo4Script::StepMbsStreamSource().

◆ SetMbsTransportSource()

void TGo4ConfigStep::SetMbsTransportSource ( )
virtual

Definition at line 924 of file TGo4ConfigStep.cpp.

References kind_MbsTransport.

Referenced by TGo4Script::StepMbsTransportSource().

◆ SetRandomSource()

void TGo4ConfigStep::SetRandomSource ( )
virtual

Definition at line 951 of file TGo4ConfigStep.cpp.

References kind_MbsRandom.

Referenced by TGo4Script::StepRandomSource().

◆ SetSourceWidgets()

void TGo4ConfigStep::SetSourceWidgets ( const QString &  name,
int  timeout 
)
virtual

◆ SetStepControl()

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

Definition at line 888 of file TGo4ConfigStep.cpp.

References StepStateChanged().

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

◆ SetStepStatus()

void TGo4ConfigStep::SetStepStatus ( TGo4AnalysisConfiguration panel,
TGo4AnalysisStepStatus StepStatus,
int  number = -1 
)
virtual

◆ SetUserSource()

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

Definition at line 956 of file TGo4ConfigStep.cpp.

References kind_UserSource.

Referenced by TGo4Script::StepUserSource().

◆ SetUserStore()

void TGo4ConfigStep::SetUserStore ( QString  name)
virtual

Definition at line 1043 of file TGo4ConfigStep.cpp.

References StoreComboHighlighted().

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

◆ SourceComboHighlighted

void TGo4ConfigStep::SourceComboHighlighted ( int  kind)
virtualslot

◆ 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

◆ StoreOverWrite

void TGo4ConfigStep::StoreOverWrite ( bool  overwrite)
virtualslot

◆ StoreSplitLevel

void TGo4ConfigStep::StoreSplitLevel ( int  t)
virtualslot

◆ StoreTreeAutoSave

void TGo4ConfigStep::StoreTreeAutoSave ( int  t)
virtualslot

Member Data Documentation

◆ fBlocked

int TGo4ConfigStep::fBlocked {0}
protected

◆ fExtra

bool TGo4ConfigStep::fExtra {false}
protected

Definition at line 95 of file TGo4ConfigStep.h.

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

◆ fLastSrcKind

int TGo4ConfigStep::fLastSrcKind {0}
protected

Definition at line 93 of file TGo4ConfigStep.h.

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

◆ 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 ChangeSourceParameter(), TGo4ConfigStep(), and ~TGo4ConfigStep().

◆ fStepNumber

int TGo4ConfigStep::fStepNumber {0}
protected

◆ fStepStatus

TGo4AnalysisStepStatus* TGo4ConfigStep::fStepStatus {nullptr}
protected

◆ fxPanel

TGo4AnalysisConfiguration* TGo4ConfigStep::fxPanel {nullptr}
protected

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