GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Ready to use step factory. More...
#include <TGo4StepFactory.h>
Public Member Functions | |
TGo4StepFactory () | |
Default constructor. | |
TGo4StepFactory (const char *name) | |
Normal constructor. | |
virtual | ~TGo4StepFactory () |
destructor | |
TGo4EventProcessor * | CreateEventProcessor (TGo4EventProcessorParameter *par) override |
Create event processor event. | |
TGo4EventSource * | CreateEventSource (TGo4EventSourceParameter *par) override |
Create event source. | |
TGo4EventStore * | CreateEventStore (TGo4EventStoreParameter *par) override |
Create event store. | |
TGo4EventElement * | CreateInputEvent () override |
Create input event. | |
TGo4EventElement * | CreateOutputEvent () override |
Create output event. | |
void | DefEventProcessor (const char *Pname, const char *Pclass) |
Configure name and class name for event processor. | |
void | DefInputEvent (const char *Iname, const char *Iclass) |
Configure name and class name for input event. | |
void | DefOutputEvent (const char *Oname, const char *Oclass) |
Configure name and class name for output event. | |
void | DefUserEventSource (const char *Sclass) |
Configure class name for event source. | |
void | DefUserEventStore (const char *Sclass) |
Configure class name for event store. | |
![]() | |
TGo4EventServerFactory () | |
TGo4EventServerFactory (const char *name) | |
virtual | ~TGo4EventServerFactory () |
void | SetOutputEvent (TGo4EventElement *eve) |
For usersubclass: set pointer to user output event. | |
![]() | |
TGo4EventFactory () | |
TGo4EventFactory (const char *name) | |
virtual | ~TGo4EventFactory () |
Private Attributes | |
TString | fInputEventName |
name for new input event | |
TString | fnewEventSource |
command to create new event source | |
TString | fnewEventStore |
command to create new event store | |
TString | fnewInputEvent |
command to create new input event | |
TString | fnewOutputEvent |
command to create new output event | |
TString | fnewProcessor |
command to create new processor | |
TString | fOutputEventName |
name for new output event | |
TString | fProcessorName |
name for new processor | |
Ready to use step factory.
One can configure input/output events and event processors per class names Used in most go4 examples
Definition at line 25 of file TGo4StepFactory.h.
TGo4StepFactory::TGo4StepFactory | ( | ) |
Default constructor.
Definition at line 27 of file TGo4StepFactory.cxx.
References TGo4EventServerFactory::TGo4EventServerFactory(), and TGo4Log::Debug().
Referenced by TGo4PrintFactory::TGo4PrintFactory().
TGo4StepFactory::TGo4StepFactory | ( | const char * | name | ) |
Normal constructor.
Definition at line 34 of file TGo4StepFactory.cxx.
References TGo4EventServerFactory::TGo4EventServerFactory(), TGo4Log::Debug(), fInputEventName, fnewInputEvent, fnewOutputEvent, fnewProcessor, fOutputEventName, and fProcessorName.
|
virtual |
|
overridevirtual |
Create event processor event.
Implements TGo4EventServerFactory.
Definition at line 60 of file TGo4StepFactory.cxx.
References TGo4Log::Error(), fnewProcessor, fProcessorName, and TGo4Log::Info().
|
overridevirtual |
Create event source.
Reimplemented from TGo4EventServerFactory.
Definition at line 148 of file TGo4StepFactory.cxx.
References TGo4EventServerFactory::CreateEventSource(), TGo4Log::Error(), fnewEventSource, and TGo4Log::Info().
|
overridevirtual |
Create event store.
Reimplemented from TGo4EventServerFactory.
Definition at line 167 of file TGo4StepFactory.cxx.
References TGo4EventServerFactory::CreateEventStore(), TGo4Log::Error(), fnewEventStore, and TGo4Log::Info().
|
overridevirtual |
Create input event.
Reimplemented from TGo4EventServerFactory.
Definition at line 109 of file TGo4StepFactory.cxx.
References TGo4EventServerFactory::CreateInputEvent(), TGo4Log::Error(), fInputEventName, fnewInputEvent, and TGo4Log::Info().
|
overridevirtual |
Create output event.
Implements TGo4EventServerFactory.
Definition at line 86 of file TGo4StepFactory.cxx.
References TGo4Log::Error(), fnewOutputEvent, fOutputEventName, and TGo4Log::Info().
void TGo4StepFactory::DefEventProcessor | ( | const char * | Pname, |
const char * | Pclass ) |
Configure name and class name for event processor.
Definition at line 53 of file TGo4StepFactory.cxx.
References fnewProcessor, and fProcessorName.
Referenced by TMeshAnalysis::TMeshAnalysis(), TXXXAnalysis::TXXXAnalysis(), TYYYAnalysis::TYYYAnalysis(), and CreateDefaultAnalysis().
void TGo4StepFactory::DefInputEvent | ( | const char * | Iname, |
const char * | Iclass ) |
Configure name and class name for input event.
Definition at line 102 of file TGo4StepFactory.cxx.
References fInputEventName, and fnewInputEvent.
Referenced by TMeshAnalysis::TMeshAnalysis(), TYYYAnalysis::TYYYAnalysis(), and CreateDefaultAnalysis().
void TGo4StepFactory::DefOutputEvent | ( | const char * | Oname, |
const char * | Oclass ) |
Configure name and class name for output event.
Definition at line 78 of file TGo4StepFactory.cxx.
References fnewOutputEvent, and fOutputEventName.
Referenced by TMeshAnalysis::TMeshAnalysis(), TXXXAnalysis::TXXXAnalysis(), TYYYAnalysis::TYYYAnalysis(), and CreateDefaultAnalysis().
void TGo4StepFactory::DefUserEventSource | ( | const char * | Sclass | ) |
Configure class name for event source.
Definition at line 123 of file TGo4StepFactory.cxx.
References fnewEventSource.
Referenced by TYYYAnalysis::TYYYAnalysis(), and CreateDefaultAnalysis().
void TGo4StepFactory::DefUserEventStore | ( | const char * | Sclass | ) |
Configure class name for event store.
Definition at line 135 of file TGo4StepFactory.cxx.
References fnewEventStore.
Referenced by CreateDefaultAnalysis().
|
private |
name for new input event
Definition at line 60 of file TGo4StepFactory.h.
Referenced by TGo4StepFactory(), CreateInputEvent(), and DefInputEvent().
|
private |
command to create new event source
Definition at line 61 of file TGo4StepFactory.h.
Referenced by CreateEventSource(), and DefUserEventSource().
|
private |
command to create new event store
Definition at line 62 of file TGo4StepFactory.h.
Referenced by CreateEventStore(), and DefUserEventStore().
|
private |
command to create new input event
Definition at line 59 of file TGo4StepFactory.h.
Referenced by TGo4StepFactory(), CreateInputEvent(), and DefInputEvent().
|
private |
command to create new output event
Definition at line 57 of file TGo4StepFactory.h.
Referenced by TGo4StepFactory(), CreateOutputEvent(), and DefOutputEvent().
|
private |
command to create new processor
Definition at line 55 of file TGo4StepFactory.h.
Referenced by TGo4StepFactory(), CreateEventProcessor(), and DefEventProcessor().
|
private |
name for new output event
Definition at line 58 of file TGo4StepFactory.h.
Referenced by TGo4StepFactory(), CreateOutputEvent(), and DefOutputEvent().
|
private |
name for new processor
Definition at line 56 of file TGo4StepFactory.h.
Referenced by TGo4StepFactory(), CreateEventProcessor(), and DefEventProcessor().