00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4USERSOURCEPARAMETER_H 00017 #define TGO4USERSOURCEPARAMETER_H 00018 00019 #include "Go4Event/TGo4EventSourceParameter.h" 00020 #include "Go4EventServer/Go4EventServerTypes.h" 00021 00022 class TGo4UserSourceParameter : public TGo4EventSourceParameter { 00023 00024 public: 00025 TGo4UserSourceParameter() ; 00026 00027 TGo4UserSourceParameter(const char* name); 00028 00029 virtual ~TGo4UserSourceParameter() ; 00030 00031 void SetPort(Int_t port) { fiPort=port; } 00032 Int_t GetPort() const { return fiPort; } 00033 00035 const char* GetExpression() const { return fxExpression.Data(); } 00036 void SetExpression(const char* name) { fxExpression=name; } 00037 00038 virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); 00039 00040 private: 00041 00043 Int_t fiPort; 00044 00046 TString fxExpression; 00047 00048 ClassDef(TGo4UserSourceParameter,1) 00049 }; 00050 00051 #endif //TGO4USERSOURCEPARAMETER_H 00052 00053 //----------------------------END OF GO4 SOURCE FILE ---------------------