GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4AnalysisStepStatus.h>
Public Member Functions | |
TGo4AnalysisStepStatus () | |
TGo4AnalysisStepStatus (const char *name) | |
virtual | ~TGo4AnalysisStepStatus () |
virtual Int_t | PrintStatus (Text_t *buffer=0, Int_t buflen=0) |
void | SetSourcePar (TGo4EventSourceParameter *kind) |
TGo4EventSourceParameter * | GetSourcePar () const |
TGo4EventSourceParameter * | TakeSourcePar () |
void | SetStorePar (TGo4EventStoreParameter *kind) |
TGo4EventStoreParameter * | GetStorePar () const |
void | SetProcessorPar (TGo4EventProcessorParameter *kind) |
TGo4EventProcessorParameter * | GetProcessorPar () const |
void | SetSourceEnabled (Bool_t on=kTRUE) |
Bool_t | IsSourceEnabled () const |
void | SetStoreEnabled (Bool_t on=kTRUE) |
Bool_t | IsStoreEnabled () const |
void | SetProcessEnabled (Bool_t on=kTRUE) |
Bool_t | IsProcessEnabled () const |
void | SetErrorStopEnabled (Bool_t on=kTRUE) |
Bool_t | IsErrorStopEnabled () const |
void | SetErrorStopped (Bool_t on) |
Bool_t | IsErrorStopped () const |
void | SetProcessStatus (Int_t val) |
Int_t | GetProcessStatus () const |
Public Member Functions inherited from TGo4Status | |
TGo4Status () | |
TGo4Status (const char *name) | |
TGo4Status (const char *name, const char *title) | |
virtual | ~TGo4Status () |
virtual void | Print (Option_t *dummy="") const |
Private Attributes | |
TGo4EventSourceParameter * | fxSourceType |
TGo4EventStoreParameter * | fxStoreType |
TGo4EventProcessorParameter * | fxProcessorType |
Bool_t | fbSourceEnabled |
Bool_t | fbStoreEnabled |
Bool_t | fbProcessEnabled |
Bool_t | fbErrorStopEnabled |
Bool_t | fbErrorStopped |
Int_t | fiProcessStatus |
Additional Inherited Members | |
Public Types inherited from TGo4Status | |
enum | { kGo4NoReset = BIT(20), kGo4CanDelete = BIT(21), kGo4BackStoreReset = BIT(22) } |
Static Public Member Functions inherited from TGo4Status | |
static Text_t * | PrintIndent (Text_t *buffer, Int_t &buflen) |
static Text_t * | PrintBuffer (char *buffer, Int_t &buflen, const char *text,...) |
Status object of one analysis step. Will be aggregated in analysis status.
Definition at line 29 of file TGo4AnalysisStepStatus.h.
TGo4AnalysisStepStatus::TGo4AnalysisStepStatus | ( | ) |
Definition at line 21 of file TGo4AnalysisStepStatus.cxx.
TGo4AnalysisStepStatus::TGo4AnalysisStepStatus | ( | const char * | name | ) |
Definition at line 35 of file TGo4AnalysisStepStatus.cxx.
References GO4TRACE.
|
virtual |
Definition at line 51 of file TGo4AnalysisStepStatus.cxx.
References fxProcessorType, fxSourceType, fxStoreType, and GO4TRACE.
|
inline |
Returns the event processor parameter which was put into this status object.
Definition at line 68 of file TGo4AnalysisStepStatus.h.
References fxProcessorType.
Referenced by PrintStatus(), and TGo4AnalysisStep::SetStatus().
|
inline |
Returns status value of processor. Meaning of value may be user defined.
Definition at line 97 of file TGo4AnalysisStepStatus.h.
References fiProcessStatus.
Referenced by PrintStatus().
|
inline |
Returns the event source parameter which was put into this status object.
Definition at line 48 of file TGo4AnalysisStepStatus.h.
References fxSourceType.
Referenced by TGo4ConfigStep::ChangeEventInterval(), TGo4ConfigStep::ChangeSourceTimeout(), TGo4ConfigStep::ChangeStartEvent(), TGo4ConfigStep::ChangeStopEvent(), TGo4ConfigStep::CurrentSourceKind(), TGo4ConfigStep::GetSourceSetup(), TGo4ConfigStep::InputArguments(), TGo4ConfigStep::InputFileDialog(), TGo4ConfigStep::InputPortChanged(), TGo4ConfigStep::InputSourceText(), TGo4ConfigStep::InputTagfile(), PrintStatus(), TGo4ConfigStep::RetryCntChanged(), TGo4AnalysisStep::SetStatus(), TGo4ConfigStep::SourceComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Returns the event store parameter which was put into this status object.
Definition at line 60 of file TGo4AnalysisStepStatus.h.
References fxStoreType.
Referenced by TGo4ConfigStep::OutputNameText(), PrintStatus(), TGo4AnalysisStep::SetStatus(), TGo4ConfigStep::SetStepStatus(), TGo4ConfigStep::StoreBufferSize(), TGo4ConfigStep::StoreCompLevel(), TGo4ConfigStep::StoreOverWrite(), TGo4ConfigStep::StoreSplitLevel(), TGo4ConfigStep::StoreTreeAutoSave(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
True if analysis step shall stop on error.
Definition at line 85 of file TGo4AnalysisStepStatus.h.
References fbErrorStopEnabled.
Referenced by TGo4AnalysisStep::SetStatus().
|
inline |
True if analysis step has been stopped on error.
Definition at line 90 of file TGo4AnalysisStepStatus.h.
References fbErrorStopped.
|
inline |
Definition at line 80 of file TGo4AnalysisStepStatus.h.
References fbProcessEnabled.
Referenced by PrintStatus(), TGo4AnalysisStep::SetStatus(), and TGo4ConfigStep::SetStepStatus().
|
inline |
Definition at line 72 of file TGo4AnalysisStepStatus.h.
References fbSourceEnabled.
Referenced by PrintStatus(), TGo4AnalysisStep::SetStatus(), and TGo4ConfigStep::SetStepStatus().
|
inline |
Definition at line 76 of file TGo4AnalysisStepStatus.h.
References fbStoreEnabled.
Referenced by PrintStatus(), TGo4AnalysisStep::SetStatus(), and TGo4ConfigStep::SetStepStatus().
|
virtual |
basic method to printout status information on stdout; to be overridden by specific subclass
Reimplemented from TGo4Status.
Definition at line 59 of file TGo4AnalysisStepStatus.cxx.
References TGo4Analysis::GetName(), GetProcessorPar(), GetProcessStatus(), GetSourcePar(), GetStorePar(), GO4TRACE, IsProcessEnabled(), IsSourceEnabled(), IsStoreEnabled(), TGo4Status::PrintBuffer(), TGo4Status::PrintIndent(), TGo4EventProcessorParameter::PrintParameter(), TGo4EventStoreParameter::PrintParameter(), and TGo4EventSourceParameter::PrintParameter().
Referenced by TGo4AnalysisStatus::PrintStatus(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Enables or disables the stop-on-error mode.
Definition at line 83 of file TGo4AnalysisStepStatus.h.
References fbErrorStopEnabled.
Referenced by TGo4AnalysisStep::CreateStatus().
|
inline |
Enables or disables the stop-on-error mode.
Definition at line 88 of file TGo4AnalysisStepStatus.h.
References fbErrorStopped.
Referenced by TGo4AnalysisStep::CreateStatus().
|
inline |
Enables or disables the event processing.
Definition at line 79 of file TGo4AnalysisStepStatus.h.
References fbProcessEnabled.
Referenced by TGo4Interface::ConfigStep(), TGo4AnalysisStep::CreateStatus(), TGo4ConfigStep::StepStateChanged(), and TGo4AnalysisWebStatus::UpdateFromUrl().
void TGo4AnalysisStepStatus::SetProcessorPar | ( | TGo4EventProcessorParameter * | kind | ) |
Sets the event processor parameter which is used on intitialization of this step.
Definition at line 187 of file TGo4AnalysisStepStatus.cxx.
References fxProcessorType.
Referenced by TGo4AnalysisStep::CreateStatus().
|
inline |
Sets status value of processor, user defined.
Definition at line 93 of file TGo4AnalysisStepStatus.h.
References fiProcessStatus.
Referenced by TGo4AnalysisStep::CreateStatus().
|
inline |
Enables or disables the event source.
Definition at line 71 of file TGo4AnalysisStepStatus.h.
References fbSourceEnabled.
Referenced by TGo4Interface::ConfigStep(), TGo4AnalysisStep::CreateStatus(), TGo4ConfigStep::InputStateChanged(), and TGo4AnalysisWebStatus::UpdateFromUrl().
void TGo4AnalysisStepStatus::SetSourcePar | ( | TGo4EventSourceParameter * | kind | ) |
Sets the event source parameter which is used on intitialization of this step.
Definition at line 162 of file TGo4AnalysisStepStatus.cxx.
References fxSourceType.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4AnalysisStep::CreateStatus(), TGo4Interface::StepFileSource(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), TGo4Interface::StepRandomSource(), TGo4Interface::StepUserSource(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Enables or disables the event store.
Definition at line 75 of file TGo4AnalysisStepStatus.h.
References fbStoreEnabled.
Referenced by TGo4Interface::ConfigStep(), TGo4AnalysisStep::CreateStatus(), TGo4ConfigStep::OutputStateChanged(), and TGo4AnalysisWebStatus::UpdateFromUrl().
void TGo4AnalysisStepStatus::SetStorePar | ( | TGo4EventStoreParameter * | kind | ) |
Sets the event store parameter which is used on intitialization of this step.
Definition at line 178 of file TGo4AnalysisStepStatus.cxx.
References fxStoreType.
Referenced by TGo4AnalysisStep::CreateStatus(), TGo4Interface::StepBackStore(), TGo4Interface::StepFileStore(), TGo4ConfigStep::StoreComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().
TGo4EventSourceParameter * TGo4AnalysisStepStatus::TakeSourcePar | ( | ) |
Removes source parameter from the step and return it back to the user User is responsible to cleanup this object
Definition at line 171 of file TGo4AnalysisStepStatus.cxx.
References fxSourceType.
Referenced by TGo4ConfigStep::ChangeSourceParameter().
|
private |
Operation mode switch. If true, the analysis step process method will stop the analysis if the event source returns an error code. Otherwise, the event source may be reset then and the analysis continues from start.
Definition at line 141 of file TGo4AnalysisStepStatus.h.
Referenced by IsErrorStopEnabled(), and SetErrorStopEnabled().
|
private |
True if the analysis step has been stopped after input error.
Definition at line 145 of file TGo4AnalysisStepStatus.h.
Referenced by IsErrorStopped(), and SetErrorStopped().
|
private |
Enables processing of the input event. If true, Process method produces an output event from the input; otherwise we do not fill the output. Useful if event source of this step shall be used to pass the input event to another analysis step. If process is disabled, also the eventstore is disabled.
Definition at line 134 of file TGo4AnalysisStepStatus.h.
Referenced by IsProcessEnabled(), and SetProcessEnabled().
|
private |
Enables event source.If true, the event source is used to get the input event; otherwise we use the output of the previous step.
Definition at line 122 of file TGo4AnalysisStepStatus.h.
Referenced by IsSourceEnabled(), and SetSourceEnabled().
|
private |
Enables event store. If true, the event store is used as output; otherwise we pass the output to the next step.
Definition at line 127 of file TGo4AnalysisStepStatus.h.
Referenced by IsStoreEnabled(), and SetStoreEnabled().
|
private |
Contains current analysis step status value. To be checked by framework after Process().
Definition at line 148 of file TGo4AnalysisStepStatus.h.
Referenced by GetProcessStatus(), and SetProcessStatus().
|
private |
Parameter object of next event processor to be activated. Is used by eventfactory as parameter for factory method. Meaning is defined in actual user event factory. aggregation
Definition at line 117 of file TGo4AnalysisStepStatus.h.
Referenced by GetProcessorPar(), SetProcessorPar(), and ~TGo4AnalysisStepStatus().
|
private |
Parameter object of next event source to be activated. Is used by eventfactory as parameter for factory method. Meaning is defined in actual user event factory. aggregation
Definition at line 105 of file TGo4AnalysisStepStatus.h.
Referenced by GetSourcePar(), SetSourcePar(), TakeSourcePar(), and ~TGo4AnalysisStepStatus().
|
private |
Parameter object of next event storage to be activated. Is used by eventfactory as parameter for factory method. Meaning is defined in actual user event factory. aggregation
Definition at line 111 of file TGo4AnalysisStepStatus.h.
Referenced by GetStorePar(), SetStorePar(), and ~TGo4AnalysisStepStatus().