GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
GRootGuiFactory Class Reference

Detailed Description

This class is a factory for ROOT GUI components. It overrides the member functions of the ABS TGuiFactory. This is necessary in order to override the native root canvas and fully take control of the users interface with objects drawn to the screen pcb.

Definition at line 27 of file GRootGuiFactory.h.

Public Member Functions

 GRootGuiFactory (const char *name="Root", const char *title="GRUT GUI Factory")
 
 GRootGuiFactory (const GRootGuiFactory &)=default
 
 GRootGuiFactory (GRootGuiFactory &&) noexcept=default
 
 ~GRootGuiFactory ()=default
 
TApplicationImp * CreateApplicationImp (const char *classname, int *argc, char **argv) override
 
TBrowserImp * CreateBrowserImp (TBrowser *b, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height, Option_t *opt="") override
 
TBrowserImp * CreateBrowserImp (TBrowser *b, const char *title, UInt_t width, UInt_t height, Option_t *opt="") override
 
TCanvasImp * CreateCanvasImp (TCanvas *c, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height) override
 
TCanvasImp * CreateCanvasImp (TCanvas *c, const char *title, UInt_t width, UInt_t height) override
 
TContextMenuImp * CreateContextMenuImp (TContextMenu *c, const char *name, const char *title) override
 
TControlBarImp * CreateControlBarImp (TControlBar *c, const char *title) override
 
TControlBarImp * CreateControlBarImp (TControlBar *c, const char *title, Int_t x, Int_t y) override
 
GRootGuiFactoryoperator= (const GRootGuiFactory &)=default
 
GRootGuiFactoryoperator= (GRootGuiFactory &&) noexcept=default
 

Static Public Member Functions

static void Init ()
 
+ Inheritance diagram for GRootGuiFactory:
+ Collaboration diagram for GRootGuiFactory:

Constructor & Destructor Documentation

◆ GRootGuiFactory() [1/3]

GRootGuiFactory::GRootGuiFactory ( const char * name = "Root",
const char * title = "GRUT GUI Factory" )
explicit

Definition at line 36 of file GRootGuiFactory.cxx.

Referenced by Init().

◆ GRootGuiFactory() [2/3]

GRootGuiFactory::GRootGuiFactory ( const GRootGuiFactory & )
default

◆ GRootGuiFactory() [3/3]

GRootGuiFactory::GRootGuiFactory ( GRootGuiFactory && )
defaultnoexcept

◆ ~GRootGuiFactory()

GRootGuiFactory::~GRootGuiFactory ( )
default

Member Function Documentation

◆ CreateApplicationImp()

TApplicationImp * GRootGuiFactory::CreateApplicationImp ( const char * classname,
int * argc,
char ** argv )
override

Definition at line 42 of file GRootGuiFactory.cxx.

◆ CreateBrowserImp() [1/2]

TBrowserImp * GRootGuiFactory::CreateBrowserImp ( TBrowser * b,
const char * title,
Int_t x,
Int_t y,
UInt_t width,
UInt_t height,
Option_t * opt = "" )
override

Definition at line 109 of file GRootGuiFactory.cxx.

◆ CreateBrowserImp() [2/2]

TBrowserImp * GRootGuiFactory::CreateBrowserImp ( TBrowser * b,
const char * title,
UInt_t width,
UInt_t height,
Option_t * opt = "" )
override

Definition at line 76 of file GRootGuiFactory.cxx.

◆ CreateCanvasImp() [1/2]

TCanvasImp * GRootGuiFactory::CreateCanvasImp ( TCanvas * c,
const char * title,
Int_t x,
Int_t y,
UInt_t width,
UInt_t height )
override

Definition at line 65 of file GRootGuiFactory.cxx.

◆ CreateCanvasImp() [2/2]

TCanvasImp * GRootGuiFactory::CreateCanvasImp ( TCanvas * c,
const char * title,
UInt_t width,
UInt_t height )
override

Definition at line 55 of file GRootGuiFactory.cxx.

◆ CreateContextMenuImp()

TContextMenuImp * GRootGuiFactory::CreateContextMenuImp ( TContextMenu * c,
const char * name,
const char * title )
override

Definition at line 134 of file GRootGuiFactory.cxx.

◆ CreateControlBarImp() [1/2]

TControlBarImp * GRootGuiFactory::CreateControlBarImp ( TControlBar * c,
const char * title )
override

Definition at line 142 of file GRootGuiFactory.cxx.

◆ CreateControlBarImp() [2/2]

TControlBarImp * GRootGuiFactory::CreateControlBarImp ( TControlBar * c,
const char * title,
Int_t x,
Int_t y )
override

Definition at line 150 of file GRootGuiFactory.cxx.

◆ Init()

void GRootGuiFactory::Init ( )
static

Definition at line 26 of file GRootGuiFactory.cxx.

References GRootGuiFactory().

◆ operator=() [1/2]

GRootGuiFactory & GRootGuiFactory::operator= ( const GRootGuiFactory & )
default

◆ operator=() [2/2]

GRootGuiFactory & GRootGuiFactory::operator= ( GRootGuiFactory && )
defaultnoexcept