GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4ComGetCurrentEvent.h>
Public Member Functions | |
TGo4ComGetCurrentEvent () | |
TGo4ComGetCurrentEvent (const char *obname) | |
Int_t | ExeCom () override |
void | Set (TGo4RemoteCommand *remcon) override |
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) |
![]() | |
TGo4AnalysisObjectCommand () | |
TGo4AnalysisObjectCommand (const char *comname, const char *description, const char *obname) | |
const char * | GetObjectName () const |
void | SetObjectName (const char *name) |
const char * | GetFolderName () const |
void | SetFolderName (const char *name) |
![]() | |
TGo4AnalysisCommand () | |
TGo4AnalysisCommand (const char *name, const char *desc) | |
Int_t | RefuseCom () override |
![]() | |
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 () const |
Go4CommandMode_t | GetMode () const |
void | SetMode (Go4CommandMode_t m) |
Private Attributes | |
Bool_t | fbOutputEvent |
Bool_t | fbPrintoutOnly |
Bool_t | fbTreeMode |
Additional Inherited Members | |
![]() | |
static const char * | GetModeDescription (Go4CommandMode_t mode) |
![]() | |
void | SetProtection (Go4CommandMode_t m) |
![]() | |
Bool_t | fbIsEnabled {kFALSE} |
Bool_t | fbIsExclusive {kFALSE} |
Bool_t | fbIsSynchron {kFALSE} |
Bool_t | fbIsLocal {kFALSE} |
Int_t | fiCommandID {0} |
Int_t | fiVersion {0} |
Go4CommandMode_t | fiMode {kGo4ComModeRefused} |
Go4CommandMode_t | fiProtection {kGo4ComModeRefused} |
TGo4CommandReceiver * | fxReceiverBase {nullptr} |
![]() | |
static const char * | fgcMODEDESCRIPTION [] |
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.
Definition at line 31 of file TGo4ComGetCurrentEvent.h.
TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent | ( | ) |
Definition at line 35 of file TGo4ComGetCurrentEvent.cxx.
References GO4TRACE, and TGo4Command::SetReceiverName().
TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent | ( | const char * | obname | ) |
Definition at line 24 of file TGo4ComGetCurrentEvent.cxx.
References GO4TRACE, and TGo4Command::SetReceiverName().
|
overridevirtual |
Do the command action
Reimplemented from TGo4Command.
Definition at line 46 of file TGo4ComGetCurrentEvent.cxx.
References TGo4Analysis::CreateSingleEventTree(), TGo4Log::Debug(), TGo4Command::fxReceiverBase, TGo4Analysis::GetEventStructure(), TGo4Analysis::GetInputEvent(), TGo4AnalysisObjectCommand::GetObjectName(), TGo4Analysis::GetOutputEvent(), TGo4Command::GetTaskName(), GO4TRACE, TGo4Analysis::Instance(), IsOutputEvent(), IsPrintoutOnly(), IsTreeMode(), TGo4EventElement::PrintEvent(), TGo4Slave::SendObject(), TGo4AnalysisClient::SendStatusMessage(), and TGo4Analysis::ShowEvent().
|
inline |
Definition at line 45 of file TGo4ComGetCurrentEvent.h.
References fbOutputEvent.
Referenced by ExeCom().
|
inline |
Definition at line 49 of file TGo4ComGetCurrentEvent.h.
References fbPrintoutOnly.
Referenced by ExeCom().
|
inline |
Definition at line 53 of file TGo4ComGetCurrentEvent.h.
References fbTreeMode.
Referenced by ExeCom().
|
overridevirtual |
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 114 of file TGo4ComGetCurrentEvent.cxx.
References fbOutputEvent, fbPrintoutOnly, fbTreeMode, TGo4RemoteCommand::GetValue(), and TGo4AnalysisObjectCommand::Set().
|
inline |
Definition at line 47 of file TGo4ComGetCurrentEvent.h.
References fbOutputEvent.
|
inline |
Definition at line 51 of file TGo4ComGetCurrentEvent.h.
References fbPrintoutOnly.
|
inline |
Definition at line 55 of file TGo4ComGetCurrentEvent.h.
References fbTreeMode.
|
private |
If true output event is searched, otherwise input event of step
Definition at line 61 of file TGo4ComGetCurrentEvent.h.
Referenced by IsOutputEvent(), Set(), and SetOutputEvent().
|
private |
If true, the event will not be sent but content is shown on analysis terminal
Definition at line 64 of file TGo4ComGetCurrentEvent.h.
Referenced by IsPrintoutOnly(), Set(), and SetPrintoutOnly().
|
private |
If true, event will be put into tree before showing; otherwise use PrintEvent method or send event directly
Definition at line 68 of file TGo4ComGetCurrentEvent.h.
Referenced by IsTreeMode(), Set(), and SetTreeMode().