Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TRootApplication Class Reference

This class create the ROOT native GUI version of the ROOT application environment.

This in contrast to the Win32 version. Once the native widgets work on Win32 this class can be folded into the TApplication class (since all graphic will go via TVirtualX).

Definition at line 23 of file TRootApplication.h.

Public Member Functions

 TRootApplication (const char *appClassName, Int_t *argc, char **argv)
 Create ROOT application environment.
 
 ~TRootApplication () override
 Delete ROOT application environment.
 
TGClientClient () const
 
void Hide () override
 
void Iconify () override
 
void Init () override
 
Bool_t IsCmdThread () override
 By default (for UNIX) ROOT is a single thread application For win32gdk returns kTRUE if it's called from inside of server/cmd thread.
 
void Lower () override
 
void Open () override
 
void Raise () override
 
void Show () override
 
- Public Member Functions inherited from TApplicationImp
 TApplicationImp ()
 
 TApplicationImp (const char *appClassName, int *argc, char **argv)
 
virtual ~TApplicationImp ()
 
virtual const char * ApplicationName () const
 
virtual Int_t ExecCommand (TGWin32Command *code, Bool_t synch)
 
virtual TClassIsA () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Private Member Functions

 TRootApplication ()
 
void GetOptions (Int_t *argc, char **argv)
 Handle command line arguments.
 

Private Attributes

TGClientfClient
 
char * fDisplay
 

Additional Inherited Members

- Static Public Member Functions inherited from TApplicationImp
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Protected Attributes inherited from TApplicationImp
TString fApplicationName
 

#include <TRootApplication.h>

Inheritance diagram for TRootApplication:
[legend]

Constructor & Destructor Documentation

◆ TRootApplication() [1/2]

TRootApplication::TRootApplication ( )
inlineprivate

Definition at line 29 of file TRootApplication.h.

◆ TRootApplication() [2/2]

TRootApplication::TRootApplication ( const char *  appClassName,
Int_t argc,
char **  argv 
)

Create ROOT application environment.

Definition at line 35 of file TRootApplication.cxx.

◆ ~TRootApplication()

TRootApplication::~TRootApplication ( )
override

Delete ROOT application environment.

Definition at line 58 of file TRootApplication.cxx.

Member Function Documentation

◆ Client()

TGClient * TRootApplication::Client ( ) const
inline

Definition at line 36 of file TRootApplication.h.

◆ GetOptions()

void TRootApplication::GetOptions ( Int_t argc,
char **  argv 
)
private

Handle command line arguments.

Arguments handled are removed from the argument array. Currently only option "-display xserver" is considered.

Definition at line 77 of file TRootApplication.cxx.

◆ Hide()

void TRootApplication::Hide ( )
inlineoverridevirtual

Reimplemented from TApplicationImp.

Definition at line 39 of file TRootApplication.h.

◆ Iconify()

void TRootApplication::Iconify ( )
inlineoverridevirtual

Reimplemented from TApplicationImp.

Definition at line 40 of file TRootApplication.h.

◆ Init()

void TRootApplication::Init ( )
inlineoverridevirtual

Reimplemented from TApplicationImp.

Definition at line 42 of file TRootApplication.h.

◆ IsCmdThread()

Bool_t TRootApplication::IsCmdThread ( )
overridevirtual

By default (for UNIX) ROOT is a single thread application For win32gdk returns kTRUE if it's called from inside of server/cmd thread.

Reimplemented from TApplicationImp.

Definition at line 68 of file TRootApplication.cxx.

◆ Lower()

void TRootApplication::Lower ( )
inlineoverridevirtual

Reimplemented from TApplicationImp.

Definition at line 45 of file TRootApplication.h.

◆ Open()

void TRootApplication::Open ( )
inlineoverridevirtual

Reimplemented from TApplicationImp.

Definition at line 43 of file TRootApplication.h.

◆ Raise()

void TRootApplication::Raise ( )
inlineoverridevirtual

Reimplemented from TApplicationImp.

Definition at line 44 of file TRootApplication.h.

◆ Show()

void TRootApplication::Show ( )
inlineoverridevirtual

Reimplemented from TApplicationImp.

Definition at line 38 of file TRootApplication.h.

Member Data Documentation

◆ fClient

TGClient* TRootApplication::fClient
private

Definition at line 26 of file TRootApplication.h.

◆ fDisplay

char* TRootApplication::fDisplay
private

Definition at line 27 of file TRootApplication.h.

Libraries for TRootApplication:

The documentation for this class was generated from the following files: