14 #ifndef TGO4ABSTRACTINTERFACE_H
15 #define TGO4ABSTRACTINTERFACE_H
154 virtual void HotStart(
const char* filename) = 0;
163 virtual void OpenFile(
const char* fname);
169 virtual TString
FindItem(
const char* objname);
173 virtual Bool_t
CopyItem(
const char* itemname);
177 virtual Bool_t
DeleteItem(
const char* itemname);
186 virtual void FetchItem(
const char* itemname, Int_t wait_time = 2000);
197 virtual TObject*
GetObject(
const char* itemname, Int_t updatelevel = 1);
208 virtual TString
SaveToMemory(
const char* path, TObject* obj, Bool_t ownership = kFALSE);
216 virtual Bool_t
SaveToFile(
const char* itemname,
217 const char* filename,
218 const char* filetitle = 0);
235 const char* filetitle = 0);
248 const char* basename,
249 const char* userpass,
262 virtual void Wait(
double tm_sec) {}
282 const char* ClientDir,
283 const char* ClientExec,
284 const char* ClientNode,
288 const char* UserArgs = 0) {}
299 const char* password = 0) {}
375 virtual void MonitorItem(
const char* itemname, Bool_t on = kTRUE);
399 Bool_t enableprocess,
401 Bool_t enablestore) {}
405 const char* sourcename,
410 const char* sourcename,
419 const char* sourcename,
427 const char* sourcename,
435 const char* sourcename,
443 const char* sourcename,
458 const char* sourcename,
471 const char* sourcename,
478 const char* storename,
483 int autosaveperiod=0) {}
487 const char* storename,
559 virtual void RedrawItem(
const char* itemname);
virtual ViewPanelHandle StartViewPanel()
static TGo4AbstractInterface * fgInstance
virtual void StepMbsRevServSource(const char *stepname, const char *sourcename, int timeout, int port=0, int start=0, int stop=0, int interval=0)
virtual TObject * GetObject(const char *itemname, Int_t updatelevel=1)
virtual Bool_t DrawItem(const char *itemname, ViewPanelHandle panel=0, const char *drawopt=0)
virtual void RefreshNamesList(int tmout=10)
Bool_t LoadHotStart(const char *filename)
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 StepUserSource(const char *stepname, const char *sourcename, int timeout, int port, const char *expr)
virtual void HotStart(const char *filename)=0
virtual void SetAnalysisTerminalMode(int mode)
virtual TPad * SelectPad(ViewPanelHandle panel, Int_t number=0)
virtual Bool_t ExportToFile(const char *itemname, const char *dirpath, const char *format, const char *filetitle=0)
virtual void DivideViewPanel(ViewPanelHandle panel, Int_t numX, Int_t numY)
virtual void FetchItem(const char *itemname, Int_t wait_time=2000)
TGo4BrowserProxy * Browser() const
virtual void StepRandomSource(const char *stepname, const char *sourcename, int timeout)
virtual void StepMbsRetryCnt(const char *stepname, int cnt)
virtual void ConnectAnalysis(const char *ServerNode, Int_t ServerPort, Int_t UserMode, const char *password=0)
void Initialize(TGo4ObjectManager *om, TGo4BrowserProxy *br)
list of shared libraries when application is started
virtual void RequestAnalysisConfig()
virtual void SetMainWindowState(int qtversion, const char *val)
virtual void RedrawItem(const char *itemname)
virtual TGo4ServerProxy * ConnectHttp(const char *servername, const char *account=0, const char *pass=0)
virtual void StepFileSource(const char *stepname, const char *sourcename, int timeout)
virtual void ConfigStep(const char *stepname, Bool_t enableprocess, Bool_t enablesource, Bool_t enablestore)
virtual void StepBackStore(const char *stepname, const char *storename, int bufsize, int splitlevel)
static void SetInitSharedLibs(const char *libs=0)
virtual void DisconnectAnalysis()
virtual void SubmitAnalysisConfig(int tmout=20)
static const char * FileExtension()
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 void SetApplyToAll(ViewPanelHandle panel, Bool_t on=kTRUE)
virtual void OpenFile(const char *fname)
virtual const char * GetDrawnItemName(ViewPanelHandle panel, int cnt=0)
virtual void ShutdownAnalysis()
virtual void StepMbsEventServerSource(const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0)
TGo4AnalysisProxy * Analysis()
virtual ViewPanelHandle FindViewPanel(const char *name)
virtual void StepMbsSelection(const char *stepname, int start, int stop, int interval)
const char * NextHotStartCmd()
virtual void Wait(double tm_sec)
virtual void SetMainWindowGeometry(int qtversion, const char *val)
virtual Bool_t IsAnalysisConnected()
static void DeleteInstance()
static TString fInitSharedLibs
virtual void ConnectHServer(const char *servername, Int_t portnumber, const char *basename, const char *userpass, const char *filter)
static const char * DefaultPicTitle()
static Int_t DelayMillisec()
virtual void StepMbsStreamSource(const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0)
virtual Bool_t DeleteItem(const char *itemname)
virtual void StartMonitoring(Int_t period=10)
TGo4ServerProxy * Server()
virtual TGo4Picture * GetPadOptions(ViewPanelHandle panel, Int_t padnumber=0)
virtual void ProcessEvents(Int_t timeout=-1)=0
virtual void ExecuteLine(const char *remotecmd)
virtual void AnalysisConfigName(const char *filename)
virtual TString GetViewPanelName(ViewPanelHandle panel)
TGo4BrowserProxy * fBrowser
virtual Bool_t CopyItem(const char *itemname)
virtual void Message(const char *msg)
virtual void RedrawPanel(ViewPanelHandle panel)
virtual Bool_t SetViewPanelName(ViewPanelHandle panel, const char *newname)
virtual void LaunchAnalysis()
virtual void StopMonitoring()
virtual void StartAnalysis()
static void ProduceLoadLibs(std::ostream &fs)
virtual void ConnectDabc(const char *servername)
virtual void SetSuperimpose(ViewPanelHandle panel, Bool_t on=kTRUE)
virtual void WaitAnalysis(Int_t delay_sec)
virtual void StepMbsFileSource(const char *stepname, const char *sourcename, int timeout, const char *TagFile, int start=0, int stop=0, int interval=0)
virtual TString FindItem(const char *objname)
virtual ViewPanelHandle GetActiveViewPanel()
virtual void MonitorItem(const char *itemname, Bool_t on=kTRUE)
ClassDef(TGo4AbstractInterface, 1)
static TGo4AbstractInterface * Instance()
TGo4ObjectManager * OM() const
virtual void StepMbsPort(const char *stepname, int port)
virtual void StepMbsTransportSource(const char *stepname, const char *sourcename, int timeout, int start=0, int stop=0, int interval=0)
virtual ~TGo4AbstractInterface()
virtual void StepFileStore(const char *stepname, const char *storename, bool overwrite, int bufsize, int splitlevel, int compression, int autosaveperiod=0)
virtual void SetAnalysisConfigMode(int mode)
virtual void AnalysisAutoSave(const char *filename, Int_t interval, Int_t compression, Bool_t enabled, Bool_t overwrite)
virtual void StopAnalysis()
virtual void LoadLibrary(const char *fname)
virtual ViewPanelHandle StartViewPanel(int x, int y, int width, int height, int mode=1, TGo4Picture *pic=0)