#include <TGo4UserSourceParameter.h>
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) |
Private Attributes | |
Int_t | fiPort |
TString | fxExpression |
Definition at line 19 of file TGo4UserSourceParameter.h.
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.
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] |
Definition at line 29 of file TGo4UserSourceParameter.h.
References fiPort.
Referenced by TGo4ConfigStep::SourceComboHighlighted(), and TYYYEventSource::TYYYEventSource().
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(), and TGo4Status::PrintIndent().
void TGo4UserSourceParameter::SetExpression | ( | const char * | name | ) | [inline] |
Definition at line 33 of file TGo4UserSourceParameter.h.
References fxExpression.
Referenced by TGo4ConfigStep::InputArguments(), and TGo4Interface::StepUserSource().
void TGo4UserSourceParameter::SetPort | ( | Int_t | port | ) | [inline] |
Definition at line 28 of file TGo4UserSourceParameter.h.
References fiPort.
Referenced by TGo4ConfigStep::InputPortChanged(), main(), and TGo4Interface::StepUserSource().
Int_t TGo4UserSourceParameter::fiPort [private] |
(Port) number. Optional and user defined.
Definition at line 40 of file TGo4UserSourceParameter.h.
TString TGo4UserSourceParameter::fxExpression [private] |
Any user defined expression as string
Definition at line 43 of file TGo4UserSourceParameter.h.
Referenced by GetExpression(), and SetExpression().