ROOT  6.06/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 #ifndef ROOT_TApplication
17 #include "TApplication.h"
18 #endif
19 
20 
21 namespace PyROOT {
22 
24 public:
25  static void dummy() {} // Cling doesn't see the first method ??
26 
27  static Bool_t CreatePyROOTApplication( Bool_t bLoadLibs = kTRUE );
28 
29  static Bool_t InitROOTGlobals();
31 
32 public:
34  const char* acn, Int_t* argc, char** argv, Bool_t bLoadLibs = kTRUE );
35 
36  virtual ~TPyROOTApplication() { }
37  ClassDef(TPyROOTApplication,0) //Setup interactive application
38 };
39 
40 } // namespace PyROOT
41 
42 #endif
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:254
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:45
const Bool_t kTRUE
Definition: Rtypes.h:91