GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
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 ()
 
TGo4EventElementCreateInputEvent () override
 
TGo4EventSourceCreateEventSource (TGo4EventSourceParameter *par) override
 
TGo4EventElementCreateOutputEvent () override=0
 
TGo4EventStoreCreateEventStore (TGo4EventStoreParameter *par) override
 
TGo4EventProcessorCreateEventProcessor (TGo4EventProcessorParameter *par) override=0
 
void SetOutputEvent (TGo4EventElement *eve)
 
- Public Member Functions inherited from TGo4EventFactory
 TGo4EventFactory (const char *name)
 
 TGo4EventFactory ()
 
virtual ~TGo4EventFactory ()
 

Private Attributes

TGo4EventElementfxEvent {nullptr}
 

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() [1/2]

TGo4EventServerFactory::TGo4EventServerFactory ( )

Definition at line 54 of file TGo4EventServerFactory.cxx.

References GO4TRACE.

◆ TGo4EventServerFactory() [2/2]

TGo4EventServerFactory::TGo4EventServerFactory ( const char *  name)

Definition at line 48 of file TGo4EventServerFactory.cxx.

References GO4TRACE.

◆ ~TGo4EventServerFactory()

TGo4EventServerFactory::~TGo4EventServerFactory ( )
virtual

Definition at line 60 of file TGo4EventServerFactory.cxx.

References GO4TRACE.

Member Function Documentation

◆ CreateEventProcessor()

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

Implements TGo4EventFactory.

Implemented in TGo4PrintFactory, and TGo4StepFactory.

◆ CreateEventSource()

TGo4EventSource * TGo4EventServerFactory::CreateEventSource ( TGo4EventSourceParameter par)
overridevirtual

Implements TGo4EventFactory.

Reimplemented in TGo4StepFactory.

Definition at line 118 of file TGo4EventServerFactory.cxx.

References TGo4Log::Debug(), and GO4TRACE.

Referenced by TGo4StepFactory::CreateEventSource().

◆ CreateEventStore()

TGo4EventStore * TGo4EventServerFactory::CreateEventStore ( TGo4EventStoreParameter par)
overridevirtual

Implements TGo4EventFactory.

Reimplemented in TGo4StepFactory.

Definition at line 81 of file TGo4EventServerFactory.cxx.

References TGo4Log::Debug(), and GO4TRACE.

Referenced by TGo4StepFactory::CreateEventStore().

◆ CreateInputEvent()

TGo4EventElement * TGo4EventServerFactory::CreateInputEvent ( )
overridevirtual

Implements TGo4EventFactory.

Reimplemented in TGo4StepFactory.

Definition at line 65 of file TGo4EventServerFactory.cxx.

References TGo4Log::Debug(), and GO4TRACE.

Referenced by TGo4StepFactory::CreateInputEvent().

◆ CreateOutputEvent()

TGo4EventElement* TGo4EventServerFactory::CreateOutputEvent ( )
overridepure virtual

Implements TGo4EventFactory.

Implemented in TGo4StepFactory.

◆ SetOutputEvent()

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

◆ fxEvent

TGo4EventElement* TGo4EventServerFactory::fxEvent {nullptr}
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: