|
GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Basic type for all classes containing information to parameterize the event source. More...
#include <TGo4EventSourceParameter.h>
Inheritance diagram for TGo4EventSourceParameter:Public Member Functions | |
| TGo4EventSourceParameter () | |
| TGo4EventSourceParameter (const char *name, Int_t id=0) | |
| virtual | ~TGo4EventSourceParameter () |
| Int_t | GetID () const |
| Int_t | GetTimeout () const |
| void | Print (Option_t *opt="") const override |
| void | SetTimeout (Int_t out) |
| Bool_t | UpdateFrom (TGo4Parameter *rhs) override |
| update contents of parameter class with external object. | |
Public Member Functions inherited from TGo4Parameter | |
| TGo4Parameter () | |
| TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object") | |
| virtual | ~TGo4Parameter () |
| void | Clear (Option_t *opt="") override |
| TGo4ParameterStatus * | CreateStatus () |
| Creates parameter status object. | |
| virtual Bool_t | CustomUpdateFrom () const |
| Specifies, if user implement UpdateFrom() method and it should be used when parameter updated from other. | |
| void | GetMemberValues (TObjArray *fItems) |
| void | Print (Option_t *opt="") const override |
| virtual Int_t | PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0) |
| DEPRECATED! | |
| void | SavePrimitive (std::ostream &fs, Option_t *opt="") override |
| Standard way to store parameter in form of macro,. | |
| Bool_t | SetMemberValues (TObjArray *fItems) |
| Bool_t | SetStatus (TGo4ParameterStatus *status) |
| Set status object - apply member values to the parameter. | |
| Bool_t | UpdateFromUrl (const char *rest_url_opt) |
| Method used by HTTP server to update some fields, specified in URL syntax. | |
Private Attributes | |
| Int_t | fiID {0} |
| Identity number to specify the kind. | |
| Int_t | fiTimeout {1} |
| Timeout in seconds. | |
Additional Inherited Members | |
Protected Member Functions inherited from TGo4Parameter | |
| Int_t | FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member) |
| 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) |
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 27 of file TGo4EventSourceParameter.h.
| TGo4EventSourceParameter::TGo4EventSourceParameter | ( | ) |
Definition at line 24 of file TGo4EventSourceParameter.cxx.
References TGo4Parameter::TGo4Parameter().
Referenced by TGo4FileSourceParameter::TGo4FileSourceParameter(), TGo4FileSourceParameter::TGo4FileSourceParameter(), TGo4HDF5SourceParameter::TGo4HDF5SourceParameter(), TGo4HDF5SourceParameter::TGo4HDF5SourceParameter(), TGo4MbsSourceParameter::TGo4MbsSourceParameter(), TGo4MbsSourceParameter::TGo4MbsSourceParameter(), TGo4TreeSourceParameter::TGo4TreeSourceParameter(), TGo4TreeSourceParameter::TGo4TreeSourceParameter(), TGo4UserSourceParameter::TGo4UserSourceParameter(), TGo4UserSourceParameter::TGo4UserSourceParameter(), and UpdateFrom().
| TGo4EventSourceParameter::TGo4EventSourceParameter | ( | const char * | name, |
| Int_t | id = 0 ) |
Definition at line 19 of file TGo4EventSourceParameter.cxx.
References TGo4Parameter::TGo4Parameter(), and fiID.
|
virtual |
Definition at line 29 of file TGo4EventSourceParameter.cxx.
|
inline |
Definition at line 35 of file TGo4EventSourceParameter.h.
References fiID.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::InputArguments(), TGo4ConfigStep::InputPortChanged(), TGo4ConfigStep::InputTagfile(), Print(), and TGo4ConfigStep::RetryCntChanged().
|
inline |
Definition at line 37 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 TGo4MbsSourceParameter::Print(), and TGo4UserSourceParameter::Print().
|
inline |
Definition at line 39 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(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
overridevirtual |
update contents of parameter class with external object.
Reimplemented from TGo4Parameter.
Reimplemented in TGo4MbsFileParameter, TGo4MbsSourceParameter, and TGo4UserSourceParameter.
Definition at line 43 of file TGo4EventSourceParameter.cxx.
References TGo4EventSourceParameter(), TGo4Parameter::TGo4Parameter(), fiID, and SetTimeout().
Referenced by TGo4MbsSourceParameter::UpdateFrom(), and TGo4UserSourceParameter::UpdateFrom().
|
private |
Identity number to specify the kind.
Optional, default is 0.
Definition at line 49 of file TGo4EventSourceParameter.h.
Referenced by TGo4EventSourceParameter(), GetID(), and UpdateFrom().
|
private |
Timeout in seconds.
If -1, no timeout (default)
Definition at line 52 of file TGo4EventSourceParameter.h.
Referenced by GetTimeout(), and SetTimeout().