#include <TGo4EventSourceParameter.h>
Public Member Functions | |
TGo4EventSourceParameter () | |
TGo4EventSourceParameter (const char *name, Int_t id=0) | |
virtual | ~TGo4EventSourceParameter () |
Int_t | GetID () const |
Int_t | GetTimeout () const |
void | SetTimeout (Int_t out) |
virtual Int_t | PrintParameter (Text_t *buffer=0, Int_t buflen=0) |
virtual Bool_t | UpdateFrom (TGo4Parameter *rhs) |
Private Attributes | |
Int_t | fiID |
Int_t | fiTimeout |
Basic type for all classes containing information to parameterize the event source. For use in the event factory; factory method gets (possibly subclassed) parameter object which is suited to the concrete user factory. Name string can be used as filename, e.g.
Definition at line 26 of file TGo4EventSourceParameter.h.
TGo4EventSourceParameter::TGo4EventSourceParameter | ( | ) |
Definition at line 29 of file TGo4EventSourceParameter.cxx.
References GO4TRACE.
TGo4EventSourceParameter::TGo4EventSourceParameter | ( | const char * | name, | |
Int_t | id = 0 | |||
) |
Definition at line 21 of file TGo4EventSourceParameter.cxx.
References GO4TRACE.
TGo4EventSourceParameter::~TGo4EventSourceParameter | ( | ) | [virtual] |
Definition at line 36 of file TGo4EventSourceParameter.cxx.
References GO4TRACE.
Int_t TGo4EventSourceParameter::GetID | ( | ) | const [inline] |
Definition at line 34 of file TGo4EventSourceParameter.h.
References fiID.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::CurrentSourceKind(), TGo4ConfigStep::GetSourceSetup(), TGo4ConfigStep::InputArguments(), TGo4ConfigStep::InputPortChanged(), TGo4ConfigStep::InputTagfile(), TGo4ConfigStep::RetryCntChanged(), and UpdateFrom().
Int_t TGo4EventSourceParameter::GetTimeout | ( | ) | const [inline] |
Definition at line 36 of file TGo4EventSourceParameter.h.
References fiTimeout.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), PrintParameter(), TGo4ConfigStep::SourceComboHighlighted(), and UpdateFrom().
Int_t TGo4EventSourceParameter::PrintParameter | ( | Text_t * | buffer = 0 , |
|
Int_t | buflen = 0 | |||
) | [virtual] |
basic method to printout status information on stdout; to be overridden by specific subclass
Reimplemented from TGo4Parameter.
Reimplemented in TGo4MbsFileParameter, TGo4MbsSourceParameter, and TGo4UserSourceParameter.
Definition at line 41 of file TGo4EventSourceParameter.cxx.
References GetTimeout(), GO4TRACE, TGo4Status::PrintBuffer(), and TGo4Status::PrintIndent().
Referenced by TGo4AnalysisStepStatus::PrintStatus().
void TGo4EventSourceParameter::SetTimeout | ( | Int_t | out | ) | [inline] |
Definition at line 38 of file TGo4EventSourceParameter.h.
References fiTimeout.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::ChangeSourceTimeout(), main(), TGo4Interface::StepFileSource(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), TGo4Interface::StepRandomSource(), TGo4Interface::StepUserSource(), and UpdateFrom().
Bool_t TGo4EventSourceParameter::UpdateFrom | ( | TGo4Parameter * | rhs | ) | [virtual] |
update contents of paramter class with external object.
Reimplemented from TGo4Parameter.
Reimplemented in TGo4MbsFileParameter, and TGo4MbsSourceParameter.
Definition at line 75 of file TGo4EventSourceParameter.cxx.
References fiID, GetID(), GetTimeout(), GO4TRACE, and SetTimeout().
Referenced by TGo4MbsSourceParameter::UpdateFrom().
Int_t TGo4EventSourceParameter::fiID [private] |
Identity number to specify the kind. Optional, default is 0.
Definition at line 50 of file TGo4EventSourceParameter.h.
Referenced by GetID(), and UpdateFrom().
Int_t TGo4EventSourceParameter::fiTimeout [private] |
Timeout in seconds. If -1, no timeout (default)
Definition at line 53 of file TGo4EventSourceParameter.h.
Referenced by GetTimeout(), and SetTimeout().