Logo ROOT   6.10/09
Reference Guide
TPyROOTApplication.h
Go to the documentation of this file.
1 // Author: Wim Lavrijsen February 2006
2 
3 #ifndef ROOT_TPyROOTApplication
4 #define ROOT_TPyROOTApplication
5 
6 //////////////////////////////////////////////////////////////////////////////
7 // //
8 // TPyROOTApplication //
9 // //
10 // Setup interactive application for python. //
11 // //
12 //////////////////////////////////////////////////////////////////////////////
13 
14 
15 // ROOT
16 #include "TApplication.h"
17 
18 
19 namespace PyROOT {
20 
22 public:
23  static void dummy() {} // Cling doesn't see the first method ??
24 
25  static Bool_t CreatePyROOTApplication( Bool_t bLoadLibs = kTRUE );
26 
27  static Bool_t InitROOTGlobals();
29 
30 public:
32  const char* acn, Int_t* argc, char** argv, Bool_t bLoadLibs = kTRUE );
33 
34  virtual ~TPyROOTApplication() { }
35  ClassDef(TPyROOTApplication,0) //Setup interactive application
36 };
37 
38 } // namespace PyROOT
39 
40 #endif
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:297
static Bool_t InitROOTGlobals()
Setup the basic ROOT globals gBenchmark, gStyle, gProgname, if not already set.
static Bool_t InitROOTMessageCallback()
Install ROOT message handler which will turn ROOT error message into python exceptions.
TPyROOTApplication(const char *acn, Int_t *argc, char **argv, Bool_t bLoadLibs=kTRUE)
static Bool_t CreatePyROOTApplication(Bool_t bLoadLibs=kTRUE)
This class creates the ROOT Application Environment that interfaces to the windowing system eventloop...
Definition: TApplication.h:39
const Bool_t kTRUE
Definition: RtypesCore.h:91