00001 // $Id: TGo4DabcPlayer.h 1225 2014-08-01 14:53:51Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 00015 #ifndef TGO4DABCPLAYER_H 00016 #define TGO4DABCPLAYER_H 00017 00018 #include "root/Monitor.h" 00019 00020 #include "TGo4AnalysisSniffer.h" 00021 00022 class TGo4DabcPlayer : public root::Monitor, 00023 public TGo4AnalysisSniffer { 00024 00025 protected: 00026 00027 virtual void InitializeHierarchy(); 00028 00029 virtual int ProcessGetBinary(TRootSniffer* sniff, dabc::Command cmd); 00030 00031 virtual bool ProcessHCommand(const std::string& cmdname, dabc::Command cmd); 00032 00033 public: 00034 TGo4DabcPlayer(const std::string& name, dabc::Command cmd = 0); 00035 00036 virtual ~TGo4DabcPlayer(); 00037 00038 virtual const char* ClassName() const { return "TGo4DabcPlayer"; } 00039 00040 virtual void RatemeterUpdate(TGo4Ratemeter*); 00041 00042 virtual void StatusMessage(int level, const TString&); 00043 00045 virtual void SetTitle(const char* title = ""); 00046 }; 00047 00048 #endif