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

User source parameter. More...

#include <TGo4UserSourceParameter.h>

Inheritance diagram for TGo4UserSourceParameter:

Public Member Functions

 TGo4UserSourceParameter ()
 TGo4UserSourceParameter ()
 TGo4UserSourceParameter (const char *name, const char *expr="", Int_t port=0)
 TGo4UserSourceParameter (const char *name, const char *expr="", Int_t port=0)
virtual ~TGo4UserSourceParameter ()
virtual ~TGo4UserSourceParameter ()
const char * GetExpression () const
 User expression as string.
const char * GetExpression () const
 User expression as string.
Int_t GetPort () const
Int_t GetPort () const
void Print (Option_t *opt="") const override
void Print (Option_t *opt="") const override
void SetExpression (const char *name)
void SetExpression (const char *name)
void SetPort (Int_t port)
void SetPort (Int_t port)
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 TGo4EventSourceParameter
 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)
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 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)
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

User source parameter.

Definition at line 22 of file TGo4UserSourceParameter.h.

Constructor & Destructor Documentation

◆ TGo4UserSourceParameter() [1/4]

TGo4UserSourceParameter::TGo4UserSourceParameter ( )

◆ TGo4UserSourceParameter() [2/4]

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

◆ ~TGo4UserSourceParameter() [1/2]

TGo4UserSourceParameter::~TGo4UserSourceParameter ( )
virtual

Definition at line 29 of file TGo4UserSourceParameter.cxx.

◆ TGo4UserSourceParameter() [3/4]

TGo4UserSourceParameter::TGo4UserSourceParameter ( )

◆ TGo4UserSourceParameter() [4/4]

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

◆ ~TGo4UserSourceParameter() [2/2]

virtual TGo4UserSourceParameter::~TGo4UserSourceParameter ( )
virtual

Member Function Documentation

◆ GetExpression() [1/2]

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().

◆ GetExpression() [2/2]

const char * TGo4UserSourceParameter::GetExpression ( ) const
inline

User expression as string.

Definition at line 35 of file TGo4UserSourceParameter.h.

References fxExpression.

◆ GetPort() [1/2]

Int_t TGo4UserSourceParameter::GetPort ( ) const
inline

◆ GetPort() [2/2]

Int_t TGo4UserSourceParameter::GetPort ( ) const
inline

Definition at line 32 of file TGo4UserSourceParameter.h.

References fiPort.

◆ Print() [1/2]

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

◆ Print() [2/2]

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

◆ SetExpression() [1/2]

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

◆ SetExpression() [2/2]

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

Definition at line 36 of file TGo4UserSourceParameter.h.

References fxExpression.

◆ SetPort() [1/2]

void TGo4UserSourceParameter::SetPort ( Int_t port)
inline

◆ SetPort() [2/2]

void TGo4UserSourceParameter::SetPort ( Int_t port)
inline

Definition at line 31 of file TGo4UserSourceParameter.h.

References fiPort.

◆ UpdateFrom() [1/2]

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().

◆ UpdateFrom() [2/2]

Bool_t TGo4UserSourceParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4EventSourceParameter.

References TGo4Parameter::TGo4Parameter(), and fiPort.

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(), SetPort(), and UpdateFrom().

◆ 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: