GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Status object for an analysis parameter. More...
#include <TGo4ParameterStatus.h>
Public Member Functions | |
TGo4ParameterStatus () | |
TGo4ParameterStatus (const char *parname, const char *parclass, TObjArray *items) | |
TGo4ParameterStatus (TGo4Parameter *par, Bool_t membervalues=kFALSE) | |
virtual | ~TGo4ParameterStatus () |
TGo4Parameter * | CreateParameter () |
TObjArray * | GetMemberValues (Bool_t takeit=kFALSE) |
void | Print (Option_t *opt="") const override |
Bool_t | UpdateParameterValues (TGo4Parameter *par) |
![]() | |
TGo4ObjectStatus () | |
default ctor for streamer. | |
TGo4ObjectStatus (TObject *object, Bool_t withtime=kTRUE) | |
Create status information from given TObject. | |
virtual | ~TGo4ObjectStatus () |
const char * | GetObjectClass () const |
ClassName of the described object. | |
Int_t | GetObjectSize () const |
Size of described object in byte. | |
const char * | GetTimeString () const |
Creation time string; sql format. | |
Bool_t | IsDeleteProtect () const |
Object's delete protection state. | |
Bool_t | IsResetProtect () const |
Object's reset protection state. | |
void | Print (Option_t *opt="") const override |
![]() | |
TGo4Status () | |
TGo4Status (const char *name) | |
TGo4Status (const char *name, const char *title) | |
virtual | ~TGo4Status () |
void | Print (Option_t *opt="") const override |
virtual Int_t | PrintStatus (Text_t *buffer=nullptr, Int_t buflen=0) |
DEPRECATED - please use Print(Option_t *) signature basic method to printout status information on stdout; to be overridden by specific subclass. | |
Protected Attributes | |
TObjArray * | fxMemberValues {nullptr} |
![]() | |
Bool_t | fbDeleteProtect {kTRUE} |
If true, described object is protected against deletion from gui. | |
Bool_t | fbResetProtect {kFALSE} |
If true, described object is protected against reset (Clear()) from gui. | |
UInt_t | fiObjectSize {0} |
Size of the described object in byte. | |
TString | fxObjectClass |
Classname of the described object. | |
TString | fxStatusTime |
creation time of status object | |
Additional Inherited Members | |
![]() | |
enum | { kGo4NoReset = BIT(20) , kGo4CanDelete = BIT(21) , kGo4BackStoreReset = BIT(22) } |
Go4 status bits to be used in object manager to suppress resetting or deleting histograms, etc. More... | |
![]() | |
static Text_t * | PrintBuffer (char *buffer, Int_t &buflen, const char *text,...) |
Print text with variable expression into buffer. | |
static Text_t * | PrintIndent (Text_t *buffer, Int_t &buflen) |
Insert indentation blanks into text buffer. | |
static void | PrintLine (const char *text,...) |
Print single line of debug output with appropriate indent. | |
Status object for an analysis parameter.
GUI will decide from this the type of the remote object baseclass
Definition at line 28 of file TGo4ParameterStatus.h.
TGo4ParameterStatus::TGo4ParameterStatus | ( | ) |
Definition at line 23 of file TGo4ParameterStatus.cxx.
References TGo4ObjectStatus::TGo4ObjectStatus().
TGo4ParameterStatus::TGo4ParameterStatus | ( | TGo4Parameter * | par, |
Bool_t | membervalues = kFALSE ) |
Definition at line 28 of file TGo4ParameterStatus.cxx.
References TGo4ObjectStatus::TGo4ObjectStatus(), fxMemberValues, and TGo4Parameter::GetMemberValues().
TGo4ParameterStatus::TGo4ParameterStatus | ( | const char * | parname, |
const char * | parclass, | ||
TObjArray * | items ) |
Definition at line 38 of file TGo4ParameterStatus.cxx.
References TGo4ObjectStatus::TGo4ObjectStatus(), fxMemberValues, and TGo4ObjectStatus::fxObjectClass.
|
virtual |
Definition at line 48 of file TGo4ParameterStatus.cxx.
References fxMemberValues.
TGo4Parameter * TGo4ParameterStatus::CreateParameter | ( | ) |
Definition at line 80 of file TGo4ParameterStatus.cxx.
References fxMemberValues, TGo4ObjectStatus::GetObjectClass(), and TGo4Parameter::SetMemberValues().
Referenced by TGo4ParaEdit::saveFile(), TGo4AnalysisObjectManager::SetParameterStatus(), and UpdateParameterValues().
TObjArray * TGo4ParameterStatus::GetMemberValues | ( | Bool_t | takeit = kFALSE | ) |
Definition at line 56 of file TGo4ParameterStatus.cxx.
References fxMemberValues.
Referenced by TGo4ParaEdit::RefreshWidget().
|
override |
Definition at line 95 of file TGo4ParameterStatus.cxx.
References TGo4ObjectStatus::Print(), and TGo4Status::PrintLine().
Bool_t TGo4ParameterStatus::UpdateParameterValues | ( | TGo4Parameter * | par | ) |
Definition at line 63 of file TGo4ParameterStatus.cxx.
References CreateParameter(), TGo4Parameter::CustomUpdateFrom(), fxMemberValues, TGo4ObjectStatus::GetObjectClass(), TGo4Parameter::SetMemberValues(), and TGo4Parameter::UpdateFrom().
Referenced by TGo4AnalysisObjectManager::SetParameterStatus(), and TGo4Parameter::SetStatus().
|
protected |
Definition at line 48 of file TGo4ParameterStatus.h.
Referenced by TGo4ParameterStatus(), TGo4ParameterStatus(), ~TGo4ParameterStatus(), CreateParameter(), GetMemberValues(), and UpdateParameterValues().