Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4ComSetCondition Class Reference

Send the status to be set for an existing condition to the client. More...

#include <TGo4ComSetCondition.h>

Inheritance diagram for TGo4ComSetCondition:

TGo4AnalysisObjectCommand TGo4AnalysisCommand TGo4Command List of all members.

Public Methods

 TGo4ComSetCondition ()
 TGo4ComSetCondition (const char *obname)
virtual ~TGo4ComSetCondition ()
Int_t ExeCom ()
 Do the command action. More...

void SetCondition (TGo4Condition *cond)

Private Attributes

TGo4ConditionfxCondition
 Condition containing the properties which shall be set. More...


Detailed Description

Send the status to be set for an existing condition to the client.

If a condition of that name exists in the conditions folder, the new settings are applied on it. If the type of the condition and the condition status object do not match, an error message is sent. Practically, the condition status is a condition itself, the status setting is done by means of the assignment operator.

Author:
J. Adamczewski
Since:
15-Mar-2002

Definition at line 31 of file TGo4ComSetCondition.h.


Constructor & Destructor Documentation

TGo4ComSetCondition::TGo4ComSetCondition  
 

Definition at line 32 of file TGo4ComSetCondition.cxx.

References kGo4ComModeController, TGo4Command::SetProtection(), TGo4Command::SetReceiverName(), and TRACE.

TGo4ComSetCondition::TGo4ComSetCondition const char *    obname
 

Definition at line 22 of file TGo4ComSetCondition.cxx.

References kGo4ComModeController, TGo4Command::SetProtection(), TGo4Command::SetReceiverName(), and TRACE.

TGo4ComSetCondition::~TGo4ComSetCondition   [virtual]
 

Definition at line 42 of file TGo4ComSetCondition.cxx.

References TRACE.


Member Function Documentation

Int_t TGo4ComSetCondition::ExeCom   [virtual]
 

Do the command action.

Reimplemented from TGo4Command.

Definition at line 49 of file TGo4ComSetCondition.cxx.

References TGo4Log::Debug(), fxCondition, TGo4AnalysisObjectCommand::GetObjectName(), TGo4Analysis::Instance(), TGo4Slave::SendStatusMessage(), TGo4Analysis::SetAnalysisCondition(), TGo4AnalysisObjectCommand::SetObjectName(), and TRACE.

void TGo4ComSetCondition::SetCondition TGo4Condition   cond [inline]
 

Definition at line 42 of file TGo4ComSetCondition.h.

References fxCondition.

Referenced by TGo4EditDynEntrySlots::SendNewConditionCommand(), and TGo4WindowEditSlots::SendUpdateCommand().


Member Data Documentation

TGo4Condition* TGo4ComSetCondition::fxCondition [private]
 

Condition containing the properties which shall be set.

This condition is assigned to the existing condition in the analysis conditions folder.

Definition at line 50 of file TGo4ComSetCondition.h.

Referenced by ExeCom(), and SetCondition().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:33 2005 for Go4-v2.10-5 by doxygen1.2.15