GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4Sniffer.h>
Public Member Functions | |
TGo4Sniffer (const char *name) | |
virtual | ~TGo4Sniffer () |
virtual void | ScanRoot (TRootSnifferScanRec &rec) |
virtual void * | FindInHierarchy (const char *path, TClass **cl=0, TDataMember **member=0, Int_t *chld=0) |
Bool_t | CmdStart () |
Bool_t | CmdStop () |
Bool_t | CmdClear () |
Bool_t | CmdRestart () |
Bool_t | CmdClose () |
Bool_t | CmdOpenFile (const char *fname) |
Bool_t | CmdCloseFiles () |
Bool_t | CmdExit () |
Bool_t | CmdClearObject (const char *objname) |
Bool_t | CmdDeleteObject (const char *objname) |
Bool_t | CmdExecute (const char *exeline) |
Bool_t | AddAnalysisObject (TObject *obj) |
Bool_t | RemoteTreeDraw (const char *histoname, const char *treename, const char *varexpr, const char *cutexpr) |
TObject * | CreateItemStatus (const char *itemname) |
virtual void | SetTitle (const char *title="") |
virtual void | RatemeterUpdate (TGo4Ratemeter *) |
virtual void | StatusMessage (int level, Bool_t printout, const TString &) |
virtual void | ProcessSnifferEvents () |
ClassDef (TGo4Sniffer, 1) | |
Public Member Functions inherited from TGo4AnalysisSniffer | |
TGo4AnalysisSniffer () | |
virtual | ~TGo4AnalysisSniffer () |
ClassDef (TGo4AnalysisSniffer, 1) | |
Static Public Member Functions | |
static THttpServer * | GetHttpServer () |
static Bool_t | CreateEngine (const char *name) |
Protected Member Functions | |
virtual void | ScanObjectProperties (TRootSnifferScanRec &rec, TObject *obj) |
virtual void | SendStatusMessage (Int_t level, Bool_t printout, const TString &text) |
Bool_t | HasRestrictMethod () |
Bool_t | HasProduceMultiMethod () |
void | RestrictGo4 (const char *path, const char *options) |
Bool_t | HasAutoLoadMethod () |
Bool_t | SetAutoLoadGo4 (const char *script) |
Protected Attributes | |
TGo4AnalysisWebStatus * | fAnalysisStatus |
TGraph * | fEventRate |
TGo4Ratemeter * | fRatemeter |
TGo4MsgList | fDebugOutput |
TGo4MsgList | fStatusMessages |
Bool_t | fbPythonBound |
Static Protected Attributes | |
static THttpServer * | gHttpServer = 0 |
Definition at line 34 of file TGo4Sniffer.h.
TGo4Sniffer::TGo4Sniffer | ( | const char * | name | ) |
Definition at line 70 of file TGo4Sniffer.cxx.
References TGo4Analysis::CreateWebStatus(), fAnalysisStatus, fDebugOutput, fEventRate, fRatemeter, fStatusMessages, HasAutoLoadMethod(), HasProduceMultiMethod(), HasRestrictMethod(), TGo4Analysis::Instance(), RestrictGo4(), SetAutoLoadGo4(), TGo4Log::SetSniffer(), and TGo4Analysis::SetSniffer().
Referenced by CreateEngine().
|
virtual |
Definition at line 226 of file TGo4Sniffer.cxx.
References TGo4Analysis::Instance(), TGo4Log::SetSniffer(), and TGo4Analysis::SetSniffer().
Bool_t TGo4Sniffer::AddAnalysisObject | ( | TObject * | obj | ) |
Definition at line 615 of file TGo4Sniffer.cxx.
References TGo4Analysis::AddAnalysisCondition(), TGo4Analysis::AddDynamicEntry(), TGo4Analysis::AddHistogram(), TGo4Analysis::Instance(), and SendStatusMessage().
TGo4Sniffer::ClassDef | ( | TGo4Sniffer | , |
1 | |||
) |
Bool_t TGo4Sniffer::CmdClear | ( | ) |
Definition at line 390 of file TGo4Sniffer.cxx.
References TGo4Analysis::ClearObjects(), TGo4Analysis::Instance(), and TGo4Analysis::SendMessageToGUI().
Bool_t TGo4Sniffer::CmdClearObject | ( | const char * | objname | ) |
Definition at line 469 of file TGo4Sniffer.cxx.
References TGo4Analysis::ClearObjects(), TGo4Analysis::Instance(), and SendStatusMessage().
Bool_t TGo4Sniffer::CmdClose | ( | ) |
Definition at line 427 of file TGo4Sniffer.cxx.
References TGo4Analysis::CloseAnalysis(), TGo4Analysis::GetAnalysisClient(), TGo4Analysis::Instance(), TGo4Analysis::PostLoop(), StatusMessage(), TGo4AnalysisClient::Stop(), and TGo4Analysis::StopAnalysis().
Bool_t TGo4Sniffer::CmdCloseFiles | ( | ) |
Definition at line 373 of file TGo4Sniffer.cxx.
References TGo4AnalysisObjectManager::GetObjectFolder(), TGo4Analysis::Instance(), main(), and TGo4Analysis::ObjectManager().
Bool_t TGo4Sniffer::CmdDeleteObject | ( | const char * | objname | ) |
Definition at line 496 of file TGo4Sniffer.cxx.
References TGo4Analysis::DeleteObjects(), TGo4Analysis::Instance(), and SendStatusMessage().
Bool_t TGo4Sniffer::CmdExecute | ( | const char * | exeline | ) |
Definition at line 522 of file TGo4Sniffer.cxx.
References TGo4Analysis::ExecuteLine(), TGo4Analysis::Instance(), and SendStatusMessage().
Bool_t TGo4Sniffer::CmdExit | ( | ) |
Definition at line 448 of file TGo4Sniffer.cxx.
References TGo4Analysis::CloseAnalysis(), TGo4Analysis::GetAnalysisClient(), TGo4Analysis::Instance(), TGo4AnalysisClient::Quit(), StatusMessage(), TGo4AnalysisClient::Stop(), and TGo4Analysis::StopWorking().
Bool_t TGo4Sniffer::CmdOpenFile | ( | const char * | fname | ) |
Definition at line 346 of file TGo4Sniffer.cxx.
References TGo4AnalysisObjectManager::GetObjectFolder(), TGo4Analysis::Instance(), main(), and TGo4Analysis::ObjectManager().
Bool_t TGo4Sniffer::CmdRestart | ( | ) |
Definition at line 401 of file TGo4Sniffer.cxx.
References TGo4Analysis::CloseAnalysis(), TGo4Analysis::GetAnalysisClient(), TGo4Analysis::InitEventClasses(), TGo4Analysis::Instance(), TGo4Analysis::PostLoop(), TGo4Analysis::PreLoop(), TGo4AnalysisClient::Start(), TGo4Analysis::StartAnalysis(), StatusMessage(), TGo4AnalysisClient::Stop(), and TGo4Analysis::StopAnalysis().
Bool_t TGo4Sniffer::CmdStart | ( | ) |
Definition at line 324 of file TGo4Sniffer.cxx.
References TGo4Analysis::Instance(), TGo4Analysis::StartAnalysis(), and StatusMessage().
Bool_t TGo4Sniffer::CmdStop | ( | ) |
Definition at line 335 of file TGo4Sniffer.cxx.
References TGo4Analysis::Instance(), StatusMessage(), and TGo4Analysis::StopAnalysis().
|
static |
Definition at line 47 of file TGo4Sniffer.cxx.
References gHttpServer, TGo4Log::GO4SYS(), and TGo4Sniffer().
TObject * TGo4Sniffer::CreateItemStatus | ( | const char * | itemname | ) |
Definition at line 658 of file TGo4Sniffer.cxx.
|
virtual |
Definition at line 312 of file TGo4Sniffer.cxx.
References fAnalysisStatus, TGo4Analysis::Instance(), and TGo4Analysis::UpdateStatus().
|
inlinestatic |
Definition at line 77 of file TGo4Sniffer.h.
References gHttpServer.
|
protected |
Indicate if SetAutoLoad method exists
Definition at line 694 of file TGo4Sniffer.cxx.
Referenced by ScanObjectProperties(), SetAutoLoadGo4(), and TGo4Sniffer().
|
protected |
Indicate that sniffer has MultiProcess method implemented, can be used from GUI
Definition at line 676 of file TGo4Sniffer.cxx.
Referenced by TGo4Sniffer().
|
protected |
Indicate that Restrict method implemented, also commands with arguments are exists
Definition at line 671 of file TGo4Sniffer.cxx.
Referenced by RestrictGo4(), and TGo4Sniffer().
|
virtual |
Method called in go4 analysis thread, used to executed server commands
Reimplemented from TGo4AnalysisSniffer.
Definition at line 600 of file TGo4Sniffer.cxx.
References gHttpServer.
|
virtual |
Method from analysis sniffer
Reimplemented from TGo4AnalysisSniffer.
Definition at line 565 of file TGo4Sniffer.cxx.
References fEventRate, fRatemeter, TGo4Ratemeter::GetRate(), and TGo4Ratemeter::UpdateFrom().
Bool_t TGo4Sniffer::RemoteTreeDraw | ( | const char * | histoname, |
const char * | treename, | ||
const char * | varexpr, | ||
const char * | cutexpr | ||
) |
Definition at line 637 of file TGo4Sniffer.cxx.
References TGo4Analysis::AddTreeHistogram(), TGo4Analysis::Instance(), and SendStatusMessage().
|
protected |
Wrapper for new method in TRootSniffer
Definition at line 681 of file TGo4Sniffer.cxx.
References HasRestrictMethod().
Referenced by TGo4Sniffer().
|
protectedvirtual |
Definition at line 271 of file TGo4Sniffer.cxx.
References HasAutoLoadMethod(), TGo4Status::kGo4CanDelete, and TGo4Status::kGo4NoReset.
|
virtual |
Definition at line 234 of file TGo4Sniffer.cxx.
References TGo4AnalysisObjectManager::fgcANALYSISFOLDER, TGo4AnalysisObjectManager::fgcCANVFOLDER, TGo4AnalysisObjectManager::fgcCONDFOLDER, TGo4AnalysisObjectManager::fgcEVENTFOLDER, TGo4AnalysisObjectManager::fgcHISTFOLDER, TGo4AnalysisObjectManager::fgcPARAFOLDER, TGo4AnalysisObjectManager::fgcPICTFOLDER, TGo4AnalysisObjectManager::fgcTREEFOLDER, TGo4AnalysisObjectManager::fgcUSRFOLDER, TGo4AnalysisObjectManager::GetObjectFolder(), TGo4Analysis::Instance(), main(), and TGo4Analysis::ObjectManager().
|
protectedvirtual |
Send message to gui - need to be implemented
Definition at line 607 of file TGo4Sniffer.cxx.
References TGo4Log::Message().
Referenced by AddAnalysisObject(), CmdClearObject(), CmdDeleteObject(), CmdExecute(), and RemoteTreeDraw().
|
protected |
Wrapper for new method in TRootSniffer
Definition at line 699 of file TGo4Sniffer.cxx.
References HasAutoLoadMethod().
Referenced by TGo4Sniffer().
|
virtual |
Method called by logger with every string, going to output
Definition at line 539 of file TGo4Sniffer.cxx.
References TGo4MsgList::AddMsg(), and fDebugOutput.
|
virtual |
Method from analysis sniffer
Reimplemented from TGo4AnalysisSniffer.
Definition at line 583 of file TGo4Sniffer.cxx.
References TGo4MsgList::AddMsg(), fStatusMessages, and go4init::msg.
Referenced by CmdClose(), CmdExit(), CmdRestart(), CmdStart(), and CmdStop().
|
protected |
Definition at line 39 of file TGo4Sniffer.h.
Referenced by FindInHierarchy(), and TGo4Sniffer().
|
protected |
if true, python binding of go4 has already been done.
Definition at line 50 of file TGo4Sniffer.h.
|
protected |
Definition at line 45 of file TGo4Sniffer.h.
Referenced by SetTitle(), and TGo4Sniffer().
|
protected |
Definition at line 41 of file TGo4Sniffer.h.
Referenced by RatemeterUpdate(), and TGo4Sniffer().
|
protected |
Definition at line 43 of file TGo4Sniffer.h.
Referenced by RatemeterUpdate(), and TGo4Sniffer().
|
protected |
Definition at line 47 of file TGo4Sniffer.h.
Referenced by StatusMessage(), and TGo4Sniffer().
|
staticprotected |
Definition at line 72 of file TGo4Sniffer.h.
Referenced by CreateEngine(), GetHttpServer(), and ProcessSnifferEvents().