GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Private Attributes | List of all members
TGo4UserSourceParameter Class Reference

#include <TGo4UserSourceParameter.h>

+ Inheritance diagram for TGo4UserSourceParameter:

Public Member Functions

 TGo4UserSourceParameter ()
 
 TGo4UserSourceParameter (const char *name, const char *expr="", Int_t port=0)
 
virtual ~TGo4UserSourceParameter ()
 
void SetPort (Int_t port)
 
Int_t GetPort () const
 
const char * GetExpression () const
 
void SetExpression (const char *name)
 
void Print (Option_t *opt="") const override
 
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 
- 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 SetTimeout (Int_t out)
 
void Print (Option_t *opt="") const 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 fiPort {0}
 
TString fxExpression
 

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

Definition at line 19 of file TGo4UserSourceParameter.h.

Constructor & Destructor Documentation

◆ TGo4UserSourceParameter() [1/2]

TGo4UserSourceParameter::TGo4UserSourceParameter ( )

Definition at line 24 of file TGo4UserSourceParameter.cxx.

◆ TGo4UserSourceParameter() [2/2]

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

Definition at line 19 of file TGo4UserSourceParameter.cxx.

◆ ~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 32 of file TGo4UserSourceParameter.h.

References fxExpression.

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

◆ 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 SetExpression(), SetPort(), and TGo4EventSourceParameter::UpdateFrom().

Referenced by SetExpression().

Member Data Documentation

◆ fiPort

Int_t TGo4UserSourceParameter::fiPort {0}
private

(Port) number. Optional and user defined.

Definition at line 43 of file TGo4UserSourceParameter.h.

Referenced by GetPort(), and SetPort().

◆ fxExpression

TString TGo4UserSourceParameter::fxExpression
private

Any user defined expression as string

Definition at line 46 of file TGo4UserSourceParameter.h.

Referenced by GetExpression(), and SetExpression().


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