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

User source parameter. More...

#include <TGo4UserSourceParameter.h>

+ Inheritance diagram for TGo4UserSourceParameter:

Public Member Functions

 TGo4UserSourceParameter ()
 
 TGo4UserSourceParameter (const char *name, const char *expr="", Int_t port=0)
 
virtual ~TGo4UserSourceParameter ()
 
const char * GetExpression () const
 User expression as string.
 
Int_t GetPort () const
 
void Print (Option_t *opt="") const override
 
void SetExpression (const char *name)
 
void SetPort (Int_t port)
 
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
 
- Public Member Functions inherited from TGo4EventSourceParameter
 TGo4EventSourceParameter ()
 
 TGo4EventSourceParameter (const char *name, Int_t id=0)
 
virtual ~TGo4EventSourceParameter ()
 
Int_t GetID () const
 
Int_t GetTimeout () const
 
void Print (Option_t *opt="") const override
 
void SetTimeout (Int_t out)
 
- 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 fiPort {0}
 (Port) number.
 
TString fxExpression
 Any user defined expression as string.
 

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

User source parameter.

Definition at line 22 of file TGo4UserSourceParameter.h.

Constructor & Destructor Documentation

◆ TGo4UserSourceParameter() [1/2]

TGo4UserSourceParameter::TGo4UserSourceParameter ( )

◆ TGo4UserSourceParameter() [2/2]

TGo4UserSourceParameter::TGo4UserSourceParameter ( const char * name,
const char * expr = "",
Int_t port = 0 )

◆ ~TGo4UserSourceParameter()

TGo4UserSourceParameter::~TGo4UserSourceParameter ( )
virtual

Definition at line 29 of file TGo4UserSourceParameter.cxx.

Member Function Documentation

◆ GetExpression()

const char * TGo4UserSourceParameter::GetExpression ( ) const
inline

User expression as string.

Definition at line 35 of file TGo4UserSourceParameter.h.

References fxExpression.

Referenced by TYYYEventSource::TYYYEventSource(), Print(), and TGo4ConfigStep::SourceComboHighlighted().

◆ GetPort()

Int_t TGo4UserSourceParameter::GetPort ( ) const
inline

◆ Print()

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

◆ SetExpression()

void TGo4UserSourceParameter::SetExpression ( const char * name)
inline

◆ SetPort()

void TGo4UserSourceParameter::SetPort ( Int_t port)
inline

◆ UpdateFrom()

Bool_t TGo4UserSourceParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4EventSourceParameter.

Definition at line 41 of file TGo4UserSourceParameter.cxx.

References TGo4Parameter::TGo4Parameter(), TGo4UserSourceParameter(), SetExpression(), SetPort(), and TGo4EventSourceParameter::UpdateFrom().

Field Documentation

◆ fiPort

Int_t TGo4UserSourceParameter::fiPort {0}
private

(Port) number.

Optional and user defined.

Definition at line 46 of file TGo4UserSourceParameter.h.

Referenced by TGo4UserSourceParameter(), GetPort(), and SetPort().

◆ fxExpression

TString TGo4UserSourceParameter::fxExpression
private

Any user defined expression as string.

Definition at line 49 of file TGo4UserSourceParameter.h.

Referenced by TGo4UserSourceParameter(), GetExpression(), and SetExpression().


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