GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TGo4MbsFileParameter Class Reference

#include <TGo4MbsFileParameter.h>

+ Inheritance diagram for TGo4MbsFileParameter:

Public Member Functions

 TGo4MbsFileParameter ()
 
 TGo4MbsFileParameter (const char *name)
 
virtual ~TGo4MbsFileParameter ()
 
const char * GetTagName () const
 
void SetTagName (const char *name)
 
virtual Int_t PrintParameter (Text_t *buffer=0, Int_t buflen=0)
 
virtual Bool_t UpdateFrom (TGo4Parameter *rhs)
 
void AddMoreFile (const char *more)
 
Int_t NumMoreFiles () const
 
const char * GetMoreName (Int_t n) const
 
- Public Member Functions inherited from TGo4MbsSourceParameter
 TGo4MbsSourceParameter ()
 
 TGo4MbsSourceParameter (const char *name, Int_t id)
 
virtual ~TGo4MbsSourceParameter ()
 
void SetStartEvent (UInt_t firstindex)
 
UInt_t GetStartEvent () const
 
void SetStopEvent (UInt_t lastindex)
 
UInt_t GetStopEvent () const
 
void SetEventInterval (UInt_t skipinterval)
 
UInt_t GetEventInterval () const
 
void SetPort (Int_t port)
 
Int_t GetPort () const
 
void SetRetryCnt (Int_t cnt)
 
Int_t GetRetryCnt () const
 
- 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)
 
- 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

TString fxTagFile
 
TObjArray fxMoreFiles
 

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 22 of file TGo4MbsFileParameter.h.

Constructor & Destructor Documentation

TGo4MbsFileParameter::TGo4MbsFileParameter ( )

Definition at line 24 of file TGo4MbsFileParameter.cxx.

References GO4TRACE, SetTagName(), and TGo4MbsFile__fgcNOTAGFILE.

TGo4MbsFileParameter::TGo4MbsFileParameter ( const char *  name)

Definition at line 33 of file TGo4MbsFileParameter.cxx.

References GO4TRACE, SetTagName(), and TGo4MbsFile__fgcNOTAGFILE.

TGo4MbsFileParameter::~TGo4MbsFileParameter ( )
virtual

Definition at line 42 of file TGo4MbsFileParameter.cxx.

References GO4TRACE.

Member Function Documentation

void TGo4MbsFileParameter::AddMoreFile ( const char *  more)

Add more file names in to the parameter

Definition at line 47 of file TGo4MbsFileParameter.cxx.

References TGo4Log::Debug(), and fxMoreFiles.

Referenced by main().

const char * TGo4MbsFileParameter::GetMoreName ( Int_t  n) const

Returns name of extra files names, configured in the parameter

Definition at line 55 of file TGo4MbsFileParameter.cxx.

References fxMoreFiles.

Referenced by TGo4MbsFile::TGo4MbsFile().

const char* TGo4MbsFileParameter::GetTagName ( ) const
inline

Name of the Tagfile

Definition at line 31 of file TGo4MbsFileParameter.h.

References fxTagFile.

Referenced by PrintParameter(), TGo4ConfigStep::SourceComboHighlighted(), TGo4MbsFile::TGo4MbsFile(), and UpdateFrom().

Int_t TGo4MbsFileParameter::NumMoreFiles ( ) const
inline

Number of more file names in parameter

Definition at line 47 of file TGo4MbsFileParameter.h.

References fxMoreFiles.

Referenced by TGo4MbsFile::TGo4MbsFile().

Int_t TGo4MbsFileParameter::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 TGo4MbsSourceParameter.

Definition at line 61 of file TGo4MbsFileParameter.cxx.

References GetTagName(), GO4TRACE, TGo4Status::PrintBuffer(), and TGo4MbsSourceParameter::PrintParameter().

void TGo4MbsFileParameter::SetTagName ( const char *  name)
inline

Name of the Tagfile

Definition at line 34 of file TGo4MbsFileParameter.h.

References fxTagFile.

Referenced by TGo4ConfigStep::InputTagfile(), TGo4Interface::StepMbsFileSource(), TGo4MbsFileParameter(), and UpdateFrom().

Bool_t TGo4MbsFileParameter::UpdateFrom ( TGo4Parameter rhs)
virtual

update contents of paramter class with external object.

Reimplemented from TGo4MbsSourceParameter.

Definition at line 90 of file TGo4MbsFileParameter.cxx.

References GetTagName(), GO4TRACE, SetTagName(), and TGo4MbsSourceParameter::UpdateFrom().

Member Data Documentation

TObjArray TGo4MbsFileParameter::fxMoreFiles
private

List of extra files names, specified in the go4analysis

Definition at line 58 of file TGo4MbsFileParameter.h.

Referenced by AddMoreFile(), GetMoreName(), and NumMoreFiles().

TString TGo4MbsFileParameter::fxTagFile
private

Name of the tagfile associated with the listmode event file.

Definition at line 55 of file TGo4MbsFileParameter.h.

Referenced by GetTagName(), and SetTagName().


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