GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4MbsSourceParameter.h>
Public Member Functions | |
TGo4MbsSourceParameter () | |
TGo4MbsSourceParameter (const char *name, Int_t id) | |
virtual | ~TGo4MbsSourceParameter () |
void | SetStartEvent (UInt_t firstindex) |
UInt_t | GetStartEvent () const |
void | SetStopEvent (UInt_t lastindex) |
UInt_t | GetStopEvent () const |
void | SetEventInterval (UInt_t skipinterval) |
UInt_t | GetEventInterval () const |
void | SetPort (Int_t port) |
Int_t | GetPort () const |
void | SetRetryCnt (Int_t cnt) |
Int_t | GetRetryCnt () const |
void | Print (Option_t *opt="") const override |
Bool_t | UpdateFrom (TGo4Parameter *rhs) override |
![]() | |
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 |
![]() | |
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 | |
UInt_t | fuStartEvent {0} |
UInt_t | fuStopEvent {0} |
UInt_t | fuEventInterval {0} |
Int_t | fiPort {0} |
Int_t | fiRetryCnt {0} |
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) |
Definition at line 19 of file TGo4MbsSourceParameter.h.
TGo4MbsSourceParameter::TGo4MbsSourceParameter | ( | ) |
Definition at line 18 of file TGo4MbsSourceParameter.cxx.
TGo4MbsSourceParameter::TGo4MbsSourceParameter | ( | const char * | name, |
Int_t | id | ||
) |
Definition at line 23 of file TGo4MbsSourceParameter.cxx.
|
virtual |
Definition at line 28 of file TGo4MbsSourceParameter.cxx.
|
inline |
Returns event interval
Definition at line 43 of file TGo4MbsSourceParameter.h.
References fuEventInterval.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), Print(), TGo4ConfigStep::SourceComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Return optional port number, 0 or negative value means that default port number will be used
Definition at line 49 of file TGo4MbsSourceParameter.h.
References fiPort.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), Print(), TGo4ConfigStep::SourceComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Return allowed number of reconnection retries
Definition at line 55 of file TGo4MbsSourceParameter.h.
References fiRetryCnt, Print(), and UpdateFrom().
Referenced by Print(), and TGo4ConfigStep::SourceComboHighlighted().
|
inline |
Returns the Start index for the NextEvent
Definition at line 31 of file TGo4MbsSourceParameter.h.
References fuStartEvent.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), Print(), TGo4ConfigStep::SourceComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Returns the index of Stop event
Definition at line 37 of file TGo4MbsSourceParameter.h.
References fuStopEvent.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), Print(), TGo4ConfigStep::SourceComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
override |
basic method to printout object
Definition at line 32 of file TGo4MbsSourceParameter.cxx.
References GetEventInterval(), GetPort(), GetRetryCnt(), GetStartEvent(), GetStopEvent(), TGo4EventSourceParameter::Print(), and TGo4Status::PrintLine().
Referenced by GetRetryCnt(), and TGo4MbsFileParameter::Print().
|
inline |
Defines event interval
Definition at line 40 of file TGo4MbsSourceParameter.h.
References fuEventInterval.
Referenced by TGo4ConfigStep::ChangeEventInterval(), TGo4ConfigStep::ChangeSourceParameter(), main(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Set optional port number, 0 or negative value means that default port number will be used
Definition at line 46 of file TGo4MbsSourceParameter.h.
References fiPort.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::InputPortChanged(), main(), TGo4Interface::StepMbsRevServSource(), TGo4RevServParameter::TGo4RevServParameter(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Set number of allowed reconnection retries
Definition at line 52 of file TGo4MbsSourceParameter.h.
References fiRetryCnt.
Referenced by main(), TGo4ConfigStep::RetryCntChanged(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Define the Start index for the NextEvent
Definition at line 28 of file TGo4MbsSourceParameter.h.
References fuStartEvent.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::ChangeStartEvent(), main(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
inline |
Define the index of Stop event
Definition at line 34 of file TGo4MbsSourceParameter.h.
References fuStopEvent.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::ChangeStopEvent(), main(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().
|
overridevirtual |
update contents of parameter class with external object.
Reimplemented from TGo4EventSourceParameter.
Definition at line 44 of file TGo4MbsSourceParameter.cxx.
References SetEventInterval(), SetPort(), SetRetryCnt(), SetStartEvent(), SetStopEvent(), and TGo4EventSourceParameter::UpdateFrom().
Referenced by GetRetryCnt(), and TGo4MbsFileParameter::UpdateFrom().
|
private |
Port number .
Definition at line 75 of file TGo4MbsSourceParameter.h.
|
private |
Allowed number of retries when connection lost
Definition at line 78 of file TGo4MbsSourceParameter.h.
Referenced by GetRetryCnt(), and SetRetryCnt().
|
private |
Number of events to skip from file in between two read events
Definition at line 72 of file TGo4MbsSourceParameter.h.
Referenced by GetEventInterval(), and SetEventInterval().
|
private |
Index of first event to process.
Definition at line 66 of file TGo4MbsSourceParameter.h.
Referenced by GetStartEvent(), and SetStartEvent().
|
private |
Index of last event to process.
Definition at line 69 of file TGo4MbsSourceParameter.h.
Referenced by GetStopEvent(), and SetStopEvent().