Definition at line 34 of file RTreeViewer.hxx.
|
| RTreeViewer (TTree *tree=nullptr) |
| constructor
|
|
virtual | ~RTreeViewer () |
| destructor
|
|
bool | GetShowHierarchy () const |
| Returns default hierarchy browser visibility.
|
|
const std::string & | GetTitle () const |
|
std::string | GetWindowAddr () const |
| Return URL address of web window used for tree viewer.
|
|
void | SetCallback (PerformDrawCallback_t func) |
|
void | SetShowHierarchy (bool on=true) |
| Configures default hierarchy browser visibility, only has effect before showing web window.
|
|
void | SetTitle (const std::string &title) |
|
void | SetTree (TTree *tree) |
| assign new TTree to the viewer
|
|
void | Show (const RWebDisplayArgs &args="", bool always_start_new_browser=false) |
| Show or update viewer in web window If web browser already started - just refresh drawing like "reload" button does If no web window exists or.
|
|
bool | SuggestBranch (const TBranch *branch) |
| Suggest to use branch in the gui Normally just assign as last edited expression.
|
|
bool | SuggestExpression (const std::string &expr) |
| Suggest to use expression in the gui Normally just assign as last edited expression.
|
|
bool | SuggestLeaf (const TLeaf *leaf) |
| Suggest to use leaf in the gui Normally just assign as last edited expression.
|
|
void | Update () |
| Update tree viewer in all web displays.
|
|
#include <ROOT/RTreeViewer.hxx>
◆ PerformDrawCallback_t
◆ RTreeViewer()
RTreeViewer::RTreeViewer |
( |
TTree * |
tree = nullptr | ) |
|
◆ ~RTreeViewer()
RTreeViewer::~RTreeViewer |
( |
| ) |
|
|
virtual |
◆ AddBranches()
void RTreeViewer::AddBranches |
( |
TObjArray * |
branches | ) |
|
|
private |
◆ FormatItemName()
std::string RTreeViewer::FormatItemName |
( |
const std::string & |
name | ) |
|
|
private |
◆ GetShowHierarchy()
bool ROOT::RTreeViewer::GetShowHierarchy |
( |
| ) |
const |
|
inline |
Returns default hierarchy browser visibility.
Definition at line 77 of file RTreeViewer.hxx.
◆ GetTitle()
const std::string & ROOT::RTreeViewer::GetTitle |
( |
| ) |
const |
|
inline |
◆ GetWindowAddr()
std::string RTreeViewer::GetWindowAddr |
( |
| ) |
const |
Return URL address of web window used for tree viewer.
Definition at line 232 of file RTreeViewer.cxx.
◆ InvokeTreeDraw()
void RTreeViewer::InvokeTreeDraw |
( |
| ) |
|
|
private |
◆ NewViewer()
◆ SendCfg()
void RTreeViewer::SendCfg |
( |
unsigned |
connid | ) |
|
|
private |
◆ SendProgress()
void RTreeViewer::SendProgress |
( |
Double_t |
nevent = 0. | ) |
|
|
private |
◆ SetCallback()
◆ SetShowHierarchy()
void ROOT::RTreeViewer::SetShowHierarchy |
( |
bool |
on = true | ) |
|
|
inline |
Configures default hierarchy browser visibility, only has effect before showing web window.
Definition at line 74 of file RTreeViewer.hxx.
◆ SetTitle()
void ROOT::RTreeViewer::SetTitle |
( |
const std::string & |
title | ) |
|
|
inline |
◆ SetTree()
void RTreeViewer::SetTree |
( |
TTree * |
tree | ) |
|
◆ Show()
void RTreeViewer::Show |
( |
const RWebDisplayArgs & |
args = "" , |
|
|
bool |
always_start_new_browser = false |
|
) |
| |
Show or update viewer in web window If web browser already started - just refresh drawing like "reload" button does If no web window exists or.
- Parameters
-
always_start_new_browser | configured, starts new window |
args | arguments to display |
Definition at line 214 of file RTreeViewer.cxx.
◆ SuggestBranch()
bool RTreeViewer::SuggestBranch |
( |
const TBranch * |
branch | ) |
|
Suggest to use branch in the gui Normally just assign as last edited expression.
Definition at line 181 of file RTreeViewer.cxx.
◆ SuggestExpression()
bool RTreeViewer::SuggestExpression |
( |
const std::string & |
expr | ) |
|
Suggest to use expression in the gui Normally just assign as last edited expression.
Definition at line 197 of file RTreeViewer.cxx.
◆ SuggestLeaf()
bool RTreeViewer::SuggestLeaf |
( |
const TLeaf * |
leaf | ) |
|
Suggest to use leaf in the gui Normally just assign as last edited expression.
Definition at line 157 of file RTreeViewer.cxx.
◆ Update()
void RTreeViewer::Update |
( |
| ) |
|
◆ UpdateConfig()
void RTreeViewer::UpdateConfig |
( |
| ) |
|
|
private |
◆ WebWindowCallback()
void RTreeViewer::WebWindowCallback |
( |
unsigned |
connid, |
|
|
const std::string & |
arg |
|
) |
| |
|
private |
◆ WebWindowConnect()
void RTreeViewer::WebWindowConnect |
( |
unsigned |
connid | ) |
|
|
private |
◆ RTreeDrawInvokeTimer
◆ RTreeDrawMonitoring
◆ fCallback
! callback invoked when tree draw performed
Definition at line 92 of file RTreeViewer.hxx.
◆ fCfg
! configuration, exchanged between client and server
Definition at line 91 of file RTreeViewer.hxx.
◆ fLastSendProgress
std::string ROOT::RTreeViewer::fLastSendProgress |
|
private |
◆ fShowHierarchy
bool ROOT::RTreeViewer::fShowHierarchy {false} |
|
private |
◆ fTimer
◆ fTitle
std::string ROOT::RTreeViewer::fTitle |
|
private |
◆ fTree
TTree* ROOT::RTreeViewer::fTree {nullptr} |
|
private |
◆ fWebWindow
The documentation for this class was generated from the following files: