GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#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) |
void | Print (Option_t *opt="") const override |
Bool_t | UpdateFrom (TGo4Parameter *rhs) override |
![]() | |
TGo4Parameter () | |
TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object") | |
virtual | ~TGo4Parameter () |
virtual Int_t | PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0) |
void | Print (Option_t *opt="") const override |
Bool_t | UpdateFromUrl (const char *rest_url_opt) |
virtual Bool_t | CustomUpdateFrom () const |
void | Clear (Option_t *opt="") override |
void | GetMemberValues (TObjArray *fItems) |
Bool_t | SetMemberValues (TObjArray *fItems) |
void | SavePrimitive (std::ostream &fs, Option_t *opt="") override |
TGo4ParameterStatus * | CreateStatus () |
Bool_t | SetStatus (TGo4ParameterStatus *status) |
Private Attributes | |
Int_t | fiID {0} |
Int_t | fiTimeout {1} |
Additional Inherited Members | |
![]() | |
void | GetMemberValues (TObjArray *fItems, TClass *cl, char *ptr, unsigned long int cloffset) |
Bool_t | SetMemberValues (TObjArray *items, Int_t &itemsindx, TClass *cl, char *ptr, unsigned long int cloffset) |
Int_t | FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member) |
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 24 of file TGo4EventSourceParameter.cxx.
TGo4EventSourceParameter::TGo4EventSourceParameter | ( | const char * | name, |
Int_t | id = 0 |
||
) |
Definition at line 19 of file TGo4EventSourceParameter.cxx.
|
virtual |
Definition at line 29 of file TGo4EventSourceParameter.cxx.
|
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(), Print(), and TGo4ConfigStep::RetryCntChanged().
|
inline |
Definition at line 36 of file TGo4EventSourceParameter.h.
References fiTimeout.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), Print(), TGo4ConfigStep::SourceComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
override |
Definition at line 33 of file TGo4EventSourceParameter.cxx.
References GetID(), GetTimeout(), and TGo4Status::PrintLine().
Referenced by TGo4UserSourceParameter::Print(), TGo4MbsSourceParameter::Print(), and SetTimeout().
|
inline |
Definition at line 38 of file TGo4EventSourceParameter.h.
References fiTimeout, Print(), and UpdateFrom().
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::ChangeSourceTimeout(), main(), TGo4Interface::StepFileSource(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), TGo4Interface::StepRandomSource(), TGo4Interface::StepUserSource(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
overridevirtual |
update contents of parameter class with external object.
Reimplemented from TGo4Parameter.
Reimplemented in TGo4MbsSourceParameter, TGo4MbsFileParameter, and TGo4UserSourceParameter.
Definition at line 43 of file TGo4EventSourceParameter.cxx.
References fiID, and SetTimeout().
Referenced by SetTimeout(), TGo4UserSourceParameter::UpdateFrom(), and TGo4MbsSourceParameter::UpdateFrom().
|
private |
Identity number to specify the kind. Optional, default is 0.
Definition at line 48 of file TGo4EventSourceParameter.h.
Referenced by GetID(), and UpdateFrom().
|
private |
Timeout in seconds. If -1, no timeout (default)
Definition at line 51 of file TGo4EventSourceParameter.h.
Referenced by GetTimeout(), and SetTimeout().