GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
GBrowserPlugin Class Reference

Helper class used to manage plugins (command or macro to be executed).

Largely! taken from GRootBrowserLite in the Root Software package. This class exists because I needed to change some of the connections in CreateBrowser() function to the GRootCanvas class instead of the the TRootCanvas.

pcb.

Definition at line 39 of file GRootBrowser.h.

Public Member Functions

 GBrowserPlugin (const char *name, const char *cmd="", Int_t tab=1, Int_t sub=-1)
 
 ~GBrowserPlugin () override=default
 
void SetCommand (const char *cmd)
 
void SetSubTab (Int_t sub)
 
void SetTab (Int_t tab)
 

Public Attributes

TString fCommand
 
Int_t fSubTab
 
Int_t fTab
 

#include <GRootBrowser.h>

+ Inheritance diagram for GBrowserPlugin:
+ Collaboration diagram for GBrowserPlugin:

Constructor & Destructor Documentation

◆ GBrowserPlugin()

GBrowserPlugin::GBrowserPlugin ( const char *  name,
const char *  cmd = "",
Int_t  tab = 1,
Int_t  sub = -1 
)
inline

Definition at line 45 of file GRootBrowser.h.

◆ ~GBrowserPlugin()

GBrowserPlugin::~GBrowserPlugin ( )
overridedefault

Member Function Documentation

◆ SetCommand()

void GBrowserPlugin::SetCommand ( const char *  cmd)
inline

simple setter function for the command to be executed

Definition at line 53 of file GRootBrowser.h.

References fCommand.

◆ SetSubTab()

void GBrowserPlugin::SetSubTab ( Int_t  sub)
inline

simple setter function for the tab element number

Definition at line 52 of file GRootBrowser.h.

References fSubTab.

◆ SetTab()

void GBrowserPlugin::SetTab ( Int_t  tab)
inline

simple setter function for the tab number

Definition at line 51 of file GRootBrowser.h.

References fTab.

Member Data Documentation

◆ fCommand

TString GBrowserPlugin::fCommand

Command to be executed.

Definition at line 43 of file GRootBrowser.h.

Referenced by GRootBrowser::CloneBrowser(), and SetCommand().

◆ fSubTab

Int_t GBrowserPlugin::fSubTab

Tab element number.

Definition at line 42 of file GRootBrowser.h.

Referenced by GRootBrowser::CloneBrowser(), and SetSubTab().

◆ fTab

Int_t GBrowserPlugin::fTab

Tab number.

Definition at line 41 of file GRootBrowser.h.

Referenced by GRootBrowser::CloneBrowser(), and SetTab().