GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TGo4EventServerFactory Class Referenceabstract

#include <TGo4EventServerFactory.h>

+ Inheritance diagram for TGo4EventServerFactory:

Public Member Functions

 TGo4EventServerFactory ()
 
 TGo4EventServerFactory (const char *name)
 
virtual ~TGo4EventServerFactory ()
 
virtual TGo4EventElementCreateInputEvent ()
 
virtual TGo4EventSourceCreateEventSource (TGo4EventSourceParameter *par)
 
virtual TGo4EventElementCreateOutputEvent ()=0
 
virtual TGo4EventStoreCreateEventStore (TGo4EventStoreParameter *par)
 
virtual TGo4EventProcessorCreateEventProcessor (TGo4EventProcessorParameter *par)=0
 
void SetOutputEvent (TGo4EventElement *eve)
 
- Public Member Functions inherited from TGo4EventFactory
 TGo4EventFactory (const char *name)
 
 TGo4EventFactory ()
 
virtual ~TGo4EventFactory ()
 

Private Attributes

TGo4EventElementfxEvent
 

Detailed Description

Event factory providing all go4 event service classes. User factory should be a subclass of this class. Parameter objects of factory methods are checked by class name; the known event sources /event stores are created , unknown parameter objects let return 0 and can be handled by the user factory.

Definition at line 26 of file TGo4EventServerFactory.h.

Constructor & Destructor Documentation

TGo4EventServerFactory::TGo4EventServerFactory ( )

Definition at line 53 of file TGo4EventServerFactory.cxx.

References GO4TRACE.

TGo4EventServerFactory::TGo4EventServerFactory ( const char *  name)

Definition at line 47 of file TGo4EventServerFactory.cxx.

References GO4TRACE.

TGo4EventServerFactory::~TGo4EventServerFactory ( )
virtual

Definition at line 59 of file TGo4EventServerFactory.cxx.

References GO4TRACE.

Member Function Documentation

virtual TGo4EventProcessor* TGo4EventServerFactory::CreateEventProcessor ( TGo4EventProcessorParameter par)
pure virtual

Implements TGo4EventFactory.

Implemented in TGo4PrintFactory, and TGo4StepFactory.

TGo4EventSource * TGo4EventServerFactory::CreateEventSource ( TGo4EventSourceParameter par)
virtual

Implements TGo4EventFactory.

Reimplemented in TGo4StepFactory.

Definition at line 111 of file TGo4EventServerFactory.cxx.

References TGo4Log::Debug(), and GO4TRACE.

Referenced by TGo4StepFactory::CreateEventSource().

TGo4EventStore * TGo4EventServerFactory::CreateEventStore ( TGo4EventStoreParameter par)
virtual

Implements TGo4EventFactory.

Definition at line 80 of file TGo4EventServerFactory.cxx.

References TGo4Log::Debug(), and GO4TRACE.

TGo4EventElement * TGo4EventServerFactory::CreateInputEvent ( )
virtual

Implements TGo4EventFactory.

Reimplemented in TGo4StepFactory.

Definition at line 64 of file TGo4EventServerFactory.cxx.

References TGo4Log::Debug(), and GO4TRACE.

Referenced by TGo4StepFactory::CreateInputEvent().

virtual TGo4EventElement* TGo4EventServerFactory::CreateOutputEvent ( )
pure virtual

Implements TGo4EventFactory.

Implemented in TGo4StepFactory.

void TGo4EventServerFactory::SetOutputEvent ( TGo4EventElement eve)
inline

For usersubclass: set pointer to user output event. Required by create event store for the TreeStore TTree.

Definition at line 47 of file TGo4EventServerFactory.h.

References fxEvent.

Member Data Documentation

TGo4EventElement* TGo4EventServerFactory::fxEvent
private

remember pointer to output event for tree store ctor

Definition at line 51 of file TGo4EventServerFactory.h.

Referenced by SetOutputEvent().


The documentation for this class was generated from the following files: