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 TGO4BACKSTOREPARAMETER_H 00017 #define TGO4BACKSTOREPARAMETER_H 00018 00019 #include "Go4Event/TGo4EventStoreParameter.h" 00020 #include "Go4EventServer/Go4EventServerTypes.h" 00021 00022 class TGo4BackStoreParameter : public TGo4EventStoreParameter { 00023 friend class TGo4BackStore; 00024 00025 public: 00026 TGo4BackStoreParameter() ; 00027 00028 TGo4BackStoreParameter(const char* name, 00029 Int_t splitlevel=99, 00030 Int_t bufsize=32000); 00031 00032 virtual ~TGo4BackStoreParameter() ; 00033 00036 virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); 00037 00039 virtual Bool_t UpdateFrom(TGo4Parameter* rhs); 00040 00041 Int_t GetSplitlevel() const { return fiSplit; } 00042 void SetSplitlevel(Int_t split) { fiSplit=split; } 00043 00044 Int_t GetBufsize() const { return fiBufsize; } 00045 void SetBufsize(Int_t bufsize) { fiBufsize=bufsize; } 00046 00047 private: 00048 00050 Int_t fiSplit; 00051 00053 Int_t fiBufsize; 00054 00055 ClassDef(TGo4BackStoreParameter,1) 00056 }; 00057 00058 #endif //TGO4BACKSTOREPARAMETER_H 00059 00060 //----------------------------END OF GO4 SOURCE FILE ---------------------