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 TGO4EVENTSERVERFACTORY_H 00017 #define TGO4EVENTSERVERFACTORY_H 00018 00019 #include "Go4Event/TGo4EventFactory.h" 00020 00021 #include "Go4EventServer/Go4EventServer.h" 00022 00023 class TGo4EventProcessorParameter; 00024 class TGo4EventProcessor; 00025 class TGo4EventStoreParameter; 00026 class TGo4EventStore; 00027 class TGo4EventSourceParameter; 00028 class TGo4EventSource; 00029 class TGo4EventElement; 00030 00038 class TGo4EventServerFactory : public TGo4EventFactory { 00039 public: 00040 00041 TGo4EventServerFactory() ; 00042 00043 TGo4EventServerFactory(const char* name); 00044 00045 virtual ~TGo4EventServerFactory(); 00046 00047 virtual TGo4EventElement * CreateInputEvent(); 00048 00049 virtual TGo4EventSource * CreateEventSource(TGo4EventSourceParameter * par); 00050 00051 virtual TGo4EventElement * CreateOutputEvent() =0; 00052 00053 virtual TGo4EventStore * CreateEventStore(TGo4EventStoreParameter* par); 00054 00055 virtual TGo4EventProcessor * CreateEventProcessor(TGo4EventProcessorParameter* par) =0; 00056 00059 void SetOutputEvent(TGo4EventElement* eve) { fxEvent=eve; } 00060 00061 private: 00063 TGo4EventElement* fxEvent; 00064 00065 ClassDef(TGo4EventServerFactory,1) 00066 }; 00067 00068 #endif //TGO4EVENTSERVERFACTORY_H 00069 00070 //----------------------------END OF GO4 SOURCE FILE ---------------------