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 TGO4EVENTFACTORY_H 00017 #define TGO4EVENTFACTORY_H 00018 00019 #include <iostream.h> 00020 00021 #include "TObject.h" 00022 #include "TString.h" 00023 #include "TNamed.h" 00024 00025 #include "Go4Log/TGo4Log.h" 00026 #include "Go4Exceptions/Go4Exceptions.h" 00027 00028 class TGo4EventElement; 00029 class TGo4EventProcessor; 00030 class TGo4EventStore; 00031 class TGo4EventSource; 00032 class TGo4EventProcessorParameter; 00033 class TGo4EventStoreParameter; 00034 class TGo4EventSourceParameter; 00035 00047 class TGo4EventFactory : public TNamed { 00048 public: 00049 00050 TGo4EventFactory(const char* name); 00051 00052 TGo4EventFactory(); 00053 00054 virtual ~TGo4EventFactory(); 00055 00056 virtual TGo4EventElement * CreateInputEvent() =0; 00057 00058 virtual TGo4EventSource * CreateEventSource(TGo4EventSourceParameter* par) =0; 00059 00060 virtual TGo4EventElement * CreateOutputEvent() =0; 00061 00062 virtual TGo4EventStore * CreateEventStore(TGo4EventStoreParameter* par) =0; 00063 00064 virtual TGo4EventProcessor * CreateEventProcessor(TGo4EventProcessorParameter* par) =0; 00065 00066 ClassDef(TGo4EventFactory,1) 00067 }; 00068 00069 #endif //TGO4EVENTFACTORY_H 00070 00071 //----------------------------END OF GO4 SOURCE FILE ---------------------