GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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)
 
virtual Int_t PrintParameter (Text_t *buffer=0, Int_t buflen=0)
 
- 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)
 
virtual Bool_t UpdateFrom (TGo4Parameter *rhs)
 
- Public Member Functions inherited from TGo4Parameter
 TGo4Parameter ()
 
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
 
virtual ~TGo4Parameter ()
 
virtual void Print (Option_t *dummy="") const
 
Bool_t UpdateFromUrl (const char *rest_url_opt)
 
virtual Bool_t CustomUpdateFrom () const
 
virtual void Clear (Option_t *opt="")
 
void GetMemberValues (TObjArray *fItems)
 
Bool_t SetMemberValues (TObjArray *fItems)
 
virtual void SavePrimitive (std::ostream &fs, Option_t *opt="")
 
TGo4ParameterStatusCreateStatus ()
 
Bool_t SetStatus (TGo4ParameterStatus *status)
 

Private Attributes

Int_t fiPort
 
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::TGo4UserSourceParameter ( )

Definition at line 25 of file TGo4UserSourceParameter.cxx.

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

Definition at line 20 of file TGo4UserSourceParameter.cxx.

TGo4UserSourceParameter::~TGo4UserSourceParameter ( )
virtual

Definition at line 30 of file TGo4UserSourceParameter.cxx.

Member Function Documentation

const char* TGo4UserSourceParameter::GetExpression ( ) const
inline

User expression as string

Definition at line 32 of file TGo4UserSourceParameter.h.

References fxExpression.

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

Int_t TGo4UserSourceParameter::GetPort ( ) const
inline
Int_t TGo4UserSourceParameter::PrintParameter ( Text_t *  buffer = 0,
Int_t  buflen = 0 
)
virtual

basic method to printout status information on stdout; to be overridden by specific subclass

Reimplemented from TGo4EventSourceParameter.

Definition at line 34 of file TGo4UserSourceParameter.cxx.

References GetExpression(), GO4TRACE, TGo4Status::PrintBuffer(), TGo4Status::PrintIndent(), and TGo4EventSourceParameter::PrintParameter().

void TGo4UserSourceParameter::SetExpression ( const char *  name)
inline
void TGo4UserSourceParameter::SetPort ( Int_t  port)
inline

Member Data Documentation

Int_t TGo4UserSourceParameter::fiPort
private

(Port) number. Optional and user defined.

Definition at line 40 of file TGo4UserSourceParameter.h.

Referenced by GetPort(), and SetPort().

TString TGo4UserSourceParameter::fxExpression
private

Any user defined expression as string

Definition at line 43 of file TGo4UserSourceParameter.h.

Referenced by GetExpression(), and SetExpression().


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