Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4AnalysisObjectCommand Class Reference

Intermediate class for all commands accessing an analysis object by name. More...

#include <TGo4AnalysisObjectCommand.h>

Inheritance diagram for TGo4AnalysisObjectCommand:

TGo4AnalysisCommand TGo4Command TGo4ComClearObject TGo4ComDeleteObject TGo4ComGetCurrentEvent TGo4ComGetEnvelope TGo4ComGetObjectStatus TGo4ComSetObject TGo4ComSetPrintEvent TGo4ComSetProtections List of all members.

Public Member Functions

 TGo4AnalysisObjectCommand ()
 TGo4AnalysisObjectCommand (const char *comname, const char *description, const char *obname)
virtual ~TGo4AnalysisObjectCommand ()
const char * GetObjectName () const
 access to the object name under command.
void SetObjectName (const char *name)
 set the object name under command.
const char * GetFolderName () const
void SetFolderName (const char *name)
virtual void Set (TGo4RemoteCommand *remcon)
 Set internals of this command from specification of external remote command (command container).

Private Attributes

TString fxObjectName
 Name of the object under command.
TString fxFolderName
 Optional subfolder name where the object is located.

Detailed Description

Intermediate class for all commands accessing an analysis object by name.

Author:
J. Adamczewski
Since:
06-Jun-2001, added folder name 08-Apr-2003

Definition at line 27 of file TGo4AnalysisObjectCommand.h.


Constructor & Destructor Documentation

TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand  ) 
 

Definition at line 22 of file TGo4AnalysisObjectCommand.cxx.

References TGo4AnalysisObjectManager::fgcTOPFOLDER, SetFolderName(), and TRACE.

TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand const char *  comname,
const char *  description,
const char *  obname
 

Definition at line 29 of file TGo4AnalysisObjectCommand.cxx.

References TGo4AnalysisObjectManager::fgcTOPFOLDER, SetFolderName(), SetObjectName(), and TRACE.

TGo4AnalysisObjectCommand::~TGo4AnalysisObjectCommand  )  [virtual]
 

Definition at line 39 of file TGo4AnalysisObjectCommand.cxx.

References TRACE.


Member Function Documentation

const char* TGo4AnalysisObjectCommand::GetObjectName  )  const [inline]
 

access to the object name under command.

Definition at line 40 of file TGo4AnalysisObjectCommand.h.

References fxObjectName.

Referenced by TGo4ComSetProtections::ExeCom(), TGo4ComSetPrintEvent::ExeCom(), TGo4ComSetObject::ExeCom(), TGo4ComGetObjectStatus::ExeCom(), TGo4ComGetEnvelope::ExeCom(), TGo4ComGetCurrentEvent::ExeCom(), TGo4ComDeleteObject::ExeCom(), TGo4ComClearObject::ExeCom(), TGo4ComSetObject::ExeSetCon(), TGo4ComSetObject::ExeSetDyn(), TGo4ComSetObject::ExeSetHis(), TGo4ComSetObject::ExeSetObj(), TGo4ComSetObject::ExeSetPar(), TGo4ComSetObject::ExeSetParStatus(), and TGo4ComSetObject::ExeSetPic().

void TGo4AnalysisObjectCommand::SetObjectName const char *  name  )  [inline]
 

set the object name under command.

Definition at line 43 of file TGo4AnalysisObjectCommand.h.

References fxObjectName.

Referenced by TGo4ComSetObject::ExeCom(), Set(), and TGo4AnalysisObjectCommand().

const char* TGo4AnalysisObjectCommand::GetFolderName  )  const [inline]
 

Definition at line 45 of file TGo4AnalysisObjectCommand.h.

References fxFolderName.

Referenced by TGo4ComGetObjectStatus::ExeCom(), TGo4ComGetEnvelope::ExeCom(), and TGo4ComSetObject::ExeSetDyn().

void TGo4AnalysisObjectCommand::SetFolderName const char *  name  )  [inline]
 

Definition at line 47 of file TGo4AnalysisObjectCommand.h.

References fxFolderName.

Referenced by Set(), TGo4AnalysisObjectCommand(), and TGo4ComGetEnvelope::TGo4ComGetEnvelope().

void TGo4AnalysisObjectCommand::Set TGo4RemoteCommand remcon  )  [virtual]
 

Set internals of this command from specification of external remote command (command container).

Must be overloaded for each specific command!

Reimplemented from TGo4Command.

Reimplemented in TGo4ComGetCurrentEvent, TGo4ComSetObject, TGo4ComSetPrintEvent, and TGo4ComSetProtections.

Definition at line 44 of file TGo4AnalysisObjectCommand.cxx.

References TGo4RemoteCommand::Get_fgxREMCOMEMPTYSTRING(), TGo4RemoteCommand::GetString(), SetFolderName(), and SetObjectName().

Referenced by TGo4ComSetProtections::Set(), TGo4ComSetPrintEvent::Set(), TGo4ComSetObject::Set(), and TGo4ComGetCurrentEvent::Set().


Member Data Documentation

TString TGo4AnalysisObjectCommand::fxObjectName [private]
 

Name of the object under command.

Definition at line 58 of file TGo4AnalysisObjectCommand.h.

Referenced by GetObjectName(), and SetObjectName().

TString TGo4AnalysisObjectCommand::fxFolderName [private]
 

Optional subfolder name where the object is located.

Definition at line 61 of file TGo4AnalysisObjectCommand.h.

Referenced by GetFolderName(), and SetFolderName().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:23 2008 for Go4-v3.04-1 by  doxygen 1.4.2