Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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 Methods

 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. More...

virtual Bool_t UpdateFrom (TGo4Parameter *rhs)
 update contents of paramter class with external object. More...


Private Attributes

Int_t fiID
 Identity number to specify the kind. More...

Int_t fiTimeout
 Timeout in seconds. More...


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 32 of file TGo4EventSourceParameter.cxx.

References TRACE.

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

Definition at line 24 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(), and UpdateFrom().

void TGo4EventSourceParameter::SetTimeout Int_t    out [inline]
 

Definition at line 40 of file TGo4EventSourceParameter.h.

References fiTimeout.

Referenced by 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 Tue Nov 8 10:56:37 2005 for Go4-v2.10-5 by doxygen1.2.15