#include <TGo4Interface.h>
Public Member Functions | |
TGo4Interface () | |
TGo4Interface (const TGo4Interface &) | |
virtual | ~TGo4Interface () |
void | Wait (double tm_sec) |
void | HotStart (const char *filename) |
void | Message (const char *msg) |
void | LaunchAnalysis () |
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) |
void | ConnectAnalysis (const char *ServerNode, Int_t ServerPort, Int_t ControllerMode, const char *password=0) |
void | WaitAnalysis (Int_t delay_sec) |
void | DisconnectAnalysis () |
void | ShutdownAnalysis () |
void | SubmitAnalysisConfig (int tmout=20) |
void | StartAnalysis () |
void | StopAnalysis () |
void | RefreshNamesList (int tmout=10) |
void | AnalysisAutoSave (const char *filename, Int_t interval, Int_t compression, Bool_t enabled, Bool_t overwrite) |
void | AnalysisConfigName (const char *filename) |
void | ConfigStep (const char *stepname, Bool_t enableprocess, Bool_t enablesource, Bool_t enablestore) |
void | StepFileSource (const char *stepname, const char *sourcename, int timeout) |
void | StepMbsFileSource (const char *stepname, const char *sourcename, int timeout, const char *TagFile, int start=0, int stop=0, int interval=0) |
void | StepMbsStreamSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) |
void | StepMbsTransportSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) |
void | StepMbsEventServerSource (const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0) |
void | StepMbsRevServSource (const char *stepname, const char *sourcename, int timeout, int port, int start=0, int stop=0, int interval=0) |
void | StepRandomSource (const char *stepname, const char *sourcename, int timeout) |
void | StepUserSource (const char *stepname, const char *sourcename, int timeout, int port, const char *expr) |
void | StepFileStore (const char *stepname, const char *storename, bool overwrite, int bufsize, int splitlevel, int compression) |
void | StepBackStore (const char *stepname, const char *storename, int bufsize, int splitlevel) |
ViewPanelHandle | StartViewPanel () |
ViewPanelHandle | StartViewPanel (int x, int y, int width, int height, int mode=1, TGo4Picture *pic=0) |
TString | GetViewPanelName (ViewPanelHandle handle) |
ViewPanelHandle | FindViewPanel (const char *name) |
Bool_t | SetViewPanelName (ViewPanelHandle handle, const char *newname) |
ViewPanelHandle | GetActiveViewPanel () |
void | RedrawPanel (ViewPanelHandle panel) |
void | DivideViewPanel (ViewPanelHandle panel, Int_t numX, Int_t numY) |
TPad * | SelectPad (ViewPanelHandle panel, Int_t number=0) |
Bool_t | DrawItem (const char *itemname, ViewPanelHandle panel=0, const char *drawopt=0) |
void | RedrawItem (const char *itemname) |
void | ProcessHotStart () |
virtual Bool_t | HandleTimer (TTimer *timer) |
Protected Member Functions | |
void | ProcessEvents (Int_t timeout=-1) |
TGo4AnalysisProxy * | AddAnalysisProxy (Bool_t isserver) |
TGo4AnalysisStatus * | GetAnalStatus () |
TGo4AnalysisStepStatus * | GetStepStatus (const char *stepname) |
ClassDef (TGo4Interface, 1) | |
Protected Attributes | |
TGo4RootBrowserProxy * | fRootBrowser |
TString | fOMDataPath |
TString | fOMBrowserPath |
TString | fOMEditorsPath |
Bool_t | fCmdFinished |
TTimer * | fCmdTimer |
Int_t | fWaitCounter |
Definition at line 25 of file TGo4Interface.h.
TGo4Interface::TGo4Interface | ( | ) |
Definition at line 44 of file TGo4Interface.cxx.
References TGo4ObjectManager::AddLink(), TGo4ObjectManager::AddProxy(), TGo4BrowserProxy::BrowserTopSlot(), TGo4BrowserProxy::CreateMemoryFolder(), fOMBrowserPath, fOMDataPath, fOMEditorsPath, fRootBrowser, TGo4AbstractInterface::Initialize(), and TGo4ObjectManager::MakeFolder().
TGo4Interface::TGo4Interface | ( | const TGo4Interface & | ) | [inline] |
Definition at line 31 of file TGo4Interface.h.
TGo4Interface::~TGo4Interface | ( | ) | [virtual] |
Definition at line 78 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), DisconnectAnalysis(), fCmdTimer, and TGo4AbstractInterface::OM().
TGo4AnalysisProxy * TGo4Interface::AddAnalysisProxy | ( | Bool_t | isserver | ) | [protected] |
Definition at line 129 of file TGo4Interface.cxx.
References TGo4ObjectManager::AddLink(), TGo4ObjectManager::AddProxy(), TGo4AbstractInterface::Browser(), TGo4BrowserProxy::DataSlot(), fOMDataPath, fOMEditorsPath, fRootBrowser, TGo4Slot::GetProxy(), TGo4AnalysisProxy::LoginfoSlot(), TGo4AbstractInterface::OM(), TGo4AnalysisProxy::RatemeterSlot(), TGo4AnalysisProxy::SetAnalysisReady(), and TGo4AnalysisProxy::SetDefaultReceiver().
Referenced by ConnectAnalysis(), and LaunchAnalysis().
void TGo4Interface::AnalysisAutoSave | ( | const char * | filename, | |
Int_t | interval, | |||
Int_t | compression, | |||
Bool_t | enabled, | |||
Bool_t | overwrite | |||
) | [virtual] |
Configure autosave properties of analysis
Reimplemented from TGo4AbstractInterface.
Definition at line 329 of file TGo4Interface.cxx.
References GetAnalStatus(), TGo4AnalysisStatus::SetAutoFileName(), TGo4AnalysisStatus::SetAutoSaveCompression(), TGo4AnalysisStatus::SetAutoSaveInterval(), TGo4AnalysisStatus::SetAutoSaveOn(), and TGo4AnalysisStatus::SetAutoSaveOverwrite().
void TGo4Interface::AnalysisConfigName | ( | const char * | filename | ) | [virtual] |
Configure name of file, where analysis configuration will be saved
Reimplemented from TGo4AbstractInterface.
Definition at line 345 of file TGo4Interface.cxx.
References GetAnalStatus(), and TGo4AnalysisStatus::SetConfigFileName().
TGo4Interface::ClassDef | ( | TGo4Interface | , | |
1 | ||||
) | [protected] |
void TGo4Interface::ConfigStep | ( | const char * | stepname, | |
Bool_t | enableprocess, | |||
Bool_t | enablesource, | |||
Bool_t | enablestore | |||
) | [virtual] |
Set basic step property
Reimplemented from TGo4AbstractInterface.
Definition at line 358 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4AnalysisStepStatus::SetProcessEnabled(), TGo4AnalysisStepStatus::SetSourceEnabled(), and TGo4AnalysisStepStatus::SetStoreEnabled().
void TGo4Interface::ConnectAnalysis | ( | const char * | ServerNode, | |
Int_t | ServerPort, | |||
Int_t | UserMode, | |||
const char * | password = 0 | |||
) | [virtual] |
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 186 of file TGo4Interface.cxx.
References AddAnalysisProxy(), TGo4AbstractInterface::Analysis(), TGo4AnalysisProxy::ConnectToServer(), ProcessEvents(), and TGo4AnalysisProxy::RequestAnalysisSettings().
void TGo4Interface::DisconnectAnalysis | ( | ) | [virtual] |
Disconnects from running analysis. If analysis is running in client mode, analysis will be shutdown.
Reimplemented from TGo4AbstractInterface.
Definition at line 232 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), TGo4AbstractInterface::Browser(), TGo4AnalysisProxy::DisconnectAnalysis(), ProcessEvents(), and TGo4BrowserProxy::ToggleMonitoring().
Referenced by ~TGo4Interface().
void TGo4Interface::DivideViewPanel | ( | ViewPanelHandle | panel, | |
Int_t | numX, | |||
Int_t | numY | |||
) | [virtual] |
Divide viewpanel on subpads.
Reimplemented from TGo4AbstractInterface.
Definition at line 603 of file TGo4Interface.cxx.
Bool_t TGo4Interface::DrawItem | ( | const char * | itemname, | |
ViewPanelHandle | panel = 0 , |
|||
const char * | drawopt = 0 | |||
) | [virtual] |
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 from TGo4AbstractInterface.
Definition at line 616 of file TGo4Interface.cxx.
References TGo4AbstractInterface::GetObject(), and StartViewPanel().
ViewPanelHandle TGo4Interface::FindViewPanel | ( | const char * | name | ) | [virtual] |
Return handle on viewpanel with specified name.
Reimplemented from TGo4AbstractInterface.
Definition at line 566 of file TGo4Interface.cxx.
ViewPanelHandle TGo4Interface::GetActiveViewPanel | ( | ) | [virtual] |
Return handle of last active viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 588 of file TGo4Interface.cxx.
TGo4AnalysisStatus * TGo4Interface::GetAnalStatus | ( | ) | [protected] |
Definition at line 319 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), TGo4Slot::GetAssignedObject(), and TGo4AnalysisProxy::SettingsSlot().
Referenced by AnalysisAutoSave(), AnalysisConfigName(), and GetStepStatus().
TGo4AnalysisStepStatus * TGo4Interface::GetStepStatus | ( | const char * | stepname | ) | [protected] |
Definition at line 352 of file TGo4Interface.cxx.
References GetAnalStatus(), and TGo4AnalysisStatus::GetStepStatus().
Referenced by ConfigStep(), StepBackStore(), StepFileSource(), StepFileStore(), StepMbsEventServerSource(), StepMbsFileSource(), StepMbsRevServSource(), StepMbsStreamSource(), StepMbsTransportSource(), StepRandomSource(), and StepUserSource().
TString TGo4Interface::GetViewPanelName | ( | ViewPanelHandle | panel | ) | [virtual] |
Return name of viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 560 of file TGo4Interface.cxx.
Bool_t TGo4Interface::HandleTimer | ( | TTimer * | timer | ) | [virtual] |
Definition at line 645 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), fCmdTimer, TGo4AbstractInterface::FreeHotStartCmds(), fWaitCounter, TGo4AnalysisProxy::IsAnalysisReady(), TGo4AbstractInterface::IsHotStart(), and ProcessHotStart().
void TGo4Interface::HotStart | ( | const char * | filename | ) | [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
Implements TGo4AbstractInterface.
Definition at line 670 of file TGo4Interface.cxx.
References fCmdFinished, fCmdTimer, TGo4AbstractInterface::FreeHotStartCmds(), and TGo4AbstractInterface::LoadHotStart().
void TGo4Interface::LaunchAnalysis | ( | ) | [virtual] |
Launch analysis in client mode, using default configuration. Can only work in standard GUI mode
Reimplemented from TGo4AbstractInterface.
Definition at line 123 of file TGo4Interface.cxx.
void TGo4Interface::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] |
Launch analysis in client mode. Parameters: ClientName - arbitrary name of analysis, used for diaplay 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 157 of file TGo4Interface.cxx.
References AddAnalysisProxy(), TGo4AnalysisProxy::LaunchAsClient(), and ProcessEvents().
void TGo4Interface::Message | ( | const char * | msg | ) | [virtual] |
Display message in GUI status line
Reimplemented from TGo4AbstractInterface.
Definition at line 117 of file TGo4Interface.cxx.
References fRootBrowser, and TGo4RootBrowserProxy::Message().
Referenced by SetViewPanelName().
void TGo4Interface::ProcessEvents | ( | Int_t | timeout = -1 |
) | [protected, virtual] |
Implements TGo4AbstractInterface.
Definition at line 95 of file TGo4Interface.cxx.
References Wait().
Referenced by ConnectAnalysis(), DisconnectAnalysis(), and LaunchAnalysis().
void TGo4Interface::ProcessHotStart | ( | ) |
Definition at line 686 of file TGo4Interface.cxx.
References fCmdFinished, TGo4AbstractInterface::IsHotStart(), and TGo4AbstractInterface::NextHotStartCmd().
Referenced by HandleTimer().
void TGo4Interface::RedrawItem | ( | const char * | itemname | ) | [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 from TGo4AbstractInterface.
Definition at line 627 of file TGo4Interface.cxx.
void TGo4Interface::RedrawPanel | ( | ViewPanelHandle | panel | ) | [virtual] |
Forces of panel redraw.
Reimplemented from TGo4AbstractInterface.
Definition at line 594 of file TGo4Interface.cxx.
void TGo4Interface::RefreshNamesList | ( | int | tmout = 10 |
) | [virtual] |
Sends new request to the analysis and waits for new names list
Reimplemented from TGo4AbstractInterface.
Definition at line 302 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), TGo4AnalysisProxy::NamesListReceived(), and TGo4AnalysisProxy::RefreshNamesList().
TPad * TGo4Interface::SelectPad | ( | ViewPanelHandle | panel, | |
Int_t | number = 0 | |||
) | [virtual] |
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 609 of file TGo4Interface.cxx.
Bool_t TGo4Interface::SetViewPanelName | ( | ViewPanelHandle | panel, | |
const char * | newname | |||
) | [virtual] |
Change name of viewpanel.
Reimplemented from TGo4AbstractInterface.
Definition at line 571 of file TGo4Interface.cxx.
References Message().
void TGo4Interface::ShutdownAnalysis | ( | ) | [virtual] |
Shutdown running analysis. If analysis is running in server mode, only user with administrator privileges can do this
Reimplemented from TGo4AbstractInterface.
Definition at line 244 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), TGo4AbstractInterface::Browser(), TGo4AnalysisProxy::DisconnectAnalysis(), TGo4AnalysisProxy::IsAdministrator(), TGo4AnalysisProxy::IsAnalysisServer(), TGo4AnalysisProxy::IsConnected(), and TGo4BrowserProxy::ToggleMonitoring().
void TGo4Interface::StartAnalysis | ( | ) | [virtual] |
Starts (resume) analysis execution
Reimplemented from TGo4AbstractInterface.
Definition at line 276 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), TGo4AnalysisProxy::DelayedRefreshNamesList(), TGo4AnalysisProxy::RefreshNamesList(), and TGo4AnalysisProxy::StartAnalysis().
ViewPanelHandle TGo4Interface::StartViewPanel | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height, | |||
int | mode = 1 , |
|||
TGo4Picture * | pic = 0 | |||
) | [virtual] |
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 - diplay 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 544 of file TGo4Interface.cxx.
References TGo4RootBrowserProxy::DrawPicture(), and fRootBrowser.
ViewPanelHandle TGo4Interface::StartViewPanel | ( | ) | [virtual] |
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 539 of file TGo4Interface.cxx.
Referenced by DrawItem().
void TGo4Interface::StepBackStore | ( | const char * | stepname, | |
const char * | storename, | |||
int | bufsize, | |||
int | splitlevel | |||
) | [virtual] |
Set back store ss step data storage
Reimplemented from TGo4AbstractInterface.
Definition at line 525 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4BackStoreParameter::SetBufsize(), TGo4BackStoreParameter::SetSplitlevel(), and TGo4AnalysisStepStatus::SetStorePar().
void TGo4Interface::StepFileSource | ( | const char * | stepname, | |
const char * | sourcename, | |||
int | timeout | |||
) | [virtual] |
Set file source as step data source
Reimplemented from TGo4AbstractInterface.
Definition at line 371 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4AnalysisStepStatus::SetSourcePar(), and TGo4EventSourceParameter::SetTimeout().
void TGo4Interface::StepFileStore | ( | const char * | stepname, | |
const char * | storename, | |||
bool | overwrite, | |||
int | bufsize, | |||
int | splitlevel, | |||
int | compression | |||
) | [virtual] |
Set file as step data storage
Reimplemented from TGo4AbstractInterface.
Definition at line 507 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4FileStoreParameter::SetBufsize(), TGo4FileStoreParameter::SetCompression(), TGo4FileStoreParameter::SetOverwriteMode(), TGo4FileStoreParameter::SetSplitlevel(), and TGo4AnalysisStepStatus::SetStorePar().
void TGo4Interface::StepMbsEventServerSource | ( | const char * | stepname, | |
const char * | sourcename, | |||
int | timeout, | |||
int | start = 0 , |
|||
int | stop = 0 , |
|||
int | interval = 0 | |||
) | [virtual] |
Set MBS event server as step data source
Reimplemented from TGo4AbstractInterface.
Definition at line 441 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), and TGo4EventSourceParameter::SetTimeout().
void TGo4Interface::StepMbsFileSource | ( | const char * | stepname, | |
const char * | sourcename, | |||
int | timeout, | |||
const char * | TagFile, | |||
int | start = 0 , |
|||
int | stop = 0 , |
|||
int | interval = 0 | |||
) | [virtual] |
Set MBS file source as step data source
Reimplemented from TGo4AbstractInterface.
Definition at line 383 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), TGo4MbsFileParameter::SetTagName(), and TGo4EventSourceParameter::SetTimeout().
void TGo4Interface::StepMbsRevServSource | ( | const char * | stepname, | |
const char * | sourcename, | |||
int | timeout, | |||
int | port, | |||
int | start = 0 , |
|||
int | stop = 0 , |
|||
int | interval = 0 | |||
) | [virtual] |
Set MBS remote event server as step data source
Reimplemented from TGo4AbstractInterface.
Definition at line 459 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4MbsSourceParameter::SetPort(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), and TGo4EventSourceParameter::SetTimeout().
void TGo4Interface::StepMbsStreamSource | ( | const char * | stepname, | |
const char * | sourcename, | |||
int | timeout, | |||
int | start = 0 , |
|||
int | stop = 0 , |
|||
int | interval = 0 | |||
) | [virtual] |
Set MBS stream server as step data source
Reimplemented from TGo4AbstractInterface.
Definition at line 405 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), and TGo4EventSourceParameter::SetTimeout().
void TGo4Interface::StepMbsTransportSource | ( | const char * | stepname, | |
const char * | sourcename, | |||
int | timeout, | |||
int | start = 0 , |
|||
int | stop = 0 , |
|||
int | interval = 0 | |||
) | [virtual] |
Set MBS transport server as step data source
Reimplemented from TGo4AbstractInterface.
Definition at line 423 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4MbsSourceParameter::SetEventInterval(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4MbsSourceParameter::SetStartEvent(), TGo4MbsSourceParameter::SetStopEvent(), and TGo4EventSourceParameter::SetTimeout().
void TGo4Interface::StepRandomSource | ( | const char * | stepname, | |
const char * | sourcename, | |||
int | timeout | |||
) | [virtual] |
Set random generator as step data source
Reimplemented from TGo4AbstractInterface.
Definition at line 479 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4AnalysisStepStatus::SetSourcePar(), and TGo4EventSourceParameter::SetTimeout().
void TGo4Interface::StepUserSource | ( | const char * | stepname, | |
const char * | sourcename, | |||
int | timeout, | |||
int | port, | |||
const char * | expr | |||
) | [virtual] |
Set user data source as step data source
Reimplemented from TGo4AbstractInterface.
Definition at line 491 of file TGo4Interface.cxx.
References GetStepStatus(), TGo4UserSourceParameter::SetExpression(), TGo4UserSourceParameter::SetPort(), TGo4AnalysisStepStatus::SetSourcePar(), and TGo4EventSourceParameter::SetTimeout().
void TGo4Interface::StopAnalysis | ( | ) | [virtual] |
Stop (suspend) analysis execution
Reimplemented from TGo4AbstractInterface.
Definition at line 290 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), and TGo4AnalysisProxy::StopAnalysis().
void TGo4Interface::SubmitAnalysisConfig | ( | int | tmout = 20 |
) | [virtual] |
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 258 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), TGo4AnalysisProxy::IsAnalysisSettingsReady(), TGo4AnalysisProxy::NamesListReceived(), TGo4AnalysisProxy::RefreshNamesList(), and TGo4AnalysisProxy::SubmitAnalysisSettings().
void TGo4Interface::Wait | ( | double | tm_sec | ) | [virtual] |
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 100 of file TGo4Interface.cxx.
Referenced by ProcessEvents().
void TGo4Interface::WaitAnalysis | ( | Int_t | delay_sec | ) | [virtual] |
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 208 of file TGo4Interface.cxx.
References TGo4AbstractInterface::Analysis(), fWaitCounter, TGo4AnalysisProxy::IsAnalysisReady(), and TGo4AbstractInterface::IsHotStart().
Bool_t TGo4Interface::fCmdFinished [protected] |
Definition at line 168 of file TGo4Interface.h.
Referenced by HotStart(), and ProcessHotStart().
TTimer* TGo4Interface::fCmdTimer [protected] |
Definition at line 169 of file TGo4Interface.h.
Referenced by HandleTimer(), HotStart(), and ~TGo4Interface().
TString TGo4Interface::fOMBrowserPath [protected] |
Definition at line 166 of file TGo4Interface.h.
Referenced by TGo4Interface().
TString TGo4Interface::fOMDataPath [protected] |
Definition at line 165 of file TGo4Interface.h.
Referenced by AddAnalysisProxy(), and TGo4Interface().
TString TGo4Interface::fOMEditorsPath [protected] |
Definition at line 167 of file TGo4Interface.h.
Referenced by AddAnalysisProxy(), and TGo4Interface().
TGo4RootBrowserProxy* TGo4Interface::fRootBrowser [protected] |
Definition at line 164 of file TGo4Interface.h.
Referenced by AddAnalysisProxy(), Message(), StartViewPanel(), and TGo4Interface().
Int_t TGo4Interface::fWaitCounter [protected] |
Definition at line 170 of file TGo4Interface.h.
Referenced by HandleTimer(), and WaitAnalysis().