GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
User source parameter. More...
#include <TGo4UserSourceParameter.h>
Public Member Functions | |
TGo4UserSourceParameter () | |
TGo4UserSourceParameter (const char *name, const char *expr="", Int_t port=0) | |
virtual | ~TGo4UserSourceParameter () |
const char * | GetExpression () const |
User expression as string. | |
Int_t | GetPort () const |
void | Print (Option_t *opt="") const override |
void | SetExpression (const char *name) |
void | SetPort (Int_t port) |
Bool_t | UpdateFrom (TGo4Parameter *rhs) override |
update contents of parameter class with external object. | |
![]() | |
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) |
![]() | |
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 | fiPort {0} |
(Port) number. | |
TString | fxExpression |
Any user defined expression as string. | |
Additional Inherited Members | |
![]() | |
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) |
User source parameter.
Definition at line 22 of file TGo4UserSourceParameter.h.
TGo4UserSourceParameter::TGo4UserSourceParameter | ( | ) |
Definition at line 24 of file TGo4UserSourceParameter.cxx.
References TGo4EventSourceParameter::TGo4EventSourceParameter(), and GO4EV_USER.
Referenced by UpdateFrom().
TGo4UserSourceParameter::TGo4UserSourceParameter | ( | const char * | name, |
const char * | expr = "", | ||
Int_t | port = 0 ) |
Definition at line 19 of file TGo4UserSourceParameter.cxx.
References TGo4EventSourceParameter::TGo4EventSourceParameter(), fiPort, fxExpression, and GO4EV_USER.
|
virtual |
Definition at line 29 of file TGo4UserSourceParameter.cxx.
|
inline |
User expression as string.
Definition at line 35 of file TGo4UserSourceParameter.h.
References fxExpression.
Referenced by TYYYEventSource::TYYYEventSource(), Print(), and TGo4ConfigStep::SourceComboHighlighted().
|
inline |
Definition at line 32 of file TGo4UserSourceParameter.h.
References fiPort.
Referenced by TYYYEventSource::TYYYEventSource(), Print(), TGo4ConfigStep::SourceComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
override |
Definition at line 33 of file TGo4UserSourceParameter.cxx.
References GetExpression(), GetPort(), TGo4EventSourceParameter::Print(), and TGo4Status::PrintLine().
|
inline |
Definition at line 36 of file TGo4UserSourceParameter.h.
References fxExpression.
Referenced by TGo4ConfigStep::InputArguments(), TGo4Interface::StepUserSource(), and UpdateFrom().
|
inline |
Definition at line 31 of file TGo4UserSourceParameter.h.
References fiPort.
Referenced by TGo4ConfigStep::InputPortChanged(), main(), TGo4Interface::StepUserSource(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
overridevirtual |
update contents of parameter class with external object.
Reimplemented from TGo4EventSourceParameter.
Definition at line 41 of file TGo4UserSourceParameter.cxx.
References TGo4Parameter::TGo4Parameter(), TGo4UserSourceParameter(), SetExpression(), SetPort(), and TGo4EventSourceParameter::UpdateFrom().
|
private |
(Port) number.
Optional and user defined.
Definition at line 46 of file TGo4UserSourceParameter.h.
Referenced by TGo4UserSourceParameter(), GetPort(), and SetPort().
|
private |
Any user defined expression as string.
Definition at line 49 of file TGo4UserSourceParameter.h.
Referenced by TGo4UserSourceParameter(), GetExpression(), and SetExpression().