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

Basic type for all classes containing information to parametrize the event processor. More...

#include <TGo4EventProcessorParameter.h>

+ Inheritance diagram for TGo4EventProcessorParameter:

Public Member Functions

 TGo4EventProcessorParameter ()
 
 TGo4EventProcessorParameter (const char *name, Int_t id=0)
 
virtual ~TGo4EventProcessorParameter ()
 
Int_t GetID () const
 
void Print (Option_t *opt="") const override
 
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
 
- Public Member Functions inherited from TGo4Parameter
 TGo4Parameter ()
 
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
 
virtual ~TGo4Parameter ()
 
void Clear (Option_t *opt="") override
 
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.
 
void GetMemberValues (TObjArray *fItems)
 
void Print (Option_t *opt="") const override
 
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,.
 
Bool_t SetMemberValues (TObjArray *fItems)
 
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.
 

Private Attributes

Int_t fiID {0}
 Identity number to specify the kind.
 

Additional Inherited Members

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

Detailed Description

Basic type for all classes containing information to parametrize the event processor.

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 TGo4EventProcessorParameter.h.

Constructor & Destructor Documentation

◆ TGo4EventProcessorParameter() [1/2]

TGo4EventProcessorParameter::TGo4EventProcessorParameter ( )

Definition at line 26 of file TGo4EventProcessorParameter.cxx.

References TGo4Parameter::TGo4Parameter(), and GO4TRACE.

Referenced by UpdateFrom().

◆ TGo4EventProcessorParameter() [2/2]

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

Definition at line 20 of file TGo4EventProcessorParameter.cxx.

References TGo4Parameter::TGo4Parameter(), fiID, and GO4TRACE.

◆ ~TGo4EventProcessorParameter()

TGo4EventProcessorParameter::~TGo4EventProcessorParameter ( )
virtual

Definition at line 32 of file TGo4EventProcessorParameter.cxx.

References GO4TRACE.

Member Function Documentation

◆ GetID()

Int_t TGo4EventProcessorParameter::GetID ( ) const
inline

Definition at line 35 of file TGo4EventProcessorParameter.h.

References fiID.

Referenced by Print().

◆ Print()

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

Definition at line 37 of file TGo4EventProcessorParameter.cxx.

References GetID(), and TGo4Status::PrintLine().

◆ UpdateFrom()

Bool_t TGo4EventProcessorParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4Parameter.

Definition at line 44 of file TGo4EventProcessorParameter.cxx.

References TGo4EventProcessorParameter(), TGo4Parameter::TGo4Parameter(), fiID, and GO4TRACE.

Field Documentation

◆ fiID

Int_t TGo4EventProcessorParameter::fiID {0}
private

Identity number to specify the kind.

Optional, default is 0.

Definition at line 45 of file TGo4EventProcessorParameter.h.

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


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