Public Member Functions | Private Attributes

TGo4EventSourceParameter Class Reference

#include <TGo4EventSourceParameter.h>

Inheritance diagram for TGo4EventSourceParameter:
TGo4Parameter TGo4FileSourceParameter TGo4MbsSourceParameter TGo4TreeSourceParameter TGo4UserSourceParameter TGo4MbsEventServerParameter TGo4MbsFileParameter TGo4MbsRandomParameter TGo4MbsStreamParameter TGo4MbsTransportParameter TGo4RevServParameter

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)
virtual Bool_t UpdateFrom (TGo4Parameter *rhs)

Private Attributes

Int_t fiID
Int_t fiTimeout

Detailed Description

Basic type for all classes containing information to parameterize 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 26 of file TGo4EventSourceParameter.h.


Constructor & Destructor Documentation

TGo4EventSourceParameter::TGo4EventSourceParameter (  ) 

Definition at line 29 of file TGo4EventSourceParameter.cxx.

References GO4TRACE.

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

Definition at line 21 of file TGo4EventSourceParameter.cxx.

References GO4TRACE.

TGo4EventSourceParameter::~TGo4EventSourceParameter (  )  [virtual]

Definition at line 36 of file TGo4EventSourceParameter.cxx.

References GO4TRACE.


Member Function Documentation

Int_t TGo4EventSourceParameter::GetTimeout (  )  const [inline]
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, TGo4MbsSourceParameter, and TGo4UserSourceParameter.

Definition at line 41 of file TGo4EventSourceParameter.cxx.

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

Referenced by TGo4AnalysisStepStatus::PrintStatus().

Bool_t TGo4EventSourceParameter::UpdateFrom ( TGo4Parameter rhs  )  [virtual]

update contents of paramter class with external object.

Reimplemented from TGo4Parameter.

Reimplemented in TGo4MbsFileParameter, and TGo4MbsSourceParameter.

Definition at line 75 of file TGo4EventSourceParameter.cxx.

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

Referenced by TGo4MbsSourceParameter::UpdateFrom().


Member Data Documentation

Identity number to specify the kind. Optional, default is 0.

Definition at line 50 of file TGo4EventSourceParameter.h.

Referenced by GetID(), and UpdateFrom().

Timeout in seconds. If -1, no timeout (default)

Definition at line 53 of file TGo4EventSourceParameter.h.

Referenced by GetTimeout(), and SetTimeout().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines