GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4AbstractInterface.h>
Public Member Functions | |
virtual | ~TGo4AbstractInterface () |
TGo4ObjectManager * | OM () const |
TGo4BrowserProxy * | Browser () const |
TGo4AnalysisProxy * | Analysis () |
TGo4ServerProxy * | Server () |
virtual void | HotStart (const char *filename)=0 |
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=0) |
virtual Bool_t | ExportToFile (const char *itemname, const char *dirpath, const char *format, const char *filetitle=0) |
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=0, const char *pass=0) |
virtual void | Wait (double tm_sec) |
virtual void | Message (const char *msg) |
virtual void | LaunchAnalysis () |
virtual 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=0) |
virtual void | ConnectAnalysis (const char *ServerNode, Int_t ServerPort, Int_t UserMode, const char *password=0) |
virtual void | WaitAnalysis (Int_t delay_sec) |
virtual Bool_t | IsAnalysisConnected () |
virtual void | DisconnectAnalysis () |
virtual void | ShutdownAnalysis () |
virtual void | ExecuteLine (const char *remotecmd) |
virtual void | RequestAnalysisConfig () |
virtual void | SubmitAnalysisConfig (int tmout=20) |
virtual void | StartAnalysis () |
virtual void | StopAnalysis () |
virtual void | RefreshNamesList (int tmout=10) |
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 | AnalysisAutoSave (const char *filename, Int_t interval, Int_t compression, Bool_t enabled, Bool_t overwrite) |
virtual void | AnalysisConfigName (const char *filename) |
virtual void | ConfigStep (const char *stepname, Bool_t enableprocess, Bool_t enablesource, Bool_t enablestore) |
virtual void | StepFileSource (const char *stepname, const char *sourcename, int timeout) |
virtual void | StepMbsFileSource (const char *stepname, const char *sourcename, int timeout, const char *TagFile, int start=0, int stop=0, int interval=0) |
virtual void | StepMbsStreamSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) |
virtual void | StepMbsTransportSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) |
virtual void | StepMbsEventServerSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) |
virtual void | StepMbsRevServSource (const char *stepname, const char *sourcename, int timeout, int port=0, int start=0, int stop=0, int interval=0) |
virtual void | StepMbsSelection (const char *stepname, int start, int stop, int interval) |
virtual void | StepRandomSource (const char *stepname, const char *sourcename, int timeout) |
virtual void | StepMbsPort (const char *stepname, int port) |
virtual void | StepMbsRetryCnt (const char *stepname, int cnt) |
virtual void | StepUserSource (const char *stepname, const char *sourcename, int timeout, int port, const char *expr) |
virtual void | StepFileStore (const char *stepname, const char *storename, bool overwrite, int bufsize, int splitlevel, int compression, int autosaveperiod=0) |
virtual void | StepBackStore (const char *stepname, const char *storename, int bufsize, int splitlevel) |
virtual void | SetMainWindowState (int qtversion, const char *val) |
virtual void | SetMainWindowGeometry (int qtversion, const char *val) |
virtual ViewPanelHandle | StartViewPanel () |
virtual ViewPanelHandle | StartViewPanel (int x, int y, int width, int height, int mode=1, TGo4Picture *pic=0) |
virtual TString | GetViewPanelName (ViewPanelHandle panel) |
virtual ViewPanelHandle | FindViewPanel (const char *name) |
virtual Bool_t | SetViewPanelName (ViewPanelHandle panel, const char *newname) |
virtual ViewPanelHandle | GetActiveViewPanel () |
virtual void | RedrawPanel (ViewPanelHandle panel) |
virtual void | DivideViewPanel (ViewPanelHandle panel, Int_t numX, Int_t numY) |
virtual TPad * | SelectPad (ViewPanelHandle panel, Int_t number=0) |
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 Bool_t | DrawItem (const char *itemname, ViewPanelHandle panel=0, const char *drawopt=0) |
virtual void | RedrawItem (const char *itemname) |
virtual const char * | GetDrawnItemName (ViewPanelHandle panel, int cnt=0) |
ClassDef (TGo4AbstractInterface, 1) | |
Static Public Member Functions | |
static void | SetInitSharedLibs (const char *libs=0) |
static TGo4AbstractInterface * | Instance () |
static void | DeleteInstance () |
static const char * | FileExtension () |
static Int_t | DelayMillisec () |
Protected Member Functions | |
TGo4AbstractInterface () | |
void | Initialize (TGo4ObjectManager *om, TGo4BrowserProxy *br) |
list of shared libraries when application is started More... | |
virtual void | ProcessEvents (Int_t timeout=-1)=0 |
Bool_t | LoadHotStart (const char *filename) |
Bool_t | IsHotStart () |
const char * | NextHotStartCmd () |
void | FreeHotStartCmds () |
Static Protected Member Functions | |
static void | ProduceLoadLibs (std::ostream &fs) |
static const char * | DefaultPicTitle () |
Static Protected Attributes | |
static TGo4AbstractInterface * | fgInstance = 0 |
static TString | fInitSharedLibs = "" |
Private Attributes | |
TGo4ObjectManager * | fOM |
TGo4BrowserProxy * | fBrowser |
TList | fxCommands |
Definition at line 79 of file TGo4AbstractInterface.h.
|
protected |
|
virtual |
destructor
Definition at line 87 of file TGo4AbstractInterface.cxx.
References fBrowser, fgInstance, fOM, FreeHotStartCmds(), and TGo4Log::subGO4SYS().
TGo4AnalysisProxy * TGo4AbstractInterface::Analysis | ( | ) |
Returns pointer on analysis proxy. TGo4AnalysisProxy class provide access to analysis controlling instance in program. Normally should not be used in GUI script.
Definition at line 101 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::FindAnalysis().
Referenced by TGo4Interface::ConnectAnalysis(), TGo4Interface::DisconnectAnalysis(), TGo4Interface::HandleTimer(), TGo4Interface::ShutdownAnalysis(), TGo4Interface::WaitAnalysis(), and TGo4Interface::~TGo4Interface().
|
inlinevirtual |
Configure autosave properties of analysis
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 386 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Configure name of file, where analysis configuration will be saved
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 393 of file TGo4AbstractInterface.h.
|
inline |
Returns pointer on browser proxy. TGo4BrowserProxy class provides complete interface to Go4 browser functionality. Should only be used when interface does not provide required functionality. Can be accessed directly via "br" variable.
Definition at line 138 of file TGo4AbstractInterface.h.
References fBrowser.
Referenced by TGo4Interface::AddAnalysisProxy(), Analysis(), ConnectDabc(), ConnectHServer(), TGo4Script::ConnectHttp(), CopyItem(), DeleteItem(), TGo4Interface::DisconnectAnalysis(), ExportToFile(), FetchItem(), FindItem(), GetObject(), MonitorItem(), OpenFile(), RedrawItem(), SaveToFile(), SaveToMemory(), Server(), TGo4Interface::ShutdownAnalysis(), StartMonitoring(), and StopMonitoring().
TGo4AbstractInterface::ClassDef | ( | TGo4AbstractInterface | , |
1 | |||
) |
|
inlinevirtual |
Set basic step property
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 398 of file TGo4AbstractInterface.h.
|
inlinevirtual |
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 in TGo4Script, and TGo4Interface.
Definition at line 296 of file TGo4AbstractInterface.h.
|
virtual |
Connect to DABC server. Address like dabc://host:port
Definition at line 182 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::ConnectDabc().
|
virtual |
Connect to GSI histogram server. Creates appropriate entry in browser and provides access to histogram. Parameters: servername - IP server name portnumber - socket port number basename - histogram server base name userpass - password to access histogram server filter - filter for historgams names Several connections to different histogram servers are allowed
Definition at line 168 of file TGo4AbstractInterface.cxx.
References Browser(), TGo4BrowserProxy::ConnectHServer(), and ProcessEvents().
|
inlinevirtual |
Connect to HTTP server. Address like http://host:port/subfolder/ authentication may be specified by username account and password pass
Reimplemented in TGo4Script.
Definition at line 257 of file TGo4AbstractInterface.h.
|
virtual |
Copy item to workspace. If there is subfolders with items, they also will be copied.
Definition at line 233 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::ProduceExplicitCopy().
|
staticprotected |
Returns default hotstart file extension
Definition at line 51 of file TGo4AbstractInterface.cxx.
Referenced by TGo4Script::ProduceScript(), and TGo4Script::StartViewPanel().
|
static |
Default delay during hotstart file extension
Definition at line 56 of file TGo4AbstractInterface.cxx.
Referenced by TGo4Script::DoPostProcessing(), TGo4Script::getCounts(), TGo4MainWindow::HotStart(), TGo4MainWindow::ProcessHotStart(), and TGo4MainWindow::ProcessQtEvents().
|
static |
Delete instance of interface class
Definition at line 41 of file TGo4AbstractInterface.cxx.
References fgInstance.
Referenced by TGo4BrowserItem::DeleteItem(), and TGo4MainWindow::~TGo4MainWindow().
|
virtual |
Delete item (if allowed). Can be used to close file, delete memory object, close histogram server connection.
Definition at line 238 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::DeleteDataSource().
|
inlinevirtual |
Disconnects from running analysis. If analysis is running in client mode, analysis will be shutdown.
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 313 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Divide viewpanel on subpads.
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 532 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Draw browser item on specified viewpanel. Parameters: itemname - browser item name, panel - viewpanel, if panel==0, new viewpanel will be created. drawopt - draw options, used in obj->Draw() operation
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 554 of file TGo4AbstractInterface.h.
|
virtual |
Execute one macro line on analysis side. This allows to call any action on analysis, including execution scripts with ".x userscript.C". One should not mix scripts, written for analysis and scripts, written for GUI.
Definition at line 192 of file TGo4AbstractInterface.cxx.
References TGo4ServerProxy::ExecuteLine(), TGo4Log::Message(), and Server().
|
virtual |
Export browser item to different file formats. One, probably, should use FetchItem() before calling this method. If item is folder and contains sub-items, they also will be exported. Parameters: itemname - name of browser, which should be exported, dirpath - directory on disk, where files should be created. format - export file format, can be "ASCII" - text format "Radware" - Radware format (Origin) "ROOT" - binary ROOT format "ROOT XML" - xml ROOT format filetitle - title of create file (only for ROOT formats)
Definition at line 142 of file TGo4AbstractInterface.cxx.
References Browser(), TGo4BrowserProxy::BrowserItemName(), TGo4BrowserProxy::ExportItemsTo(), TGo4Iter::getslot(), TGo4BrowserProxy::ItemSlot(), and TGo4Iter::next().
|
virtual |
Fetch item from data source. Request item from data source, to which item corresponds to. If this is file or histogram server, object will be returned immediately. If this is an item from analysis, first request will be send and then interface will wait "wait_time" milliseconds that object is arrived. If wait_time==0, no waiting will be done and most probably, new object will be assigned to that item several seconds after method is return
Definition at line 243 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::FetchItem().
|
static |
Returns default hotstart file extension
Definition at line 46 of file TGo4AbstractInterface.cxx.
Referenced by TGo4MainWindow::CreateGUIScriptSlot().
|
virtual |
Find item with given object name. Item name includes object name and name of all parent folders. For instance histogram of name "His1" in analysis will have item name "Analysis/Histograms/His1".
Definition at line 225 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::FindItem().
|
inlinevirtual |
Return handle on viewpanel with specified name.
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 520 of file TGo4AbstractInterface.h.
|
protected |
Definition at line 317 of file TGo4AbstractInterface.cxx.
References fxCommands.
Referenced by TGo4Script::FinishExecution(), TGo4Interface::HandleTimer(), TGo4Interface::HotStart(), LoadHotStart(), and ~TGo4AbstractInterface().
|
inlinevirtual |
Return handle of last active viewpanel.
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 526 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Provide item name, drawn in the view panel. Optional cnt parameter could specify sequence number in panel, including all subpads
Reimplemented in TGo4Script.
Definition at line 563 of file TGo4AbstractInterface.h.
|
virtual |
Returns object, assigned to specified browser item. Parameter updatelevel specifies, how object will be requested from data source, to which item correspond to. Possible values for updatelevel parameter: 0 - no request will be done, return last requested object 1 - request to data source only first time, no waiting 2 - request to data source in any case, no waiting >9 - request to data source and wait as many milliseconds as specified by updatelevel Wating required, when object requested from the analysis
Definition at line 253 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::GetBrowserObject().
Referenced by TGo4Interface::DrawItem().
|
inlinevirtual |
Returns pad options for pad with specified number
Reimplemented in TGo4Script.
Definition at line 541 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Return name of viewpanel.
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 517 of file TGo4AbstractInterface.h.
|
pure virtual |
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
Implemented in TGo4Script, and TGo4Interface.
|
protected |
list of shared libraries when application is started
Definition at line 75 of file TGo4AbstractInterface.cxx.
References fBrowser, fOM, and TGo4Log::subGO4SYS().
Referenced by TGo4Interface::TGo4Interface(), and TGo4Script::TGo4Script().
|
static |
Return pointer on instance of implementation of TGo4AbstractInterface class Normally, inside CINT script one should use "go4" variable, which contains TGo4AbstractInterface::Instance() value.
Definition at line 36 of file TGo4AbstractInterface.cxx.
References fgInstance.
Referenced by TGo4Script::ScriptInstance().
|
virtual |
Indicate, if analysis was successfully connected
Definition at line 187 of file TGo4AbstractInterface.cxx.
References TGo4ServerProxy::IsConnected(), and Server().
|
protected |
Definition at line 291 of file TGo4AbstractInterface.cxx.
References fxCommands.
Referenced by TGo4Script::ContinueExecution(), TGo4Script::DoPostProcessing(), TGo4Interface::HandleTimer(), TGo4Interface::ProcessHotStart(), and TGo4Interface::WaitAnalysis().
|
inlinevirtual |
Launch analysis in client mode, using default configuration. Can only work in standard GUI mode
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 271 of file TGo4AbstractInterface.h.
|
inlinevirtual |
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 in TGo4Script, and TGo4Interface.
Definition at line 281 of file TGo4AbstractInterface.h.
|
protected |
Definition at line 269 of file TGo4AbstractInterface.cxx.
References FreeHotStartCmds(), and fxCommands.
Referenced by TGo4Interface::HotStart(), and TGo4Script::StartScriptExecution().
|
virtual |
Load specified ROOT library
Definition at line 111 of file TGo4AbstractInterface.cxx.
|
inlinevirtual |
Display message in GUI status line
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 265 of file TGo4AbstractInterface.h.
|
virtual |
Enable/disable monitoring of browser item. In monitoring mode item regularly will be requested from analysis and viewpanels, where item is drawn, will be updated
Definition at line 208 of file TGo4AbstractInterface.cxx.
References Browser(), TGo4BrowserProxy::BrowserSlot(), and TGo4BrowserProxy::SetItemMonitored().
|
protected |
Definition at line 296 of file TGo4AbstractInterface.cxx.
References fxCommands.
Referenced by TGo4Script::ContinueExecution(), and TGo4Interface::ProcessHotStart().
|
inline |
Returns pointer on object manager. TGo4ObjectManager class should only be used when standard interface does not provide required functionality. Can be accessed directly via "om" variable.
Definition at line 132 of file TGo4AbstractInterface.h.
References fOM.
Referenced by TGo4Interface::AddAnalysisProxy(), and TGo4Interface::~TGo4Interface().
|
virtual |
Open specified file in read-only mode* File and its structure should appear in browser.
Definition at line 127 of file TGo4AbstractInterface.cxx.
References Browser(), TGo4BrowserProxy::OpenFile(), and ProcessEvents().
|
protectedpure virtual |
Implemented in TGo4Script, and TGo4Interface.
Referenced by ConnectHServer(), OpenFile(), and SaveToMemory().
|
staticprotected |
Definition at line 322 of file TGo4AbstractInterface.cxx.
References fInitSharedLibs, and TGo4Log::GO4SYS().
Referenced by TGo4Script::ProduceScript().
|
virtual |
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 in TGo4Interface.
Definition at line 248 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::RedrawItem().
Referenced by TGo4Interface::RedrawItem().
|
inlinevirtual |
Forces of panel redraw.
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 529 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Sends new request to the analysis and waits for new names list
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 360 of file TGo4AbstractInterface.h.
|
virtual |
Requests current analysis configuration
Definition at line 201 of file TGo4AbstractInterface.cxx.
References TGo4ServerProxy::RequestAnalysisSettings(), and Server().
|
virtual |
Save specified browser item to file. Only object, which are already fetched from the data source, will be saved. Therefore, before one call this method, one probably should use FetchItem() method to get objects from file/analysis/histogram server before save them. If item is folder and contains sub-items, they also will be saved. Only binary ROOT files (extension .root) and XML file (extension .xml) are supported.
Definition at line 135 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::SaveBrowserToFile().
|
virtual |
Save object in browser workspace. Object of any type can be saved in browser. It will appear in browser folder "Workspace", where local memory objects are placed. Parameters: path - subpath in "Workspace" folder, where object should be placed obj - pointer ob object ownership - is browser becomes owner of that object If item of that name exists in browser, it will be overwritten by new object Returns path to stored object in browser workspace
Definition at line 260 of file TGo4AbstractInterface.cxx.
References Browser(), ProcessEvents(), and TGo4BrowserProxy::SaveToMemory().
|
inlinevirtual |
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 in TGo4Script, and TGo4Interface.
Definition at line 538 of file TGo4AbstractInterface.h.
TGo4ServerProxy * TGo4AbstractInterface::Server | ( | ) |
Returns pointer on more generic server proxy TGo4ServerProxy class provide access to analysis controlling instance in program. Normally should not be used in GUI script.
Definition at line 106 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::FindServer().
Referenced by TGo4Script::CanConfigureAnalysis(), TGo4Script::execGUICommands(), ExecuteLine(), TGo4Interface::GetAnalStatus(), IsAnalysisConnected(), TGo4Interface::RefreshNamesList(), TGo4Script::RefreshNamesList(), RequestAnalysisConfig(), TGo4Interface::StartAnalysis(), TGo4Script::StartAnalysis(), TGo4Interface::StopAnalysis(), TGo4Script::StopAnalysis(), and TGo4Interface::SubmitAnalysisConfig().
|
inlinevirtual |
Set analysis configuration window mode. Parameters mode indicate that configuration window: -1 - closed, 0 - minimized, 1 - normal state
Reimplemented in TGo4Script.
Definition at line 370 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set analysis terminal window mode. Parameters mode indicate that terminal window: -1 - closed, 0 - minimized, 1 - normal state
Reimplemented in TGo4Script.
Definition at line 365 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set apply to all flag for active pad of viewpanel.
Reimplemented in TGo4Script.
Definition at line 547 of file TGo4AbstractInterface.h.
|
static |
method to set initial list of shared libraries, which than will not be included in hostart file
Definition at line 61 of file TGo4AbstractInterface.cxx.
References fInitSharedLibs.
Referenced by main().
|
inlinevirtual |
Set geometry of main window
Reimplemented in TGo4Script.
Definition at line 497 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set state of all tool boxes in main window
Reimplemented in TGo4Script.
Definition at line 494 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set superimpose flag for active pad of viewpanel.
Reimplemented in TGo4Script.
Definition at line 544 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Change name of viewpanel.
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 523 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Shutdown running analysis. If analysis is running in server mode, only user with administrator privileges can do this
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 318 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Starts (resume) analysis execution
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 354 of file TGo4AbstractInterface.h.
|
virtual |
Start monitoring mode. Parameter "period" specifies how often (in seconds) each monitored item will be updated.
Definition at line 215 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::ToggleMonitoring().
|
inlinevirtual |
Create new view panel. Handle, returned by this method, must be used for other operation, like DivideViewPanel() or SelectPad()
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 502 of file TGo4AbstractInterface.h.
|
inlinevirtual |
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 in TGo4Script, and TGo4Interface.
Definition at line 514 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set back store as step data storage
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 486 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set file source as step data source
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 404 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set file as step data storage
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 477 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set MBS event server as step data source
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 434 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set MBS file source as step data source
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 409 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set custom port number for MBS source like stream or transport server
Reimplemented in TGo4Script.
Definition at line 462 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set retry number for MBS source like stream or transport server
Reimplemented in TGo4Script.
Definition at line 466 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set MBS remote event server as step data source
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 442 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set event selection for MBS source
Reimplemented in TGo4Script.
Definition at line 451 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set MBS stream server as step data source
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 418 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set MBS transport server as step data source
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 426 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set random generator as step data source
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 457 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Set user data source as step data source
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 470 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Stop (suspend) analysis execution
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 357 of file TGo4AbstractInterface.h.
|
virtual |
Stop monitoring mode.
Definition at line 220 of file TGo4AbstractInterface.cxx.
References Browser(), and TGo4BrowserProxy::ToggleMonitoring().
|
inlinevirtual |
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 in TGo4Script, and TGo4Interface.
Definition at line 351 of file TGo4AbstractInterface.h.
|
inlinevirtual |
Wait specified number of seconds. Suppress macro execution, but keeps GUI functional, therefore it is different from gSystem->Sleep() call.
Reimplemented in TGo4Script, and TGo4Interface.
Definition at line 262 of file TGo4AbstractInterface.h.
|
inlinevirtual |
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 in TGo4Script, and TGo4Interface.
Definition at line 306 of file TGo4AbstractInterface.h.
|
private |
Definition at line 82 of file TGo4AbstractInterface.h.
Referenced by Browser(), Initialize(), and ~TGo4AbstractInterface().
|
staticprotected |
Definition at line 89 of file TGo4AbstractInterface.h.
Referenced by DeleteInstance(), Instance(), TGo4AbstractInterface(), and ~TGo4AbstractInterface().
|
staticprotected |
Definition at line 90 of file TGo4AbstractInterface.h.
Referenced by ProduceLoadLibs(), and SetInitSharedLibs().
|
private |
Definition at line 81 of file TGo4AbstractInterface.h.
Referenced by Initialize(), OM(), and ~TGo4AbstractInterface().
|
private |
Definition at line 83 of file TGo4AbstractInterface.h.
Referenced by FreeHotStartCmds(), IsHotStart(), LoadHotStart(), and NextHotStartCmd().