GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4Interface.h>
Public Member Functions | |
TGo4Interface () | |
TGo4Interface (const TGo4Interface &) | |
virtual | ~TGo4Interface () |
void | Wait (double tm_sec) override |
void | HotStart (const char *filename) override |
void | Message (const char *msg) override |
void | LaunchAnalysis () override |
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 |
void | ConnectAnalysis (const char *ServerNode, Int_t ServerPort, Int_t ControllerMode, const char *password=nullptr) override |
void | WaitAnalysis (Int_t delay_sec) override |
void | DisconnectAnalysis () override |
void | ShutdownAnalysis () override |
void | SubmitAnalysisConfig (int tmout=20) override |
void | StartAnalysis () override |
void | StopAnalysis () override |
void | RefreshNamesList (int tmout=10) override |
void | AnalysisAutoSave (const char *filename, Int_t interval, Int_t compression, Bool_t enabled, Bool_t overwrite) override |
void | AnalysisConfigName (const char *filename) override |
void | ConfigStep (const char *stepname, Bool_t enableprocess, Bool_t enablesource, Bool_t enablestore) override |
void | StepFileSource (const char *stepname, const char *sourcename, int timeout) override |
void | StepMbsFileSource (const char *stepname, const char *sourcename, int timeout, const char *TagFile, int start=0, int stop=0, int interval=0) override |
void | StepMbsStreamSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) override |
void | StepMbsTransportSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) override |
void | StepMbsEventServerSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) override |
void | StepMbsRevServSource (const char *stepname, const char *sourcename, int timeout, int port, int start=0, int stop=0, int interval=0) override |
void | StepRandomSource (const char *stepname, const char *sourcename, int timeout) override |
void | StepUserSource (const char *stepname, const char *sourcename, int timeout, int port, const char *expr) override |
void | StepFileStore (const char *stepname, const char *storename, bool overwrite, int bufsize, int splitlevel, int compression, int autosaveperiod=10000) override |
void | StepBackStore (const char *stepname, const char *storename, int bufsize, int splitlevel) override |
void | StepUserStore (const char *stepname, const char *storename) override |
ViewPanelHandle | StartViewPanel () override |
ViewPanelHandle | StartViewPanel (int x, int y, int width, int height, int mode=1, TGo4Picture *pic=nullptr) override |
TString | GetViewPanelName (ViewPanelHandle handle) override |
ViewPanelHandle | FindViewPanel (const char *name) override |
Bool_t | SetViewPanelName (ViewPanelHandle handle, const char *newname) override |
ViewPanelHandle | GetActiveViewPanel () override |
void | RedrawPanel (ViewPanelHandle panel) override |
void | DivideViewPanel (ViewPanelHandle panel, Int_t numX, Int_t numY) override |
TPad * | SelectPad (ViewPanelHandle panel, Int_t number=0) override |
Bool_t | DrawItem (const char *itemname, ViewPanelHandle panel=nullptr, const char *drawopt=nullptr) override |
void | RedrawItem (const char *itemname) override |
void | ProcessHotStart () |
Bool_t | HandleTimer (TTimer *timer) override |
![]() | |
virtual | ~TGo4AbstractInterface () |
TGo4ObjectManager * | OM () const |
TGo4BrowserProxy * | Browser () const |
TGo4AnalysisProxy * | Analysis () |
TGo4ServerProxy * | Server () |
virtual void | LoadLibrary (const char *fname) |
virtual void | OpenFile (const char *fname) |
virtual TString | FindItem (const char *objname) |
virtual Bool_t | CopyItem (const char *itemname) |
virtual Bool_t | DeleteItem (const char *itemname) |
virtual void | FetchItem (const char *itemname, Int_t wait_time=2000) |
virtual TObject * | GetObject (const char *itemname, Int_t updatelevel=1) |
virtual TString | SaveToMemory (const char *path, TObject *obj, Bool_t ownership=kFALSE) |
virtual Bool_t | SaveToFile (const char *itemname, const char *filename, const char *filetitle=nullptr) |
virtual Bool_t | ExportToFile (const char *itemname, const char *dirpath, const char *format, const char *filetitle=nullptr) |
virtual void | ConnectHServer (const char *servername, Int_t portnumber, const char *basename, const char *userpass, const char *filter) |
virtual void | ConnectDabc (const char *servername) |
virtual TGo4ServerProxy * | ConnectHttp (const char *servername, const char *account=nullptr, const char *pass=nullptr) |
virtual Bool_t | IsAnalysisConnected () |
virtual void | ExecuteLine (const char *remotecmd) |
virtual void | RequestAnalysisConfig () |
virtual void | SetAnalysisTerminalMode (int mode) |
virtual void | SetAnalysisConfigMode (int mode) |
virtual void | MonitorItem (const char *itemname, Bool_t on=kTRUE) |
virtual void | StartMonitoring (Int_t period=10) |
virtual void | StopMonitoring () |
virtual void | StepMbsSelection (const char *stepname, int start, int stop, int interval) |
virtual void | StepMbsPort (const char *stepname, int port) |
virtual void | StepMbsRetryCnt (const char *stepname, int cnt) |
virtual void | StepHDF5Source (const char *stepname, const char *sourcename, int timeout) |
virtual void | StepHDF5Store (const char *stepname, const char *storename, int flags) |
virtual void | SetMainWindowState (int qtversion, const char *val) |
virtual void | SetMainWindowGeometry (int qtversion, const char *val) |
virtual TGo4Picture * | GetPadOptions (ViewPanelHandle panel, Int_t padnumber=0) |
virtual void | SetSuperimpose (ViewPanelHandle panel, Bool_t on=kTRUE) |
virtual void | SetApplyToAll (ViewPanelHandle panel, Bool_t on=kTRUE) |
virtual const char * | GetDrawnItemName (ViewPanelHandle panel, int cnt=0) |
virtual void | StartFitPanel () |
ClassDefOverride (TGo4AbstractInterface, 1) | |
Protected Member Functions | |
void | ProcessEvents (Int_t timeout=-1) override |
TGo4AnalysisProxy * | AddAnalysisProxy (Bool_t isserver) |
TGo4AnalysisStatus * | GetAnalStatus () |
TGo4AnalysisStepStatus * | GetStepStatus (const char *stepname) |
ClassDefOverride (TGo4Interface, 1) | |
![]() | |
TGo4AbstractInterface () | |
void | Initialize (TGo4ObjectManager *om, TGo4BrowserProxy *br) |
list of shared libraries when application is started More... | |
Bool_t | LoadHotStart (const char *filename) |
Bool_t | IsHotStart () const |
const char * | NextHotStartCmd () |
void | FreeHotStartCmds () |
Protected Attributes | |
TGo4RootBrowserProxy * | fRootBrowser {nullptr} |
TString | fOMDataPath |
TString | fOMBrowserPath |
TString | fOMEditorsPath |
Bool_t | fCmdFinished {kFALSE} |
TTimer * | fCmdTimer {nullptr} |
Int_t | fWaitCounter {0} |
Additional Inherited Members | |
![]() | |
static void | SetInitSharedLibs (const char *libs=nullptr) |
static TGo4AbstractInterface * | Instance () |
static void | DeleteInstance () |
static const char * | FileExtension () |
static Int_t | DelayMillisec () |
![]() | |
static void | ProduceLoadLibs (std::ostream &fs) |
static const char * | DefaultPicTitle () |
![]() | |
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 TGo4ObjectManager::AddLink(), TGo4ObjectManager::AddProxy(), TGo4BrowserProxy::BrowserTopSlot(), TGo4BrowserProxy::CreateMemoryFolder(), fOMBrowserPath, fOMDataPath, fOMEditorsPath, fRootBrowser, TGo4AbstractInterface::Initialize(), and TGo4ObjectManager::MakeFolder().
|
inline |
Definition at line 31 of file TGo4Interface.h.
References AddAnalysisProxy(), AnalysisAutoSave(), AnalysisConfigName(), ConfigStep(), ConnectAnalysis(), DisconnectAnalysis(), DivideViewPanel(), DrawItem(), FindViewPanel(), GetActiveViewPanel(), GetAnalStatus(), GetStepStatus(), GetViewPanelName(), HandleTimer(), HotStart(), LaunchAnalysis(), Message(), go4init::msg, ProcessHotStart(), RedrawItem(), RedrawPanel(), RefreshNamesList(), SelectPad(), SetViewPanelName(), ShutdownAnalysis(), StartAnalysis(), StartViewPanel(), StepBackStore(), StepFileSource(), StepFileStore(), StepMbsEventServerSource(), StepMbsFileSource(), StepMbsRevServSource(), StepMbsStreamSource(), StepMbsTransportSource(), StepRandomSource(), StepUserSource(), StepUserStore(), StopAnalysis(), SubmitAnalysisConfig(), Wait(), WaitAnalysis(), and ~TGo4Interface().
|
virtual |
Definition at line 76 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), DisconnectAnalysis(), fCmdTimer, and TGo4AbstractInterface::OM().
Referenced by TGo4Interface().
|
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(), LaunchAnalysis(), and TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
protected |
|
overridevirtual |
Set basic step property
Reimplemented from TGo4AbstractInterface.
Definition at line 356 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4AnalysisStepStatus::SetProcessEnabled(), TGo4AnalysisStepStatus::SetSourceEnabled(), and TGo4AnalysisStepStatus::SetStoreEnabled().
Referenced by TGo4Interface().
|
overridevirtual |
Connect to running analysis server. Parameters: 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().
Referenced by TGo4Interface().
|
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(), and ~TGo4Interface().
|
overridevirtual |
Divide viewpanel on subpads.
Reimplemented from TGo4AbstractInterface.
Definition at line 612 of file TGo4Interface.cxx.
Referenced by TGo4Interface().
|
overridevirtual |
Draw browser item on specified viewpanel. Parameters: 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().
Referenced by TGo4Interface().
|
overridevirtual |
Return handle on viewpanel with specified name.
Reimplemented from TGo4AbstractInterface.
Definition at line 576 of file TGo4Interface.cxx.
Referenced by TGo4Interface().
|
overridevirtual |
Return handle of last active viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 598 of file TGo4Interface.cxx.
Referenced by TGo4Interface().
|
protected |
Definition at line 317 of file TGo4Interface.cxx.
References TGo4Slot::GetAssignedObject(), TGo4AbstractInterface::Server(), and TGo4ServerProxy::SettingsSlot().
Referenced by AnalysisAutoSave(), AnalysisConfigName(), GetStepStatus(), and TGo4Interface().
|
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(), StepUserStore(), and TGo4Interface().
|
overridevirtual |
Return name of viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 570 of file TGo4Interface.cxx.
Referenced by TGo4Interface().
|
override |
Definition at line 652 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), fCmdTimer, TGo4AbstractInterface::FreeHotStartCmds(), fWaitCounter, TGo4ServerProxy::IsAnalysisReady(), TGo4AbstractInterface::IsHotStart(), and ProcessHotStart().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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.
Referenced by TGo4Interface().
|
overridevirtual |
Launch analysis in client mode. Parameters: 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
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, and TGo4RootBrowserProxy::Message().
Referenced by SetViewPanelName(), and TGo4Interface().
|
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(), and TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
overridevirtual |
Forces of panel redraw.
Reimplemented from TGo4AbstractInterface.
Definition at line 603 of file TGo4Interface.cxx.
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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.
Referenced by TGo4Interface().
|
overridevirtual |
Change name of viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 581 of file TGo4Interface.cxx.
References Message().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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.
Referenced by DrawItem(), and TGo4Interface().
|
overridevirtual |
Create new viewpanel with specified parameters. Returns handle of newly created viewpanel. Parameters: x,y - left top corner coordinate of view panel; width, height - panel size; mode - display mode for view panel (0 - minimized, 1 - normal, 2 - maximized); pic - TGo4Picture object, which includes configuration of 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.
Reimplemented from TGo4AbstractInterface.
Definition at line 554 of file TGo4Interface.cxx.
References TGo4RootBrowserProxy::DrawPicture(), and 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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
overridevirtual |
Set user store as step data storage
Reimplemented from TGo4AbstractInterface.
Definition at line 539 of file TGo4Interface.cxx.
References GetStepStatus(), and TGo4AnalysisStepStatus::SetStorePar().
Referenced by TGo4Interface().
|
overridevirtual |
Stop (suspend) analysis execution
Reimplemented from TGo4AbstractInterface.
Definition at line 288 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Server(), and TGo4ServerProxy::StopAnalysis().
Referenced by TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
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(), and TGo4Interface().
|
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().
Referenced by TGo4Interface().
|
protected |
Definition at line 172 of file TGo4Interface.h.
Referenced by HotStart(), and ProcessHotStart().
|
protected |
Definition at line 173 of file TGo4Interface.h.
Referenced by HandleTimer(), HotStart(), and ~TGo4Interface().
|
protected |
Definition at line 170 of file TGo4Interface.h.
Referenced by TGo4Interface().
|
protected |
Definition at line 169 of file TGo4Interface.h.
Referenced by AddAnalysisProxy(), and TGo4Interface().
|
protected |
Definition at line 171 of file TGo4Interface.h.
Referenced by AddAnalysisProxy(), and TGo4Interface().
|
protected |
Definition at line 168 of file TGo4Interface.h.
Referenced by AddAnalysisProxy(), Message(), StartViewPanel(), and TGo4Interface().
|
protected |
Definition at line 174 of file TGo4Interface.h.
Referenced by HandleTimer(), and WaitAnalysis().