GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
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)
 
void Print (Option_t *opt="") const override
 
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 
- Public Member Functions inherited from TGo4Parameter
 TGo4Parameter ()
 
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
 
virtual ~TGo4Parameter ()
 
virtual Int_t PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0)
 
void Print (Option_t *opt="") const override
 
Bool_t UpdateFromUrl (const char *rest_url_opt)
 
virtual Bool_t CustomUpdateFrom () const
 
void Clear (Option_t *opt="") override
 
void GetMemberValues (TObjArray *fItems)
 
Bool_t SetMemberValues (TObjArray *fItems)
 
void SavePrimitive (std::ostream &fs, Option_t *opt="") override
 
TGo4ParameterStatusCreateStatus ()
 
Bool_t SetStatus (TGo4ParameterStatus *status)
 

Private Attributes

Int_t fiID {0}
 
Int_t fiTimeout {1}
 

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() [1/2]

TGo4EventSourceParameter::TGo4EventSourceParameter ( )

Definition at line 24 of file TGo4EventSourceParameter.cxx.

◆ TGo4EventSourceParameter() [2/2]

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

Definition at line 19 of file TGo4EventSourceParameter.cxx.

◆ ~TGo4EventSourceParameter()

TGo4EventSourceParameter::~TGo4EventSourceParameter ( )
virtual

Definition at line 29 of file TGo4EventSourceParameter.cxx.

Member Function Documentation

◆ GetID()

Int_t TGo4EventSourceParameter::GetID ( ) const
inline

◆ GetTimeout()

Int_t TGo4EventSourceParameter::GetTimeout ( ) const
inline

◆ Print()

void TGo4EventSourceParameter::Print ( Option_t *  opt = "") const
override

◆ SetTimeout()

void TGo4EventSourceParameter::SetTimeout ( Int_t  out)
inline

◆ UpdateFrom()

Bool_t TGo4EventSourceParameter::UpdateFrom ( TGo4Parameter rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4Parameter.

Reimplemented in TGo4MbsSourceParameter, TGo4MbsFileParameter, and TGo4UserSourceParameter.

Definition at line 43 of file TGo4EventSourceParameter.cxx.

References fiID, and SetTimeout().

Referenced by SetTimeout(), TGo4UserSourceParameter::UpdateFrom(), and TGo4MbsSourceParameter::UpdateFrom().

Member Data Documentation

◆ fiID

Int_t TGo4EventSourceParameter::fiID {0}
private

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

Definition at line 48 of file TGo4EventSourceParameter.h.

Referenced by GetID(), and UpdateFrom().

◆ fiTimeout

Int_t TGo4EventSourceParameter::fiTimeout {1}
private

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

Definition at line 51 of file TGo4EventSourceParameter.h.

Referenced by GetTimeout(), and SetTimeout().


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