GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4EventSourceParameter Class Reference

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

#include <TGo4EventSourceParameter.h>

Inheritance diagram for TGo4EventSourceParameter:

Public Member Functions

 TGo4EventSourceParameter ()
 TGo4EventSourceParameter ()
 TGo4EventSourceParameter (const char *name, Int_t id=0)
 TGo4EventSourceParameter (const char *name, Int_t id=0)
virtual ~TGo4EventSourceParameter ()
virtual ~TGo4EventSourceParameter ()
Int_t GetID () const
Int_t GetID () const
Int_t GetTimeout () const
Int_t GetTimeout () const
void Print (Option_t *opt="") const override
void Print (Option_t *opt="") const override
void SetTimeout (Int_t out)
void SetTimeout (Int_t out)
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
Public Member Functions inherited from TGo4Parameter
 TGo4Parameter ()
 TGo4Parameter ()
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
virtual ~TGo4Parameter ()
virtual ~TGo4Parameter ()
void Clear (Option_t *opt="") override
void Clear (Option_t *opt="") override
TGo4ParameterStatusCreateStatus ()
 Creates parameter status object.
TGo4ParameterStatusCreateStatus ()
 Creates parameter status object.
virtual Bool_t CustomUpdateFrom () const
 Specifies, if user implement UpdateFrom() method and it should be used when parameter updated from other.
virtual Bool_t CustomUpdateFrom () const
 Specifies, if user implement UpdateFrom() method and it should be used when parameter updated from other.
void GetMemberValues (TObjArray *fItems)
void GetMemberValues (TObjArray *fItems)
void Print (Option_t *opt="") const override
void Print (Option_t *opt="") const override
virtual Int_t PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0)
 DEPRECATED!
virtual Int_t PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0)
 DEPRECATED!
void SavePrimitive (std::ostream &fs, Option_t *opt="") override
 Standard way to store parameter in form of macro,.
void SavePrimitive (std::ostream &fs, Option_t *opt="") override
 Standard way to store parameter in form of macro,.
Bool_t SetMemberValues (TObjArray *fItems)
Bool_t SetMemberValues (TObjArray *fItems)
Bool_t SetStatus (TGo4ParameterStatus *status)
 Set status object - apply member values to the parameter.
Bool_t SetStatus (TGo4ParameterStatus *status)
 Set status object - apply member values to the parameter.
Bool_t UpdateFromUrl (const char *rest_url_opt)
 Method used by HTTP server to update some fields, specified in URL syntax.
Bool_t UpdateFromUrl (const char *rest_url_opt)
 Method used by HTTP server to update some fields, specified in URL syntax.

Private Attributes

Int_t fiID {0}
 Identity number to specify the kind.
Int_t fiTimeout {1}
 Timeout in seconds.

Additional Inherited Members

Protected Member Functions inherited from TGo4Parameter
Int_t FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member)
Int_t FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member)
void GetMemberValues (TObjArray *fItems, TClass *cl, char *ptr, unsigned long int cloffset)
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)
Bool_t SetMemberValues (TObjArray *items, Int_t &itemsindx, TClass *cl, char *ptr, unsigned long int cloffset)

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 27 of file TGo4EventSourceParameter.h.

Constructor & Destructor Documentation

◆ TGo4EventSourceParameter() [1/4]

◆ TGo4EventSourceParameter() [2/4]

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

Definition at line 19 of file TGo4EventSourceParameter.cxx.

References TGo4Parameter::TGo4Parameter(), and fiID.

◆ ~TGo4EventSourceParameter() [1/2]

TGo4EventSourceParameter::~TGo4EventSourceParameter ( )
virtual

Definition at line 29 of file TGo4EventSourceParameter.cxx.

◆ TGo4EventSourceParameter() [3/4]

TGo4EventSourceParameter::TGo4EventSourceParameter ( )

◆ TGo4EventSourceParameter() [4/4]

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

◆ ~TGo4EventSourceParameter() [2/2]

virtual TGo4EventSourceParameter::~TGo4EventSourceParameter ( )
virtual

Member Function Documentation

◆ GetID() [1/2]

◆ GetID() [2/2]

Int_t TGo4EventSourceParameter::GetID ( ) const
inline

Definition at line 35 of file TGo4EventSourceParameter.h.

References fiID.

◆ GetTimeout() [1/2]

Int_t TGo4EventSourceParameter::GetTimeout ( ) const
inline

◆ GetTimeout() [2/2]

Int_t TGo4EventSourceParameter::GetTimeout ( ) const
inline

Definition at line 37 of file TGo4EventSourceParameter.h.

References fiTimeout.

◆ Print() [1/2]

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

◆ Print() [2/2]

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

◆ SetTimeout() [1/2]

◆ SetTimeout() [2/2]

void TGo4EventSourceParameter::SetTimeout ( Int_t out)
inline

Definition at line 39 of file TGo4EventSourceParameter.h.

References fiTimeout.

◆ UpdateFrom() [1/2]

Bool_t TGo4EventSourceParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

◆ UpdateFrom() [2/2]

Bool_t TGo4EventSourceParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4Parameter.

Reimplemented in TGo4MbsFileParameter, TGo4MbsFileParameter, TGo4MbsSourceParameter, TGo4MbsSourceParameter, TGo4UserSourceParameter, and TGo4UserSourceParameter.

References TGo4Parameter::TGo4Parameter(), and fiID.

Field Documentation

◆ fiID

Int_t TGo4EventSourceParameter::fiID {0}
private

Identity number to specify the kind.

Optional, default is 0.

Definition at line 49 of file TGo4EventSourceParameter.h.

Referenced by TGo4EventSourceParameter(), GetID(), and UpdateFrom().

◆ fiTimeout

Int_t TGo4EventSourceParameter::fiTimeout {1}
private

Timeout in seconds.

If -1, no timeout (default)

Definition at line 52 of file TGo4EventSourceParameter.h.

Referenced by GetTimeout(), and SetTimeout().


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