GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
This class is a container for one fitter to be send between gui and analysis and back. More...
#include <TGo4FitterEnvelope.h>
Public Member Functions | |
TGo4FitterEnvelope () | |
TGo4FitterEnvelope (const char *name, TGo4Fitter *fitter=nullptr) | |
virtual | ~TGo4FitterEnvelope () |
void | Clear (Option_t *opt="") override |
TGo4Fitter * | GetFitter (Bool_t chown=kFALSE) |
Access to the contained fitter object. | |
void | Print (Option_t *opt="") const override |
void | SetFitter (TGo4Fitter *fitter) |
Set new fitter into envelope. | |
Bool_t | UpdateFrom (TGo4Parameter *) override |
Update contents of parameter class with external object. | |
![]() | |
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 | |
TGo4Fitter * | fxFitter {nullptr} |
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) |
This class is a container for one fitter to be send between gui and analysis and back.
It is treated in the scope of the go4 parameter mechanism.
Definition at line 29 of file TGo4FitterEnvelope.h.
TGo4FitterEnvelope::TGo4FitterEnvelope | ( | ) |
Definition at line 18 of file TGo4FitterEnvelope.cxx.
References TGo4Parameter::TGo4Parameter().
Referenced by UpdateFrom().
TGo4FitterEnvelope::TGo4FitterEnvelope | ( | const char * | name, |
TGo4Fitter * | fitter = nullptr ) |
Definition at line 23 of file TGo4FitterEnvelope.cxx.
References TGo4Parameter::TGo4Parameter(), and fxFitter.
|
virtual |
Definition at line 29 of file TGo4FitterEnvelope.cxx.
References fxFitter.
|
override |
Definition at line 53 of file TGo4FitterEnvelope.cxx.
References fxFitter.
TGo4Fitter * TGo4FitterEnvelope::GetFitter | ( | Bool_t | chown = kFALSE | ) |
Access to the contained fitter object.
If change owner is kTRUE, this fitter envelope will lose its fitter to the invoking client and is empty after this call.
Definition at line 58 of file TGo4FitterEnvelope.cxx.
References fxFitter.
|
override |
Definition at line 34 of file TGo4FitterEnvelope.cxx.
References fxFitter, TGo4Parameter::Print(), and TGo4Status::PrintLine().
void TGo4FitterEnvelope::SetFitter | ( | TGo4Fitter * | fitter | ) |
Set new fitter into envelope.
Previous fitter is deleted.
Definition at line 65 of file TGo4FitterEnvelope.cxx.
References fxFitter.
|
overridevirtual |
Update contents of parameter class with external object.
to be implemented in subclass
Reimplemented from TGo4Parameter.
Definition at line 43 of file TGo4FitterEnvelope.cxx.
References TGo4FitterEnvelope(), TGo4Parameter::TGo4Parameter(), and fxFitter.
|
private |
Definition at line 51 of file TGo4FitterEnvelope.h.
Referenced by TGo4FitterEnvelope(), ~TGo4FitterEnvelope(), Clear(), GetFitter(), Print(), SetFitter(), and UpdateFrom().