00001 // $Id: TGo4StepFactory.h 478 2009-10-29 12:26:09Z 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 #ifndef TUNPACKFACTORY_H 00015 #define TUNPACKFACTORY_H 00016 00017 #include "TGo4EventServerFactory.h" 00018 00019 class TGo4StepFactory : public TGo4EventServerFactory { 00020 public: 00021 TGo4StepFactory(); 00022 TGo4StepFactory(const char* name); 00023 virtual ~TGo4StepFactory(); 00024 virtual TGo4EventElement* CreateInputEvent(); 00025 virtual TGo4EventElement* CreateOutputEvent(); 00026 virtual TGo4EventProcessor* CreateEventProcessor(TGo4EventProcessorParameter* par); 00027 virtual TGo4EventSource* CreateEventSource(TGo4EventSourceParameter * par); 00028 void DefEventProcessor(const char* Pname, const char* Pclass); 00029 void DefInputEvent(const char* Iname, const char* Iclass); 00030 void DefOutputEvent(const char* Oname, const char* Oclass); 00031 void DefUserEventSource(const char* Sclass); 00032 private: 00033 TString fnewProcessor; 00034 TString fProcessorName; 00035 TString fnewOutputEvent; 00036 TString fOutputEventName; 00037 TString fnewInputEvent; 00038 TString fInputEventName; 00039 TString fnewEventSource; 00040 00041 ClassDef(TGo4StepFactory,2) 00042 }; 00043 00044 #endif //TUNPACKFACTORY_H