00001 // $Id: TGo4EventFactory.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 TGO4EVENTFACTORY_H 00015 #define TGO4EVENTFACTORY_H 00016 00017 #include "TNamed.h" 00018 00019 class TGo4EventElement; 00020 class TGo4EventProcessor; 00021 class TGo4EventStore; 00022 class TGo4EventSource; 00023 class TGo4EventProcessorParameter; 00024 class TGo4EventStoreParameter; 00025 class TGo4EventSourceParameter; 00026 00038 class TGo4EventFactory : public TNamed { 00039 public: 00040 00041 TGo4EventFactory(const char* name); 00042 00043 TGo4EventFactory(); 00044 00045 virtual ~TGo4EventFactory(); 00046 00047 virtual TGo4EventElement * CreateInputEvent() = 0; 00048 00049 virtual TGo4EventSource * CreateEventSource(TGo4EventSourceParameter* par) = 0; 00050 00051 virtual TGo4EventElement * CreateOutputEvent() = 0; 00052 00053 virtual TGo4EventStore * CreateEventStore(TGo4EventStoreParameter* par) = 0; 00054 00055 virtual TGo4EventProcessor * CreateEventProcessor(TGo4EventProcessorParameter* par) = 0; 00056 00057 ClassDef(TGo4EventFactory,1) 00058 }; 00059 00060 #endif //TGO4EVENTFACTORY_H