Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaInterface.h
Go to the documentation of this file.
1#ifndef Podd_THaInterface_h_
2#define Podd_THaInterface_h_
3
5//
6// THaInterface
7//
9
10#include "TRint.h"
11
12class TClass;
13
14class THaInterface : public TRint {
15
16public:
17 THaInterface( const char* appClassName, int* argc, char** argv,
18 void* options = nullptr, int numOptions = 0,
19 Bool_t noLogo = false );
20 virtual ~THaInterface();
21
22 virtual void PrintLogo(Bool_t lite = false);
23 static TClass* GetDecoder();
24 static TClass* SetDecoder( TClass* c );
25 static const char* GetVersion();
26 static const char* GetHaDate();
27 static const char* GetVersionString();
28
29 virtual const char* SetPrompt(const char *newPrompt);
30
31protected:
32 static THaInterface* fgAint; //Pointer indicating that interface already exists
33
34 static TString extract_short_date( const char* long_date );
35
36 ClassDef(THaInterface,0) //Hall A Analyzer Interactive Interface
37};
38
39#endif
#define c(i)
bool Bool_t
#define ClassDef(name, id)
static const char * GetVersion()
virtual void PrintLogo(Bool_t lite=false)
static const char * GetVersionString()
static TClass * GetDecoder()
static TString extract_short_date(const char *long_date)
virtual ~THaInterface()
static TClass * SetDecoder(TClass *c)
static const char * GetHaDate()
virtual const char * SetPrompt(const char *newPrompt)
static THaInterface * fgAint