14 #ifndef TGO4PANELCONTAINER_H
15 #define TGO4PANELCONTAINER_H
29 class TVirtualTreePlayer;
37 Bool_t withRootBrowser = kFALSE);
43 virtual Bool_t
Use()
const {
return kFALSE; }
81 Bool_t
ProduceExplicitCopy(
const char* itemname,
const char* tgtpath = 0, Bool_t forcerequest = kFALSE);
87 void CopyClipboard(
const char* tgtpath, Bool_t forcerequest = kFALSE);
101 TString& createdhistoname);
103 TString
SaveToMemory(
const char* pathname, TObject* obj, Bool_t ownership, Bool_t overwrite = kFALSE);
109 Bool_t prefetch = kFALSE,
110 const char* selectedpath = 0,
111 const char* description = 0);
114 const char* filename,
117 const char* description);
129 Bool_t
DefineLeafName(
const char* itemname,
const char* treename, TString& leafname);
135 TString
FindItem(
const char* objname);
136 void FetchItem(
const char* itemname, Int_t wait_time = 0);
139 Bool_t
DefineFileObject(
const char* itemname, TString& filedataslot,
const char** filepath);
140 Bool_t
UpdateObjectInFile(
const char* itemname,
const char* fileslotname,
const char* filepath);
141 Bool_t
SaveItemToFile(
const char* itemname,
const char* filename,
const char* subfolder = 0);
145 Bool_t
DefineRelatedObject(
const char* itemname,
const char* objectname, TString& objectitem, Int_t mask = 3);
163 void SetItemKind(
TGo4Slot* slot, Int_t kind,
const char* classname,
const char* info, Int_t sizeinfo);
206 static Bool_t
UpdateObjectContent(TObject* obj, TObject* newobj, Int_t* hasrebinx = 0, Int_t* hasrebiny = 0);
static bool CanClearItem(int cando)
void SetCanDelete(TGo4Slot *slot, Bool_t on=kTRUE)
static void RestoreAxisTimeProperties(TGraph *gr, Bool_t &timedisplay, TString &format)
ClassDef(TGo4BrowserProxy, 1)
to overcome problem in ROOT
void OpenFile(const char *fname)
static void SaveAxisTimeProperties(TGraph *gr, Bool_t &timedisplay, TString &format)
Bool_t IsItemMonitored(TGo4Slot *slot)
void MakeHttpList(TObjArray *arr)
TString FindItem(const char *objname)
TString SaveToMemory(const char *pathname, TObject *obj, Bool_t ownership, Bool_t overwrite=kFALSE)
TObject * GetBrowserObject(const char *name, Int_t update=0)
void CheckPictureMonitor(TGo4Slot *slot)
void DataSlotName(const char *item, TString &res)
void ExportItemsTo(TObjArray *items, Bool_t fetchitems, const char *filename, const char *filedir, const char *format, const char *description)
Int_t ItemKind(const char *name)
static Bool_t UpdateObjectContent(TObject *obj, TObject *newobj, Int_t *hasrebinx=0, Int_t *hasrebiny=0)
void UpdateBrowserContent()
virtual void Initialize(TGo4Slot *slot)
Bool_t DefineLeafName(const char *itemname, const char *treename, TString &leafname)
Bool_t IsItemRemote(const char *name)
static bool CanDrawItem(int cando)
Int_t UpdateVisibleAnalysisObjects(bool checkmonitor)
void RenameMemoryItem(const char *itemname, const char *newname)
Int_t UpdateAllMonitoredObjects()
virtual TObject * GetAssignedObject()
void SetProtectionBits(TGo4Slot *slot, Int_t delprot, Int_t clearprot)
Int_t ItemCanDo(const char *name)
Bool_t DeleteDataSource(TGo4Slot *itemslot)
void MakeHServerList(TObjArray *arr)
TGo4ServerProxy * DefineServerObject(const char *itemname, TString *objname=0, Bool_t onlyanalysis=kTRUE)
Bool_t IsAnalysisItem(const char *name)
void PerformTreeDraw(const char *treename, const char *Xexp, const char *Yexp, const char *Zexp, const char *cutcond, const char *hname, TString &createdhistoname)
static Bool_t CompareAxisValues(Double_t v1, Double_t v2, Double_t scale)
static bool CanExecuteItem(int cando)
void DoItemMonitor(TGo4Slot *slot)
TClass * ItemClass(const char *name)
static bool CanExpandItem(int cando)
Int_t RequestBrowserObject(const char *name, Int_t wait_time=0)
static Int_t CompareAxis(TAxis *ax1, TAxis *ax2)
void CheckWaitingList(TGo4Slot *source)
void AddWaitingList(TGo4Slot *itemslot, const char *destination=0)
TGo4Slot * FindServerSlot(Bool_t databranch, Int_t kind=0)
TGo4ServerProxy * FindServer(const char *itemname=0, Bool_t asanalysis=kTRUE)
Bool_t ConnectHServer(const char *servername, Int_t portnumber, const char *basename, const char *userpass, const char *filter)
void CreateMemorySubfolder(const char *itemname, const char *newfoldername)
virtual Bool_t HandleTimer(TTimer *timer)
Bool_t SaveBrowserToFile(const char *filename, Bool_t prefetch=kFALSE, const char *selectedpath=0, const char *description=0)
virtual void Finalize(TGo4Slot *slot)
TGo4Slot * DataSlot(const char *item)
static const char * ItemInfo(TGo4Slot *slot)
static bool CanDragItem(int cando)
Bool_t IsCanDelete(TGo4Slot *slot)
Int_t CalculateFolderSizes(TGo4Slot *topslot)
void CopyClipboard(const char *tgtpath, Bool_t forcerequest=kFALSE)
static bool CanExportItem(int cando)
Bool_t DefineFileObject(const char *itemname, TString &filedataslot, const char **filepath)
void CreateMemoryFolder(const char *foldername=0)
void ClearMemoryItem(const char *itemname)
Int_t ItemSizeInfo(TGo4Slot *slot)
void MakeFilesList(TObjArray *arr)
Int_t GetItemFilter() const
void MakeDabcList(TObjArray *arr)
static const char * ItemDate(TGo4Slot *slot)
void RequestObjectStatus(const char *name, TGo4Slot *tgtslot)
TString FindItemInAnalysis(const char *objname)
const char * ItemClassName(const char *name)
TVirtualTreePlayer * fDummyTreePlayer
void SetMonitorBlockingFlag(Bool_t blocked=kFALSE)
void AddToClipboard(const char *itemname)
void FetchItem(const char *itemname, Int_t wait_time=0)
Bool_t DefineRelatedObject(const char *itemname, const char *objectname, TString &objectitem, Int_t mask=3)
Int_t GetCalcSize(TGo4Slot *slot)
TGo4Slot * BrowserSlot(const char *item)
void SetItemMonitored(TGo4Slot *slot, Bool_t on=kTRUE)
virtual ~TGo4BrowserProxy()
TGo4Slot * BrowserMemorySlot()
Bool_t ProduceExplicitCopy(const char *itemname, const char *tgtpath=0, Bool_t forcerequest=kFALSE)
virtual Int_t GetObjectKind()
Bool_t ConnectDabc(const char *nodename)
void RedrawItem(const char *itemname)
static bool CanCloseItem(int cando)
TGo4AnalysisProxy * FindAnalysis(const char *itemname=0)
void InformBrowserUpdate()
static const char * GetLinkedName(TGo4Slot *slot)
Bool_t DefineTreeName(const char *itemname, TString &treename)
void GetProtectionBits(TGo4Slot *slot, Int_t &delprot, Int_t &clearprot)
TGo4ServerProxy * DefineServerProxy(const char *itemname)
static void SetItemCanDo(TGo4Slot *slot, Int_t cando)
TGo4Slot * BrowserTopSlot()
void AddServerProxy(TGo4ServerProxy *serv, const char *slotname, const char *info)
void SetCalcSize(TGo4Slot *slot, Int_t size)
virtual Bool_t ProcessEvent(TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param)
void SetItemKind(TGo4Slot *slot, Int_t kind, const char *classname, const char *info, Int_t sizeinfo)
static bool CanInfoItem(int cando)
static void SetLinkedName(TGo4Slot *slot, const char *itemname)
TGo4ServerProxy * DefineAnalysisObject(const char *itemname, TString &analysisname)
virtual const char * GetContainedClassName()
Bool_t UpdateObjectInFile(const char *itemname, const char *fileslotname, const char *filepath)
void SetItemsFilter(Int_t filter)
virtual Bool_t Use() const
Int_t MonitoringPeriod() const
static const char * ItemTime(TGo4Slot *slot)
static void UpdateListOfFunctions(TGraph *oldgr, TGraph *newgr)
Bool_t UpdateAnalysisItem(const char *itemname, TObject *obj=0)
static bool CanEditItem(int cando)
Bool_t BrowserItemName(TGo4Slot *itemslot, TString &res)
static void SetItemTimeDate(TGo4Slot *slot, const char *stime=0, const char *sdate=0)
TGo4Slot * ItemSlot(const char *itemname)
static Int_t DefineItemProperties(Int_t kind, TClass *cl, TString &pixmap)
void ToggleMonitoring(Int_t period)
Bool_t SaveItemToFile(const char *itemname, const char *filename, const char *subfolder=0)
void BrowserSlotName(const char *item, TString &res)