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 TUNPACKFACTORY_H 00017 #define TUNPACKFACTORY_H 00018 00019 #include "Go4EventServer/TGo4EventServerFactory.h" 00020 #include "Go4EventServer/Go4EventServer.h" 00021 00022 #define _STEPFACTLEN_ 256 00023 00024 class TGo4StepFactory : public TGo4EventServerFactory { 00025 public: 00026 TGo4StepFactory() ; 00027 TGo4StepFactory(const char* name); 00028 virtual ~TGo4StepFactory(); 00029 virtual TGo4EventElement* CreateInputEvent(); 00030 virtual TGo4EventElement* CreateOutputEvent(); 00031 virtual TGo4EventProcessor* CreateEventProcessor(TGo4EventProcessorParameter* par); 00032 void DefEventProcessor(const char* Pname, const char* Pclass); 00033 void DefInputEvent(const char* Iname, const char* Iclass); 00034 void DefOutputEvent(const char* Oname, const char* Oclass); 00035 private: 00036 Text_t fnewProcessor[_STEPFACTLEN_]; 00037 Text_t fProcessorName[_STEPFACTLEN_]; 00038 Text_t fProcessorClass[_STEPFACTLEN_]; 00039 Text_t fnewOutputEvent[_STEPFACTLEN_]; 00040 Text_t fOutputEventName[_STEPFACTLEN_]; 00041 Text_t fOutputEventClass[_STEPFACTLEN_]; 00042 Text_t fnewInputEvent[_STEPFACTLEN_]; 00043 Text_t fInputEventName[_STEPFACTLEN_]; 00044 Text_t fInputEventClass[_STEPFACTLEN_]; 00045 00046 ClassDef(TGo4StepFactory,1) 00047 }; 00048 00049 #endif //TUNPACKFACTORY_H 00050 00051 //----------------------------END OF GO4 SOURCE FILE ---------------------