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
TGo4ComGetCurrentEvent Class Reference

#include <TGo4ComGetCurrentEvent.h>

+ Inheritance diagram for TGo4ComGetCurrentEvent:

Public Member Functions

 TGo4ComGetCurrentEvent ()
 
 TGo4ComGetCurrentEvent (const char *obname)
 
virtual ~TGo4ComGetCurrentEvent ()
 
virtual Int_t ExeCom ()
 
virtual void Set (TGo4RemoteCommand *remcon)
 
Bool_t IsOutputEvent () const
 
void SetOutputEvent (Bool_t output=kTRUE)
 
Bool_t IsPrintoutOnly () const
 
void SetPrintoutOnly (Bool_t on=kTRUE)
 
Bool_t IsTreeMode () const
 
void SetTreeMode (Bool_t on=kTRUE)
 
- Public Member Functions inherited from TGo4AnalysisObjectCommand
 TGo4AnalysisObjectCommand ()
 
 TGo4AnalysisObjectCommand (const char *comname, const char *description, const char *obname)
 
virtual ~TGo4AnalysisObjectCommand ()
 
const char * GetObjectName () const
 
void SetObjectName (const char *name)
 
const char * GetFolderName () const
 
void SetFolderName (const char *name)
 
- Public Member Functions inherited from TGo4AnalysisCommand
 TGo4AnalysisCommand (const char *name, const char *desc)
 
virtual ~TGo4AnalysisCommand ()
 
 TGo4AnalysisCommand (const TGo4AnalysisCommand &right)
 
 TGo4AnalysisCommand ()
 
virtual Int_t RefuseCom ()
 
- Public Member Functions inherited from TGo4Command
 TGo4Command ()
 
 TGo4Command (const char *name, const char *description, Int_t id)
 
virtual ~TGo4Command ()
 
virtual Bool_t Log (Int_t mode=0)
 
Bool_t IsEnabled () const
 
Bool_t IsExclusive () const
 
Bool_t IsLocal () const
 
virtual void Help ()
 
Int_t GetCommandID () const
 
Bool_t IsSynchron () const
 
const char * GetReceiverName () const
 
void SetReceiverName (const char *)
 
const char * GetTaskName () const
 
void SetTaskName (const char *)
 
const char * What () const
 
void SetDescription (const char *)
 
virtual void SetReceiver (TGo4CommandReceiver *rec)
 
Go4CommandMode_t GetProtection ()
 
Go4CommandMode_t GetMode ()
 
void SetMode (Go4CommandMode_t m)
 

Private Attributes

Bool_t fbOutputEvent
 
Bool_t fbPrintoutOnly
 
Bool_t fbTreeMode
 

Additional Inherited Members

- Static Public Member Functions inherited from TGo4Command
static const char * GetModeDescription (Go4CommandMode_t mode)
 
- Protected Member Functions inherited from TGo4Command
void SetProtection (Go4CommandMode_t m)
 
- Protected Attributes inherited from TGo4Command
Bool_t fbIsEnabled
 
Bool_t fbIsExclusive
 
Bool_t fbIsSynchron
 
Bool_t fbIsLocal
 
Int_t fiCommandID
 
Int_t fiVersion
 
Go4CommandMode_t fiMode
 
Go4CommandMode_t fiProtection
 
TGo4CommandReceiverfxReceiverBase
 
- Static Protected Attributes inherited from TGo4Command
static const char * fgcMODEDESCRIPTION []
 

Detailed Description

Requests the current event as a sample from the client. Object name is name of the analysis step that owns the event. By default, the output event of that step is taken. If no such analysis step, the event is searched by name in the eventstructure folder. Event will be filled in a temporary tree that is send to the gui. Any user event display may apply this command.

Author
J. Adamczewski
Since
02-Jul-2002

Definition at line 31 of file TGo4ComGetCurrentEvent.h.

Constructor & Destructor Documentation

TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent ( )

Definition at line 37 of file TGo4ComGetCurrentEvent.cxx.

References GO4TRACE, and TGo4Command::SetReceiverName().

TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent ( const char *  obname)

Definition at line 26 of file TGo4ComGetCurrentEvent.cxx.

References GO4TRACE, and TGo4Command::SetReceiverName().

TGo4ComGetCurrentEvent::~TGo4ComGetCurrentEvent ( )
virtual

Definition at line 48 of file TGo4ComGetCurrentEvent.cxx.

References GO4TRACE.

Member Function Documentation

Int_t TGo4ComGetCurrentEvent::ExeCom ( )
virtual
Bool_t TGo4ComGetCurrentEvent::IsOutputEvent ( ) const
inline

Definition at line 48 of file TGo4ComGetCurrentEvent.h.

References fbOutputEvent.

Referenced by ExeCom().

Bool_t TGo4ComGetCurrentEvent::IsPrintoutOnly ( ) const
inline

Definition at line 52 of file TGo4ComGetCurrentEvent.h.

References fbPrintoutOnly.

Referenced by ExeCom().

Bool_t TGo4ComGetCurrentEvent::IsTreeMode ( ) const
inline

Definition at line 56 of file TGo4ComGetCurrentEvent.h.

References fbTreeMode.

Referenced by ExeCom().

void TGo4ComGetCurrentEvent::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 TGo4AnalysisObjectCommand.

Definition at line 124 of file TGo4ComGetCurrentEvent.cxx.

References fbOutputEvent, fbPrintoutOnly, fbTreeMode, TGo4RemoteCommand::GetValue(), and TGo4AnalysisObjectCommand::Set().

void TGo4ComGetCurrentEvent::SetOutputEvent ( Bool_t  output = kTRUE)
inline

Definition at line 50 of file TGo4ComGetCurrentEvent.h.

References fbOutputEvent.

void TGo4ComGetCurrentEvent::SetPrintoutOnly ( Bool_t  on = kTRUE)
inline

Definition at line 54 of file TGo4ComGetCurrentEvent.h.

References fbPrintoutOnly.

void TGo4ComGetCurrentEvent::SetTreeMode ( Bool_t  on = kTRUE)
inline

Definition at line 58 of file TGo4ComGetCurrentEvent.h.

References fbTreeMode.

Member Data Documentation

Bool_t TGo4ComGetCurrentEvent::fbOutputEvent
private

If true output event is searched, otherwise input event of step

Definition at line 64 of file TGo4ComGetCurrentEvent.h.

Referenced by IsOutputEvent(), Set(), and SetOutputEvent().

Bool_t TGo4ComGetCurrentEvent::fbPrintoutOnly
private

If true, the event will not be sent but content is shown on analysis terminal

Definition at line 67 of file TGo4ComGetCurrentEvent.h.

Referenced by IsPrintoutOnly(), Set(), and SetPrintoutOnly().

Bool_t TGo4ComGetCurrentEvent::fbTreeMode
private

If true, event will be put into tree before showing; otherwise use PrintEvent method or send event directly

Definition at line 71 of file TGo4ComGetCurrentEvent.h.

Referenced by IsTreeMode(), Set(), and SetTreeMode().


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