#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 |
virtual Int_t | PrintParameter (Text_t *buffer=0, Int_t buflen=0) |
virtual Bool_t | UpdateFrom (TGo4Parameter *rhs) |
Private Attributes | |
UInt_t | fuStartEvent |
UInt_t | fuStopEvent |
UInt_t | fuEventInterval |
Int_t | fiPort |
Int_t | fiRetryCnt |
Definition at line 21 of file TGo4MbsSourceParameter.h.
TGo4MbsSourceParameter::TGo4MbsSourceParameter | ( | ) |
Definition at line 20 of file TGo4MbsSourceParameter.cxx.
References GO4TRACE.
TGo4MbsSourceParameter::TGo4MbsSourceParameter | ( | const char * | name, | |
Int_t | id | |||
) |
Definition at line 31 of file TGo4MbsSourceParameter.cxx.
References GO4TRACE.
TGo4MbsSourceParameter::~TGo4MbsSourceParameter | ( | ) | [virtual] |
Definition at line 42 of file TGo4MbsSourceParameter.cxx.
References GO4TRACE.
UInt_t TGo4MbsSourceParameter::GetEventInterval | ( | ) | const [inline] |
Returns event interval
Definition at line 45 of file TGo4MbsSourceParameter.h.
References fuEventInterval.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), PrintParameter(), TGo4ConfigStep::SourceComboHighlighted(), and UpdateFrom().
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 51 of file TGo4MbsSourceParameter.h.
References fiPort.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), PrintParameter(), TGo4ConfigStep::SourceComboHighlighted(), and UpdateFrom().
Int_t TGo4MbsSourceParameter::GetRetryCnt | ( | ) | const [inline] |
Return allowed number of reconnection retries
Definition at line 57 of file TGo4MbsSourceParameter.h.
References fiRetryCnt.
Referenced by PrintParameter(), TGo4ConfigStep::SourceComboHighlighted(), and UpdateFrom().
UInt_t TGo4MbsSourceParameter::GetStartEvent | ( | ) | const [inline] |
Returns the Start index for the NextEvent
Definition at line 33 of file TGo4MbsSourceParameter.h.
References fuStartEvent.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), PrintParameter(), TGo4ConfigStep::SourceComboHighlighted(), and UpdateFrom().
UInt_t TGo4MbsSourceParameter::GetStopEvent | ( | ) | const [inline] |
Returns the index of Stop event
Definition at line 39 of file TGo4MbsSourceParameter.h.
References fuStopEvent.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), PrintParameter(), TGo4ConfigStep::SourceComboHighlighted(), and UpdateFrom().
Int_t TGo4MbsSourceParameter::PrintParameter | ( | Text_t * | buffer = 0 , |
|
Int_t | buflen = 0 | |||
) | [virtual] |
basic method to printout status information on stdout; to be overridden by specific subclass
Reimplemented from TGo4EventSourceParameter.
Reimplemented in TGo4MbsFileParameter.
Definition at line 47 of file TGo4MbsSourceParameter.cxx.
References GetEventInterval(), GetPort(), GetRetryCnt(), GetStartEvent(), GetStopEvent(), GO4TRACE, TGo4Status::PrintBuffer(), and TGo4Status::PrintIndent().
void TGo4MbsSourceParameter::SetEventInterval | ( | UInt_t | skipinterval | ) | [inline] |
Defines event interval
Definition at line 42 of file TGo4MbsSourceParameter.h.
References fuEventInterval.
Referenced by TGo4ConfigStep::ChangeEventInterval(), TGo4ConfigStep::ChangeSourceParameter(), main(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), and UpdateFrom().
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 48 of file TGo4MbsSourceParameter.h.
References fiPort.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::InputPortChanged(), main(), TGo4Interface::StepMbsRevServSource(), TGo4RevServParameter::TGo4RevServParameter(), and UpdateFrom().
void TGo4MbsSourceParameter::SetRetryCnt | ( | Int_t | cnt | ) | [inline] |
Set number of allowed reconnection retries
Definition at line 54 of file TGo4MbsSourceParameter.h.
References fiRetryCnt.
Referenced by main(), TGo4ConfigStep::RetryCntChanged(), and UpdateFrom().
void TGo4MbsSourceParameter::SetStartEvent | ( | UInt_t | firstindex | ) | [inline] |
Define the Start index for the NextEvent
Definition at line 30 of file TGo4MbsSourceParameter.h.
References fuStartEvent.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::ChangeStartEvent(), main(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), and UpdateFrom().
void TGo4MbsSourceParameter::SetStopEvent | ( | UInt_t | lastindex | ) | [inline] |
Define the index of Stop event
Definition at line 36 of file TGo4MbsSourceParameter.h.
References fuStopEvent.
Referenced by TGo4ConfigStep::ChangeSourceParameter(), TGo4ConfigStep::ChangeStopEvent(), main(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), and UpdateFrom().
Bool_t TGo4MbsSourceParameter::UpdateFrom | ( | TGo4Parameter * | rhs | ) | [virtual] |
update contents of paramter class with external object.
Reimplemented from TGo4EventSourceParameter.
Reimplemented in TGo4MbsFileParameter.
Definition at line 85 of file TGo4MbsSourceParameter.cxx.
References GetEventInterval(), GetPort(), GetRetryCnt(), GetStartEvent(), GetStopEvent(), GO4TRACE, SetEventInterval(), SetPort(), SetRetryCnt(), SetStartEvent(), SetStopEvent(), and TGo4EventSourceParameter::UpdateFrom().
Referenced by TGo4MbsFileParameter::UpdateFrom().
Int_t TGo4MbsSourceParameter::fiPort [private] |
Port number .
Definition at line 78 of file TGo4MbsSourceParameter.h.
Int_t TGo4MbsSourceParameter::fiRetryCnt [private] |
Allowed number of retries when connection lost
Definition at line 81 of file TGo4MbsSourceParameter.h.
Referenced by GetRetryCnt(), and SetRetryCnt().
UInt_t TGo4MbsSourceParameter::fuEventInterval [private] |
Number of events to skip from file in between two read events
Definition at line 75 of file TGo4MbsSourceParameter.h.
Referenced by GetEventInterval(), and SetEventInterval().
UInt_t TGo4MbsSourceParameter::fuStartEvent [private] |
Index of first event to process.
Definition at line 69 of file TGo4MbsSourceParameter.h.
Referenced by GetStartEvent(), and SetStartEvent().
UInt_t TGo4MbsSourceParameter::fuStopEvent [private] |
Index of last event to process.
Definition at line 72 of file TGo4MbsSourceParameter.h.
Referenced by GetStopEvent(), and SetStopEvent().