#include <TGo4RootBrowserProxy.h>
Public Member Functions | |
TGo4RootBrowserProxy (TGo4BrowserProxy *br=0) | |
virtual | ~TGo4RootBrowserProxy () |
virtual Bool_t | ProcessEvent (TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param) |
void | UnblockStatusOutput () |
void | DrawPicture (const char *itemname, TGo4Picture *pic, TPad *pad) |
void | DrawCondition (const char *itemname, TGo4Condition *con) |
void | DrawItem (const char *itemname) |
void | Message (const char *str1, const char *str2, Int_t blockdelay) |
Protected Member Functions | |
void | UpdateRatemeter (TObject *obj) |
void | UpdateLoginfo (TObject *obj) |
TCanvas * | MakeCanvas (const char *title=0) |
void | SyncRootBrowserSlots () |
ClassDef (TGo4RootBrowserProxy, 1) | |
Protected Attributes | |
TGo4BrowserProxy * | fBrowser |
Bool_t | fLockMessage |
Static Protected Attributes | |
static Int_t | fCanvasCounter = 0 |
Definition at line 25 of file TGo4RootBrowserProxy.h.
TGo4RootBrowserProxy::TGo4RootBrowserProxy | ( | TGo4BrowserProxy * | br = 0 |
) |
Definition at line 45 of file TGo4RootBrowserProxy.cxx.
TGo4RootBrowserProxy::~TGo4RootBrowserProxy | ( | ) | [virtual] |
Definition at line 52 of file TGo4RootBrowserProxy.cxx.
TGo4RootBrowserProxy::ClassDef | ( | TGo4RootBrowserProxy | , | |
1 | ||||
) | [protected] |
void TGo4RootBrowserProxy::DrawCondition | ( | const char * | itemname, | |
TGo4Condition * | con | |||
) |
Definition at line 367 of file TGo4RootBrowserProxy.cxx.
References TGo4BrowserProxy::DefineRelatedObject(), TGo4Condition::Draw(), fBrowser, TGo4BrowserProxy::GetBrowserObject(), TGo4Condition::GetLinkedHistogram(), MakeCanvas(), and TGo4Condition::SetWorkHistogram().
Referenced by DrawItem().
void TGo4RootBrowserProxy::DrawItem | ( | const char * | itemname | ) |
Definition at line 394 of file TGo4RootBrowserProxy.cxx.
References TGo4BrowserProxy::CanDrawItem(), DrawCondition(), DrawPicture(), fBrowser, TGo4BrowserProxy::GetBrowserObject(), TGo4BrowserProxy::ItemCanDo(), TGo4BrowserProxy::ItemClass(), and MakeCanvas().
Referenced by TGo4BrowserItem::DrawItem().
void TGo4RootBrowserProxy::DrawPicture | ( | const char * | itemname, | |
TGo4Picture * | pic, | |||
TPad * | pad | |||
) |
Definition at line 314 of file TGo4RootBrowserProxy.cxx.
References TGo4BrowserProxy::DefineRelatedObject(), TGo4Condition::Draw(), fBrowser, TGo4Picture::FindPic(), TGo4BrowserProxy::GetBrowserObject(), TGo4Picture::GetDivX(), TGo4Picture::GetDivY(), TGo4Picture::GetDrawAttributes(), TGo4Picture::GetDrawOption(), TGo4Picture::GetNumObjNames(), TGo4Picture::GetObjName(), TGo4Picture::IsDivided(), TGo4Picture::PictureIndex, and TGo4Condition::SetWorkHistogram().
Referenced by DrawItem(), and TGo4Interface::StartViewPanel().
TCanvas * TGo4RootBrowserProxy::MakeCanvas | ( | const char * | title = 0 |
) | [protected] |
Definition at line 301 of file TGo4RootBrowserProxy.cxx.
References fCanvasCounter.
Referenced by DrawCondition(), and DrawItem().
void TGo4RootBrowserProxy::Message | ( | const char * | str1, | |
const char * | str2, | |||
Int_t | blockdelay | |||
) |
Definition at line 81 of file TGo4RootBrowserProxy.cxx.
References fLockMessage.
Referenced by TGo4Interface::Message(), UpdateLoginfo(), and UpdateRatemeter().
Bool_t TGo4RootBrowserProxy::ProcessEvent | ( | TGo4Slot * | slot, | |
TGo4Slot * | source, | |||
Int_t | id, | |||
void * | param | |||
) | [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 61 of file TGo4RootBrowserProxy.cxx.
References TGo4Slot::evDelete, TGo4Slot::evObjAssigned, TGo4Slot::evObjUpdated, TGo4Slot::GetAssignedObject(), SyncRootBrowserSlots(), UpdateLoginfo(), and UpdateRatemeter().
void TGo4RootBrowserProxy::SyncRootBrowserSlots | ( | ) | [protected] |
Definition at line 157 of file TGo4RootBrowserProxy.cxx.
References TGo4BrowserProxy::BrowserTopSlot(), TGo4BrowserProxy::DefineItemProperties(), TGo4BrowserItem::Delete(), TGo4BrowserItem::deleteChild(), TGo4BrowserItem::deleteChilds(), fBrowser, TGo4BrowserItem::firstChild(), TGo4BrowserItem::GetParent(), TGo4BrowserProxy::ItemClassName(), TGo4BrowserProxy::ItemInfo(), TGo4BrowserProxy::ItemKind(), TGo4Access::kndDataMember, TGo4Access::kndEventElement, TGo4Access::kndGo4Param, TGo4Access::kndTreeBranch, TGo4Access::kndTreeLeaf, TGo4BrowserItem::nextChild(), TGo4BrowserItem::SetBrowser(), TGo4BrowserItem::SetIconName(), TGo4BrowserItem::SetIsFolder(), TGo4BrowserProxy::SetItemCanDo(), TGo4BrowserItem::SetItemClass(), TGo4BrowserItem::SetTitle(), and TGo4Log::subGO4SYS().
Referenced by ProcessEvent().
void TGo4RootBrowserProxy::UnblockStatusOutput | ( | ) |
Definition at line 152 of file TGo4RootBrowserProxy.cxx.
References fLockMessage.
void TGo4RootBrowserProxy::UpdateLoginfo | ( | TObject * | obj | ) | [protected] |
Definition at line 145 of file TGo4RootBrowserProxy.cxx.
References Message().
Referenced by ProcessEvent().
void TGo4RootBrowserProxy::UpdateRatemeter | ( | TObject * | obj | ) | [protected] |
Definition at line 111 of file TGo4RootBrowserProxy.cxx.
References fLockMessage, TGo4AnalysisClientStatus::GetCurrentCount(), TGo4AnalysisClientStatus::GetDateTime(), TGo4AnalysisClientStatus::GetRate(), TGo4AnalysisClientStatus::GetTime(), TGo4AnalysisClientStatus::IsAnalysisRunning(), and Message().
Referenced by ProcessEvent().
TGo4BrowserProxy* TGo4RootBrowserProxy::fBrowser [protected] |
Definition at line 52 of file TGo4RootBrowserProxy.h.
Referenced by DrawCondition(), DrawItem(), DrawPicture(), and SyncRootBrowserSlots().
Int_t TGo4RootBrowserProxy::fCanvasCounter = 0 [static, protected] |
Definition at line 43 of file TGo4RootBrowserProxy.h.
Referenced by MakeCanvas().
Bool_t TGo4RootBrowserProxy::fLockMessage [protected] |
Definition at line 54 of file TGo4RootBrowserProxy.h.
Referenced by Message(), UnblockStatusOutput(), and UpdateRatemeter().