GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TGo4EventSourceParameter Class Reference

#include <TGo4EventSourceParameter.h>

+ Inheritance diagram for TGo4EventSourceParameter:

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)
 
- Public Member Functions inherited from TGo4Parameter
 TGo4Parameter ()
 
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
 
virtual ~TGo4Parameter ()
 
virtual void Print (Option_t *dummy="") const
 
Bool_t UpdateFromUrl (const char *rest_url_opt)
 
virtual Bool_t CustomUpdateFrom () const
 
virtual void Clear (Option_t *opt="")
 
void GetMemberValues (TObjArray *fItems)
 
Bool_t SetMemberValues (TObjArray *fItems)
 
virtual void SavePrimitive (std::ostream &fs, Option_t *opt="")
 
TGo4ParameterStatusCreateStatus ()
 
Bool_t SetStatus (TGo4ParameterStatus *status)
 

Private Attributes

Int_t fiID
 
Int_t fiTimeout
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4Parameter
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)
 
Int_t FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member)
 

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::GetID ( ) const
inline
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 TGo4MbsSourceParameter, TGo4MbsFileParameter, and TGo4UserSourceParameter.

Definition at line 41 of file TGo4EventSourceParameter.cxx.

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

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

void TGo4EventSourceParameter::SetTimeout ( Int_t  out)
inline
Bool_t TGo4EventSourceParameter::UpdateFrom ( TGo4Parameter rhs)
virtual

update contents of paramter class with external object.

Reimplemented from TGo4Parameter.

Reimplemented in TGo4MbsSourceParameter, and TGo4MbsFileParameter.

Definition at line 75 of file TGo4EventSourceParameter.cxx.

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

Referenced by TGo4MbsSourceParameter::UpdateFrom().

Member Data Documentation

Int_t TGo4EventSourceParameter::fiID
private

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

Definition at line 50 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 53 of file TGo4EventSourceParameter.h.

Referenced by GetTimeout(), and SetTimeout().


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