12#ifndef ROOT_TApplication
13#define ROOT_TApplication
101 void *options = 0,
Int_t numOptions = 0);
#define ClassDef(name, id)
R__EXTERN TApplication * gApplication
ABC describing GUI independent application implementation protocol.
virtual const char * ApplicationName() const
virtual Bool_t IsCmdThread()
This class creates the ROOT Application Environment that interfaces to the windowing system eventloop...
EExitOnException ExitOnException(EExitOnException opt=kExit)
Set the exit on exception option.
virtual void KeyPressed(Int_t key)
static TList * fgApplications
static TApplication * Open(const char *url, Int_t debug, const char *script)
virtual void LineProcessed(const char *line)
virtual Bool_t HandleTermInput()
virtual Long_t ProcessRemote(const char *line, Int_t *error=0)
Process the content of a line starting with ".R" (already stripped-off) The format is.
TObjArray * InputFiles() const
virtual void Help(const char *line)
Print help on interpreter.
void ClearInputFiles()
Clear list containing macro files passed as program arguments.
TApplicationImp * fAppImp
TApplication & operator=(const TApplication &)
virtual void StopIdleing()
TSignalHandler * GetSignalHandler() const
virtual Long_t ProcessFile(const char *file, Int_t *error=0, Bool_t keep=kFALSE)
virtual void LoadGraphicsLibs()
Load shared libs necessary for graphics.
static void CreateApplication()
static TList * GetApplications()
Bool_t ReturnFromRun() const
virtual void ReturnPressed(char *text)
virtual ~TApplication()
TApplication dtor.
virtual void HandleException(Int_t sig)
Handle exceptions (kSigBus, kSigSegmentationViolation, kSigIllegalInstruction and kSigFloatingExcepti...
virtual void MakeBatch()
Switch to batch mode.
Bool_t fIsRunning
Window system specific application implementation.
void InitializeGraphics()
Initialize the graphics environment.
virtual void Terminate(Int_t status=0)
static Bool_t fgGraphNeeded
TApplication * GetAppRemote() const
virtual const char * ApplicationName() const
virtual void ls(Option_t *option="") const
The ls function lists the contents of a class on stdout.
void SetReturnFromRun(Bool_t ret)
EExitOnException fExitOnException
virtual TApplicationImp * GetApplicationImp()
const char * GetIdleCommand() const
TApplication()
Default ctor. Can be used by classes deriving from TApplication.
virtual void SetEchoMode(Bool_t mode)
static Bool_t fgGraphInit
virtual Int_t TabCompletionHook(char *buf, int *pLoc, std::ostream &out)
virtual void GetOptions(Int_t *argc, char **argv)
Get and handle command line options.
virtual Long_t ProcessLine(const char *line, Bool_t sync=kFALSE, Int_t *error=0)
virtual void SetIdleTimer(UInt_t idleTimeInSec, const char *command)
static void Close(TApplication *app)
static Long_t ExecuteFile(const char *file, Int_t *error=0, Bool_t keep=kFALSE)
static void NeedGraphicsLibs()
Static method.
static Int_t ParseRemoteLine(const char *ln, TString &hostdir, TString &user, Int_t &dbg, TString &script)
Parse the content of a line starting with ".R" (already stripped-off) The format is.
virtual Bool_t IsCmdThread()
virtual void RemoveIdleTimer()
virtual void StartIdleing()
virtual void HandleIdleTimer()
Handle idle timeout.
const char * WorkingDirectory() const
TSignalHandler * fSigHandler
TApplication(const TApplication &)
virtual void Run(Bool_t retrn=kFALSE)
TApplication * fAppRemote
void SetSignalHandler(TSignalHandler *sh)
Mother of all ROOT objects.
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
Handles synchronous and a-synchronous timer events.