GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4MbsSourceParameter Class Reference

MBS source parameter. More...

#include <TGo4MbsSourceParameter.h>

+ Inheritance diagram for TGo4MbsSourceParameter:

Public Member Functions

 TGo4MbsSourceParameter ()
 
 TGo4MbsSourceParameter (const char *name, Int_t id)
 
virtual ~TGo4MbsSourceParameter ()
 
UInt_t GetEventInterval () const
 Returns event interval.
 
Int_t GetPort () const
 Return optional port number, 0 or negative value means that default port number will be used.
 
Int_t GetRetryCnt () const
 Return allowed number of reconnection retries.
 
UInt_t GetStartEvent () const
 Returns the Start index for the NextEvent.
 
UInt_t GetStopEvent () const
 Returns the index of Stop event.
 
void Print (Option_t *opt="") const override
 basic method to printout object
 
void SetEventInterval (UInt_t skipinterval)
 Defines event interval.
 
void SetPort (Int_t port)
 Set optional port number, 0 or negative value means that default port number will be used.
 
void SetRetryCnt (Int_t cnt)
 Set number of allowed reconnection retries.
 
void SetStartEvent (UInt_t firstindex)
 Define the Start index for the NextEvent.
 
void SetStopEvent (UInt_t lastindex)
 Define the index of Stop event.
 
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
 
- Public Member Functions inherited from TGo4EventSourceParameter
 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)
 
- 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
 
TGo4ParameterStatusCreateStatus ()
 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 .
 
Int_t fiRetryCnt {0}
 Allowed number of retries when connection lost.
 
UInt_t fuEventInterval {0}
 Number of events to skip from file in between two read events.
 
UInt_t fuStartEvent {0}
 Index of first event to process.
 
UInt_t fuStopEvent {0}
 Index of last event to process.
 

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)
 

Detailed Description

MBS source parameter.

Definition at line 23 of file TGo4MbsSourceParameter.h.

Constructor & Destructor Documentation

◆ TGo4MbsSourceParameter() [1/2]

◆ TGo4MbsSourceParameter() [2/2]

TGo4MbsSourceParameter::TGo4MbsSourceParameter ( const char * name,
Int_t id )

◆ ~TGo4MbsSourceParameter()

TGo4MbsSourceParameter::~TGo4MbsSourceParameter ( )
virtual

Definition at line 28 of file TGo4MbsSourceParameter.cxx.

Member Function Documentation

◆ GetEventInterval()

UInt_t TGo4MbsSourceParameter::GetEventInterval ( ) const
inline

◆ GetPort()

Int_t TGo4MbsSourceParameter::GetPort ( ) const
inline

Return optional port number, 0 or negative value means that default port number will be used.

Definition at line 53 of file TGo4MbsSourceParameter.h.

References fiPort.

Referenced by TGo4ConfigStep::ChangeSourceParameter(), Print(), TGo4ConfigStep::SourceComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().

◆ GetRetryCnt()

Int_t TGo4MbsSourceParameter::GetRetryCnt ( ) const
inline

Return allowed number of reconnection retries.

Definition at line 59 of file TGo4MbsSourceParameter.h.

References fiRetryCnt.

Referenced by Print(), and TGo4ConfigStep::SourceComboHighlighted().

◆ GetStartEvent()

UInt_t TGo4MbsSourceParameter::GetStartEvent ( ) const
inline

Returns the Start index for the NextEvent.

Definition at line 35 of file TGo4MbsSourceParameter.h.

References fuStartEvent.

Referenced by TGo4ConfigStep::ChangeSourceParameter(), Print(), TGo4ConfigStep::SourceComboHighlighted(), and TGo4AnalysisWebStatus::UpdateFromUrl().

◆ GetStopEvent()

UInt_t TGo4MbsSourceParameter::GetStopEvent ( ) const
inline

◆ Print()

void TGo4MbsSourceParameter::Print ( Option_t * opt = "") const
override

◆ SetEventInterval()

◆ SetPort()

void TGo4MbsSourceParameter::SetPort ( Int_t port)
inline

Set optional port number, 0 or negative value means that default port number will be used.

Definition at line 50 of file TGo4MbsSourceParameter.h.

References fiPort.

Referenced by TGo4RevServParameter::TGo4RevServParameter(), TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::InputPortChanged(), main(), TGo4Interface::StepMbsRevServSource(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().

◆ SetRetryCnt()

void TGo4MbsSourceParameter::SetRetryCnt ( Int_t cnt)
inline

Set number of allowed reconnection retries.

Definition at line 56 of file TGo4MbsSourceParameter.h.

References fiRetryCnt.

Referenced by main(), TGo4ConfigStep::RetryCntChanged(), UpdateFrom(), and TGo4AnalysisWebStatus::UpdateFromUrl().

◆ SetStartEvent()

◆ SetStopEvent()

◆ UpdateFrom()

Bool_t TGo4MbsSourceParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

Field Documentation

◆ fiPort

Int_t TGo4MbsSourceParameter::fiPort {0}
private

Port number .

Definition at line 79 of file TGo4MbsSourceParameter.h.

Referenced by GetPort(), and SetPort().

◆ fiRetryCnt

Int_t TGo4MbsSourceParameter::fiRetryCnt {0}
private

Allowed number of retries when connection lost.

Definition at line 82 of file TGo4MbsSourceParameter.h.

Referenced by GetRetryCnt(), and SetRetryCnt().

◆ fuEventInterval

UInt_t TGo4MbsSourceParameter::fuEventInterval {0}
private

Number of events to skip from file in between two read events.

Definition at line 76 of file TGo4MbsSourceParameter.h.

Referenced by GetEventInterval(), and SetEventInterval().

◆ fuStartEvent

UInt_t TGo4MbsSourceParameter::fuStartEvent {0}
private

Index of first event to process.

Definition at line 70 of file TGo4MbsSourceParameter.h.

Referenced by GetStartEvent(), and SetStartEvent().

◆ fuStopEvent

UInt_t TGo4MbsSourceParameter::fuStopEvent {0}
private

Index of last event to process.

Definition at line 73 of file TGo4MbsSourceParameter.h.

Referenced by GetStopEvent(), and SetStopEvent().


The documentation for this class was generated from the following files: