00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE 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 "TNamed.h" 00020 00021 class TGo4EventElement; 00022 class TGo4EventProcessor; 00023 class TGo4EventStore; 00024 class TGo4EventSource; 00025 class TGo4EventProcessorParameter; 00026 class TGo4EventStoreParameter; 00027 class TGo4EventSourceParameter; 00028 00040 class TGo4EventFactory : public TNamed { 00041 public: 00042 00043 TGo4EventFactory(const char* name); 00044 00045 TGo4EventFactory(); 00046 00047 virtual ~TGo4EventFactory(); 00048 00049 virtual TGo4EventElement * CreateInputEvent() =0; 00050 00051 virtual TGo4EventSource * CreateEventSource(TGo4EventSourceParameter* par) =0; 00052 00053 virtual TGo4EventElement * CreateOutputEvent() =0; 00054 00055 virtual TGo4EventStore * CreateEventStore(TGo4EventStoreParameter* par) =0; 00056 00057 virtual TGo4EventProcessor * CreateEventProcessor(TGo4EventProcessorParameter* par) =0; 00058 00059 ClassDef(TGo4EventFactory,1) 00060 }; 00061 00062 #endif //TGO4EVENTFACTORY_H 00063 00064 //----------------------------END OF GO4 SOURCE FILE ---------------------