GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4Interface.h>
Public Member Functions | |
TGo4Interface () | |
TGo4Interface (const TGo4Interface &) | |
virtual | ~TGo4Interface () |
void | AnalysisAutoSave (const char *filename, Int_t interval, Int_t compression, Bool_t enabled, Bool_t overwrite) override |
Configure autosave properties of analysis. | |
void | AnalysisConfigName (const char *filename) override |
Configure name of file, where analysis configuration will be saved. | |
void | ConfigStep (const char *stepname, Bool_t enableprocess, Bool_t enablesource, Bool_t enablestore) override |
Set basic step properties. | |
void | ConnectAnalysis (const char *ServerNode, Int_t ServerPort, Int_t ControllerMode, const char *password=nullptr) override |
Connect to running analysis server. | |
void | DisconnectAnalysis () override |
Disconnects from running analysis. | |
void | DivideViewPanel (ViewPanelHandle panel, Int_t numX, Int_t numY) override |
Divide viewpanel on subpads. | |
Bool_t | DrawItem (const char *itemname, ViewPanelHandle panel=nullptr, const char *drawopt=nullptr) override |
Draw browser item on specified viewpanel. | |
ViewPanelHandle | FindViewPanel (const char *name) override |
Return handle on viewpanel with specified name. | |
ViewPanelHandle | GetActiveViewPanel () override |
Return handle of last active viewpanel. | |
TString | GetViewPanelName (ViewPanelHandle handle) override |
Return name of viewpanel. | |
Bool_t | HandleTimer (TTimer *timer) override |
void | HotStart (const char *filename) override |
Executes hotstart file, generated in go4 GUI. | |
void | LaunchAnalysis () override |
Launch analysis in client mode, using default configuration. | |
void | LaunchAnalysis (const char *ClientName, const char *ClientDir, const char *ClientExec, const char *ClientNode, Int_t ShellMode=2, Int_t TermMode=1, Int_t ExeMode=0, const char *UserArgs=nullptr) override |
Launch analysis in client mode. | |
void | Message (const char *msg) override |
Display message in GUI status line. | |
void | ProcessHotStart () |
void | RedrawItem (const char *itemname) override |
Redraw item of given name on all viewpanels/editors. | |
void | RedrawPanel (ViewPanelHandle panel) override |
Forces of panel redraw. | |
void | RefreshNamesList (int tmout=10) override |
Sends new request to the analysis and waits for new names list. | |
TPad * | SelectPad (ViewPanelHandle panel, Int_t number=0) override |
Set active pad on viewpanel. | |
Bool_t | SetViewPanelName (ViewPanelHandle handle, const char *newname) override |
Change name of viewpanel. | |
void | ShutdownAnalysis () override |
Shutdown running analysis. | |
void | StartAnalysis () override |
Starts (resume) analysis execution. | |
ViewPanelHandle | StartViewPanel () override |
Create new view panel. | |
ViewPanelHandle | StartViewPanel (int x, int y, int width, int height, int mode=1, TGo4Picture *pic=nullptr) override |
Create new viewpanel with specified parameters. | |
void | StepBackStore (const char *stepname, const char *storename, int bufsize, int splitlevel) override |
Set back store as step data storage. | |
void | StepFileSource (const char *stepname, const char *sourcename, int timeout) override |
Set file source as step data source. | |
void | StepFileStore (const char *stepname, const char *storename, bool overwrite, int bufsize, int splitlevel, int compression, int autosaveperiod=10000) override |
Set file as step data storage. | |
void | StepMbsEventServerSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) override |
Set MBS event server as step data source. | |
void | StepMbsFileSource (const char *stepname, const char *sourcename, int timeout, const char *TagFile, int start=0, int stop=0, int interval=0) override |
Set MBS file source as step data source. | |
void | StepMbsRevServSource (const char *stepname, const char *sourcename, int timeout, int port, int start=0, int stop=0, int interval=0) override |
Set MBS remote event server as step data source. | |
void | StepMbsStreamSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) override |
Set MBS stream server as step data source. | |
void | StepMbsTransportSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) override |
Set MBS transport server as step data source. | |
void | StepRandomSource (const char *stepname, const char *sourcename, int timeout) override |
Set random generator as step data source. | |
void | StepUserSource (const char *stepname, const char *sourcename, int timeout, int port, const char *expr) override |
Set user data source as step data source. | |
void | StepUserStore (const char *stepname, const char *storename) override |
Set user store as step data storage. | |
void | StopAnalysis () override |
Stop (suspend) analysis execution. | |
void | SubmitAnalysisConfig (int tmout=20) override |
Submit configuration to analysis. | |
void | Wait (double tm_sec) override |
Wait specified number of seconds. | |
void | WaitAnalysis (Int_t delay_sec) override |
Waits, until connection to analysis is established. | |
![]() | |
virtual | ~TGo4AbstractInterface () |
destructor | |
TGo4AnalysisProxy * | Analysis () |
Returns pointer on analysis proxy. | |
TGo4BrowserProxy * | Browser () const |
Returns pointer on browser proxy. | |
ClassDefOverride (TGo4AbstractInterface, 0) | |
virtual void | ConnectDabc (const char *servername) |
Connect to DABC server. | |
virtual void | ConnectHServer (const char *servername, Int_t portnumber, const char *basename, const char *userpass, const char *filter) |
Connect to GSI histogram server. | |
virtual TGo4ServerProxy * | ConnectHttp (const char *servername, const char *account=nullptr, const char *pass=nullptr) |
Connect to HTTP server. | |
virtual Bool_t | CopyItem (const char *itemname) |
Copy item to workspace. | |
virtual Bool_t | DeleteItem (const char *itemname) |
Delete item (if allowed). | |
virtual void | ExecuteLine (const char *remotecmd) |
Execute one macro line on analysis side. | |
virtual Bool_t | ExportToFile (const char *itemname, const char *dirpath, const char *format, const char *filetitle=nullptr) |
Export browser item to different file formats. | |
virtual void | FetchItem (const char *itemname, Int_t wait_time=2000) |
Fetch item from data source. | |
virtual TString | FindItem (const char *objname) |
Find item with given object name. | |
virtual const char * | GetDrawnItemName (ViewPanelHandle panel, int cnt=0) |
Provide item name, drawn in the view panel. | |
virtual TObject * | GetObject (const char *itemname, Int_t updatelevel=1) |
Returns object, assigned to specified browser item. | |
virtual TGo4Picture * | GetPadOptions (ViewPanelHandle panel, Int_t padnumber=0) |
Returns pad options for pad with specified number. | |
virtual Bool_t | IsAnalysisConnected () |
Indicate, if analysis was successfully connected. | |
virtual void | LoadLibrary (const char *fname) |
Load specified ROOT library. | |
virtual void | MonitorItem (const char *itemname, Bool_t on=kTRUE) |
Enable/disable monitoring of browser item. | |
TGo4ObjectManager * | OM () const |
Returns pointer on object manager. | |
virtual void | OpenFile (const char *fname) |
Open specified file in read-only mode. | |
virtual void | RequestAnalysisConfig () |
Requests current analysis configuration. | |
virtual Bool_t | SaveToFile (const char *itemname, const char *filename, const char *filetitle=nullptr) |
Save specified browser item to file. | |
virtual TString | SaveToMemory (const char *path, TObject *obj, Bool_t ownership=kFALSE) |
Save object in browser workspace. | |
TGo4ServerProxy * | Server () |
Returns pointer on more generic server proxy. | |
virtual void | SetAnalysisConfigMode (int mode) |
Set analysis configuration window mode. | |
virtual void | SetAnalysisTerminalMode (int mode) |
Set analysis terminal window mode. | |
virtual void | SetApplyToAll (ViewPanelHandle panel, Bool_t on=kTRUE) |
Set apply to all flag for active pad of viewpanel. | |
virtual void | SetMainWindowGeometry (int qtversion, const char *val) |
Set geometry of main window. | |
virtual void | SetMainWindowState (int qtversion, const char *val) |
Set state of all tool boxes in main window. | |
virtual void | SetSuperimpose (ViewPanelHandle panel, Bool_t on=kTRUE) |
Set superimpose flag for active pad of viewpanel. | |
virtual void | StartFitPanel () |
Starts fit panel. | |
virtual void | StartMonitoring (Int_t period=10) |
Start monitoring mode. | |
virtual void | StepHDF5Source (const char *stepname, const char *sourcename, int timeout) |
Set hdf5 data source as step data source. | |
virtual void | StepHDF5Store (const char *stepname, const char *storename, int flags) |
Set hdf5 data source as step data storage. | |
virtual void | StepMbsPort (const char *stepname, int port) |
Set custom port number for MBS source like stream or transport server. | |
virtual void | StepMbsRetryCnt (const char *stepname, int cnt) |
Set retry number for MBS source like stream or transport server. | |
virtual void | StepMbsSelection (const char *stepname, int start, int stop, int interval) |
Set event selection for MBS source. | |
virtual void | StopMonitoring () |
Stop monitoring mode. | |
Protected Member Functions | |
TGo4AnalysisProxy * | AddAnalysisProxy (Bool_t isserver) |
ClassDefOverride (TGo4Interface, 0) | |
TGo4AnalysisStatus * | GetAnalStatus () |
TGo4AnalysisStepStatus * | GetStepStatus (const char *stepname) |
void | ProcessEvents (Int_t timeout=-1) override |
![]() | |
TGo4AbstractInterface () | |
Constructor. | |
void | FreeHotStartCmds () |
void | Initialize (TGo4ObjectManager *om, TGo4BrowserProxy *br) |
list of shared libraries when application is started | |
Bool_t | IsHotStart () const |
Bool_t | LoadHotStart (const char *filename) |
const char * | NextHotStartCmd () |
Protected Attributes | |
Bool_t | fCmdFinished {kFALSE} |
TTimer * | fCmdTimer {nullptr} |
TString | fOMBrowserPath |
TString | fOMDataPath |
TString | fOMEditorsPath |
TGo4RootBrowserProxy * | fRootBrowser {nullptr} |
Int_t | fWaitCounter {0} |
Additional Inherited Members | |
![]() | |
static Int_t | DelayMillisec () |
Default delay during hotstart file extension. | |
static void | DeleteInstance () |
Delete instance of interface class. | |
static const char * | FileExtension () |
Returns default hotstart file extension. | |
static TGo4AbstractInterface * | Instance () |
Return pointer on instance of implementation of TGo4AbstractInterface class. | |
static void | SetInitSharedLibs (const char *libs=nullptr) |
method to set initial list of shared libraries, which than will not be included in hotstart file | |
![]() | |
static const char * | DefaultPicTitle () |
Returns default hotstart file extension. | |
static void | ProduceLoadLibs (std::ostream &fs) |
![]() | |
static TGo4AbstractInterface * | fgInstance = nullptr |
static TString | fInitSharedLibs = "" |
Definition at line 25 of file TGo4Interface.h.
TGo4Interface::TGo4Interface | ( | ) |
Definition at line 42 of file TGo4Interface.cxx.
References TGo4AbstractInterface::TGo4AbstractInterface(), TGo4ObjectManager::AddLink(), TGo4ObjectManager::AddProxy(), TGo4BrowserProxy::BrowserTopSlot(), TGo4BrowserProxy::CreateMemoryFolder(), fCmdFinished, fCmdTimer, fOMBrowserPath, fOMDataPath, fOMEditorsPath, fRootBrowser, fWaitCounter, TGo4AbstractInterface::Initialize(), and TGo4ObjectManager::MakeFolder().
Referenced by TGo4Interface(), and ClassDefOverride().
|
inline |
Definition at line 31 of file TGo4Interface.h.
References TGo4Interface().
|
virtual |
Definition at line 76 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), DisconnectAnalysis(), fCmdTimer, and TGo4AbstractInterface::OM().
|
protected |
Definition at line 127 of file TGo4Interface.cxx.
References TGo4ObjectManager::AddLink(), TGo4ObjectManager::AddProxy(), TGo4AbstractInterface::Browser(), TGo4BrowserProxy::DataSlot(), fOMDataPath, fOMEditorsPath, fRootBrowser, TGo4Slot::GetProxy(), TGo4ServerProxy::LoginfoSlot(), TGo4AbstractInterface::OM(), TGo4ServerProxy::RatemeterSlot(), TGo4ServerProxy::SetAnalysisReady(), and TGo4AnalysisProxy::SetDefaultReceiver().
Referenced by ConnectAnalysis(), and LaunchAnalysis().
|
overridevirtual |
Configure autosave properties of analysis.
Reimplemented from TGo4AbstractInterface.
Definition at line 327 of file TGo4Interface.cxx.
References GetAnalStatus(), TGo4AnalysisStatus::SetAutoFileName(), TGo4AnalysisStatus::SetAutoSaveCompression(), TGo4AnalysisStatus::SetAutoSaveInterval(), TGo4AnalysisStatus::SetAutoSaveOn(), and TGo4AnalysisStatus::SetAutoSaveOverwrite().
|
overridevirtual |
Configure name of file, where analysis configuration will be saved.
Reimplemented from TGo4AbstractInterface.
Definition at line 343 of file TGo4Interface.cxx.
References GetAnalStatus(), and TGo4AnalysisStatus::SetConfigFileName().
|
protected |
References TGo4Interface().
|
overridevirtual |
Set basic step properties.
Reimplemented from TGo4AbstractInterface.
Definition at line 356 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4AnalysisStepStatus::SetProcessEnabled(), TGo4AnalysisStepStatus::SetSourceEnabled(), and TGo4AnalysisStepStatus::SetStoreEnabled().
|
overridevirtual |
Connect to running analysis server.
ServerNode | - node to connect to, |
ServerPort | - connection port number, |
UserMode | - mode of user operation : 0 - observer, 1 - controller, 2 - administrator |
password | - access password, which should correspond to specified UserMode |
Reimplemented from TGo4AbstractInterface.
Definition at line 184 of file TGo4Interface.cxx.
References AddAnalysisProxy(), TGo4AbstractInterface::Analysis(), TGo4AnalysisProxy::ConnectToServer(), ProcessEvents(), and TGo4AnalysisProxy::RequestAnalysisSettings().
|
overridevirtual |
Disconnects from running analysis.
If analysis is running in client mode, analysis will be shutdown.
Reimplemented from TGo4AbstractInterface.
Definition at line 230 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), TGo4AbstractInterface::Browser(), TGo4AnalysisProxy::DisconnectAnalysis(), ProcessEvents(), and TGo4BrowserProxy::ToggleMonitoring().
Referenced by ~TGo4Interface().
|
overridevirtual |
Divide viewpanel on subpads.
Reimplemented from TGo4AbstractInterface.
Definition at line 612 of file TGo4Interface.cxx.
|
overridevirtual |
Draw browser item on specified viewpanel.
itemname | - browser item name, |
panel | - viewpanel, if panel == nullptr, new viewpanel will be created. |
drawopt | - draw options, used in obj->Draw() operation |
Reimplemented from TGo4AbstractInterface.
Definition at line 625 of file TGo4Interface.cxx.
References TGo4AbstractInterface::GetObject(), and StartViewPanel().
|
overridevirtual |
Return handle on viewpanel with specified name.
Reimplemented from TGo4AbstractInterface.
Definition at line 576 of file TGo4Interface.cxx.
|
overridevirtual |
Return handle of last active viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 598 of file TGo4Interface.cxx.
|
protected |
Definition at line 317 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Server(), and TGo4ServerProxy::SettingsSlot().
Referenced by AnalysisAutoSave(), AnalysisConfigName(), and GetStepStatus().
|
protected |
Definition at line 350 of file TGo4Interface.cxx.
References GetAnalStatus(), and TGo4AnalysisStatus::GetStepStatus().
Referenced by ConfigStep(), StepBackStore(), StepFileSource(), StepFileStore(), StepMbsEventServerSource(), StepMbsFileSource(), StepMbsRevServSource(), StepMbsStreamSource(), StepMbsTransportSource(), StepRandomSource(), StepUserSource(), and StepUserStore().
|
overridevirtual |
Return name of viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 570 of file TGo4Interface.cxx.
|
override |
Definition at line 652 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), fCmdTimer, TGo4AbstractInterface::FreeHotStartCmds(), fWaitCounter, TGo4ServerProxy::IsAnalysisReady(), TGo4AbstractInterface::IsHotStart(), and ProcessHotStart().
|
overridevirtual |
Executes hotstart file, generated in go4 GUI.
Hot start files can not be executed as normal CINT scripts, therefore one should use this method to activate them
Implements TGo4AbstractInterface.
Definition at line 677 of file TGo4Interface.cxx.
References fCmdFinished, fCmdTimer, TGo4AbstractInterface::FreeHotStartCmds(), and TGo4AbstractInterface::LoadHotStart().
|
overridevirtual |
Launch analysis in client mode, using default configuration.
Can only work in standard GUI mode
Reimplemented from TGo4AbstractInterface.
Definition at line 121 of file TGo4Interface.cxx.
|
overridevirtual |
Launch analysis in client mode.
ClientName | - arbitrary name of analysis, used for display |
ClientDir | - directory, where analysis should be started |
ClientExec | - main analysis executable |
ClientNode | - node name, where analysis should be started |
ShellMode | - shell, used to launch analysis: 1 - rsh, 2 - ssh [default] |
TermMode | - terminal program: 1 - internal Qt window, 2 - xterm, 3 - KDE konsole |
ExeMode | - execution mode: 0 - exe, 1 - library |
UserArgs | - extra arguments for user analysis |
Reimplemented from TGo4AbstractInterface.
Definition at line 155 of file TGo4Interface.cxx.
References AddAnalysisProxy(), TGo4AnalysisProxy::LaunchAsClient(), and ProcessEvents().
|
overridevirtual |
Display message in GUI status line.
Reimplemented from TGo4AbstractInterface.
Definition at line 115 of file TGo4Interface.cxx.
References fRootBrowser.
Referenced by SetViewPanelName().
|
overrideprotectedvirtual |
Implements TGo4AbstractInterface.
Definition at line 93 of file TGo4Interface.cxx.
References Wait().
Referenced by ConnectAnalysis(), DisconnectAnalysis(), and LaunchAnalysis().
void TGo4Interface::ProcessHotStart | ( | ) |
Definition at line 693 of file TGo4Interface.cxx.
References fCmdFinished, TGo4AbstractInterface::IsHotStart(), and TGo4AbstractInterface::NextHotStartCmd().
Referenced by HandleTimer().
|
overridevirtual |
Redraw item of given name on all viewpanels/editors.
Useful for the case, when content of object (histogram, for example) changed directly in script and after that should be updated in viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 636 of file TGo4Interface.cxx.
References TGo4AbstractInterface::RedrawItem().
|
overridevirtual |
Forces of panel redraw.
Reimplemented from TGo4AbstractInterface.
Definition at line 603 of file TGo4Interface.cxx.
|
overridevirtual |
Sends new request to the analysis and waits for new names list.
Reimplemented from TGo4AbstractInterface.
Definition at line 300 of file TGo4Interface.cxx.
References TGo4ServerProxy::NamesListReceived(), TGo4ServerProxy::RefreshNamesList(), and TGo4AbstractInterface::Server().
|
overridevirtual |
Set active pad on viewpanel.
If number == 0, main pad (canvas) will be set as active, otherwise one of subpads will be activated. Most of methods, working with viewpanel, acting with active pad of this panel.
Reimplemented from TGo4AbstractInterface.
Definition at line 618 of file TGo4Interface.cxx.
|
overridevirtual |
Change name of viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 581 of file TGo4Interface.cxx.
References Message().
|
overridevirtual |
Shutdown running analysis.
If analysis is running in server mode, only user with administrator privileges can do this
Reimplemented from TGo4AbstractInterface.
Definition at line 242 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), TGo4AbstractInterface::Browser(), TGo4AnalysisProxy::DisconnectAnalysis(), TGo4AnalysisProxy::IsAdministrator(), TGo4AnalysisProxy::IsAnalysisServer(), TGo4AnalysisProxy::IsConnected(), and TGo4BrowserProxy::ToggleMonitoring().
|
overridevirtual |
Starts (resume) analysis execution.
Reimplemented from TGo4AbstractInterface.
Definition at line 274 of file TGo4Interface.cxx.
References TGo4ServerProxy::DelayedRefreshNamesList(), TGo4ServerProxy::RefreshNamesList(), TGo4AbstractInterface::Server(), and TGo4ServerProxy::StartAnalysis().
|
overridevirtual |
Create new view panel.
Handle, returned by this method, must be used for other operation, like DivideViewPanel() or SelectPad()
Reimplemented from TGo4AbstractInterface.
Definition at line 549 of file TGo4Interface.cxx.
References StartViewPanel().
Referenced by DrawItem(), and StartViewPanel().
|
overridevirtual |
Create new viewpanel with specified parameters.
Returns handle of newly created viewpanel. To understand usage of this method together with TGo4Picture class, one can create and configure viewpanel and then create hotstart file. This file will include complete TGo4Picture configuration, which contains attributes like colors, ranges, pad divisions and so on.
x | - X coordinate of view panel; |
y | - Y coordinate of view panel; |
width | - panel width; |
height | - panel height; |
mode | - display mode for view panel (0 - minimized, 1 - normal, 2 - maximized); |
pic | - TGo4Picture object, which includes configuration of viewpanel. |
Reimplemented from TGo4AbstractInterface.
Definition at line 554 of file TGo4Interface.cxx.
References fRootBrowser.
|
overridevirtual |
Set back store as step data storage.
Reimplemented from TGo4AbstractInterface.
Definition at line 525 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4BackStoreParameter::SetBufsize(), TGo4BackStoreParameter::SetSplitlevel(), and TGo4AnalysisStepStatus::SetStorePar().
|
overridevirtual |
Set file source as step data source.
Reimplemented from TGo4AbstractInterface.
Definition at line 369 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4AnalysisStepStatus::SetSourcePar(), and TGo4EventSourceParameter::SetTimeout().
|
overridevirtual |
Set file as step data storage.
Reimplemented from TGo4AbstractInterface.
Definition at line 505 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4FileStoreParameter::SetAutosaveSize(), TGo4FileStoreParameter::SetBufsize(), TGo4FileStoreParameter::SetCompression(), TGo4FileStoreParameter::SetOverwriteMode(), TGo4FileStoreParameter::SetSplitlevel(), and TGo4AnalysisStepStatus::SetStorePar().
|
overridevirtual |
Set MBS event server as step data source.
Reimplemented from TGo4AbstractInterface.
Definition at line 439 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), and TGo4EventSourceParameter::SetTimeout().
|
overridevirtual |
Set MBS file source as step data source.
Reimplemented from TGo4AbstractInterface.
Definition at line 381 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), TGo4MbsFileParameter::SetTagName(), and TGo4EventSourceParameter::SetTimeout().
|
overridevirtual |
Set MBS remote event server as step data source.
Reimplemented from TGo4AbstractInterface.
Definition at line 457 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4MbsSourceParameter::SetPort(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), and TGo4EventSourceParameter::SetTimeout().
|
overridevirtual |
Set MBS stream server as step data source.
Reimplemented from TGo4AbstractInterface.
Definition at line 403 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), and TGo4EventSourceParameter::SetTimeout().
|
overridevirtual |
Set MBS transport server as step data source.
Reimplemented from TGo4AbstractInterface.
Definition at line 421 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), and TGo4EventSourceParameter::SetTimeout().
|
overridevirtual |
Set random generator as step data source.
Reimplemented from TGo4AbstractInterface.
Definition at line 477 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4AnalysisStepStatus::SetSourcePar(), and TGo4EventSourceParameter::SetTimeout().
|
overridevirtual |
Set user data source as step data source.
Reimplemented from TGo4AbstractInterface.
Definition at line 489 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4UserSourceParameter::SetExpression(), TGo4UserSourceParameter::SetPort(), TGo4AnalysisStepStatus::SetSourcePar(), and TGo4EventSourceParameter::SetTimeout().
|
overridevirtual |
Set user store as step data storage.
Reimplemented from TGo4AbstractInterface.
Definition at line 539 of file TGo4Interface.cxx.
References GetStepStatus(), and TGo4AnalysisStepStatus::SetStorePar().
|
overridevirtual |
Stop (suspend) analysis execution.
Reimplemented from TGo4AbstractInterface.
Definition at line 288 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Server(), and TGo4ServerProxy::StopAnalysis().
|
overridevirtual |
Submit configuration to analysis.
Configurations can be changed with following methods:
To understand more how these methods can be used together, one should launch analysis, configure it and then generate hotstart file. In this file one can find correct sequence and parameters for all these methods. Timeout defines total time which will be required to get response from analysis that operation was completed.
Reimplemented from TGo4AbstractInterface.
Definition at line 256 of file TGo4Interface.cxx.
References TGo4ServerProxy::IsAnalysisSettingsReady(), TGo4ServerProxy::NamesListReceived(), TGo4ServerProxy::RefreshNamesList(), TGo4AbstractInterface::Server(), and TGo4ServerProxy::SubmitAnalysisSettings().
|
overridevirtual |
Wait specified number of seconds.
Suppress macro execution, but keeps GUI functional, therefore it is different from gSystem->Sleep() call.
Reimplemented from TGo4AbstractInterface.
Definition at line 98 of file TGo4Interface.cxx.
Referenced by ProcessEvents().
|
overridevirtual |
Waits, until connection to analysis is established.
Method must be called before any other action like configuration, start/stop can be done. If analysis is connected, IsAnalysisConnected() return kTRUE. delay_sec specifies, how long one should wait until analysis is connected
Reimplemented from TGo4AbstractInterface.
Definition at line 206 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), fWaitCounter, TGo4ServerProxy::IsAnalysisReady(), and TGo4AbstractInterface::IsHotStart().
|
protected |
Definition at line 172 of file TGo4Interface.h.
Referenced by TGo4Interface(), HotStart(), and ProcessHotStart().
|
protected |
Definition at line 173 of file TGo4Interface.h.
Referenced by TGo4Interface(), ~TGo4Interface(), HandleTimer(), and HotStart().
|
protected |
Definition at line 170 of file TGo4Interface.h.
Referenced by TGo4Interface().
|
protected |
Definition at line 169 of file TGo4Interface.h.
Referenced by TGo4Interface(), and AddAnalysisProxy().
|
protected |
Definition at line 171 of file TGo4Interface.h.
Referenced by TGo4Interface(), and AddAnalysisProxy().
|
protected |
Definition at line 168 of file TGo4Interface.h.
Referenced by TGo4Interface(), AddAnalysisProxy(), Message(), and StartViewPanel().
|
protected |
Definition at line 174 of file TGo4Interface.h.
Referenced by TGo4Interface(), HandleTimer(), and WaitAnalysis().