Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4EventSourceParameter Class Reference

Basic type for all classes containing information to parametrize the event source. More...

#include <TGo4EventSourceParameter.h>

Inheritance diagram for TGo4EventSourceParameter:

TGo4Parameter TGo4FileSourceParameter TGo4MbsEventServerParameter TGo4MbsFileParameter TGo4MbsRandomParameter TGo4MbsStreamParameter TGo4MbsTransportParameter TGo4RevServParameter TGo4TreeSourceParameter TGo4UserSourceParameter List of all members.

Public Member Functions

 TGo4EventSourceParameter ()
 TGo4EventSourceParameter (const char *name, Int_t id=0)
virtual ~TGo4EventSourceParameter ()
Int_t GetID () const
Int_t GetTimeout () const
void SetTimeout (Int_t out)
virtual Int_t PrintParameter (Text_t *buffer=0, Int_t buflen=0)
 basic method to printout status information on stdout; to be overridden by specific subclass
virtual Bool_t UpdateFrom (TGo4Parameter *rhs)
 update contents of paramter class with external object.

Private Attributes

Int_t fiID
 Identity number to specify the kind.
Int_t fiTimeout
 Timeout in seconds.

Detailed Description

Basic type for all classes containing information to parametrize the event source.

For use in the event factory; factory method gets (possibly subclassed) parameter object which is suited to the concrete user factory. Name string can be used as filename, e.g.

Definition at line 28 of file TGo4EventSourceParameter.h.


Constructor & Destructor Documentation

TGo4EventSourceParameter::TGo4EventSourceParameter  ) 
 

Definition at line 33 of file TGo4EventSourceParameter.cxx.

References TRACE.

TGo4EventSourceParameter::TGo4EventSourceParameter const char *  name,
Int_t  id = 0
 

Definition at line 25 of file TGo4EventSourceParameter.cxx.

References TRACE.

TGo4EventSourceParameter::~TGo4EventSourceParameter  )  [virtual]
 

Definition at line 40 of file TGo4EventSourceParameter.cxx.

References TRACE.


Member Function Documentation

Int_t TGo4EventSourceParameter::GetID  )  const [inline]
 

Definition at line 36 of file TGo4EventSourceParameter.h.

References fiID.

Referenced by UpdateFrom().

Int_t TGo4EventSourceParameter::GetTimeout  )  const [inline]
 

Definition at line 38 of file TGo4EventSourceParameter.h.

References fiTimeout.

Referenced by PrintParameter(), TGo4MbsEventServer::TGo4MbsEventServer(), TGo4MbsStream::TGo4MbsStream(), TGo4MbsTransport::TGo4MbsTransport(), TGo4RevServ::TGo4RevServ(), and UpdateFrom().

void TGo4EventSourceParameter::SetTimeout Int_t  out  )  [inline]
 

Definition at line 40 of file TGo4EventSourceParameter.h.

References fiTimeout.

Referenced by TGo4Interface::StepFileSource(), TGo4Interface::StepMbsEventServerSource(), TGo4Interface::StepMbsFileSource(), TGo4Interface::StepMbsRevServSource(), TGo4Interface::StepMbsStreamSource(), TGo4Interface::StepMbsTransportSource(), TGo4Interface::StepRandomSource(), TGo4Interface::StepUserSource(), and UpdateFrom().

Int_t TGo4EventSourceParameter::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 TGo4Parameter.

Reimplemented in TGo4MbsFileParameter, TGo4RevServParameter, and TGo4UserSourceParameter.

Definition at line 45 of file TGo4EventSourceParameter.cxx.

References GetTimeout(), TGo4Status::PrintBuffer(), TGo4Status::PrintIndent(), and TRACE.

Referenced by TGo4UserSourceParameter::PrintParameter(), TGo4RevServParameter::PrintParameter(), TGo4MbsFileParameter::PrintParameter(), and TGo4AnalysisStepStatus::PrintStatus().

Bool_t TGo4EventSourceParameter::UpdateFrom TGo4Parameter rhs  )  [virtual]
 

update contents of paramter class with external object.

Reimplemented from TGo4Parameter.

Reimplemented in TGo4MbsFileParameter.

Definition at line 79 of file TGo4EventSourceParameter.cxx.

References fiID, GetID(), GetTimeout(), SetTimeout(), and TRACE.

Referenced by TGo4MbsFileParameter::UpdateFrom().


Member Data Documentation

Int_t TGo4EventSourceParameter::fiID [private]
 

Identity number to specify the kind.

Optional, default is 0.

Definition at line 52 of file TGo4EventSourceParameter.h.

Referenced by GetID(), and UpdateFrom().

Int_t TGo4EventSourceParameter::fiTimeout [private]
 

Timeout in seconds.

If -1, no timeout (default)

Definition at line 55 of file TGo4EventSourceParameter.h.

Referenced by GetTimeout(), and SetTimeout().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:52 2008 for Go4-v3.04-1 by  doxygen 1.4.2