19#include "TGo4AnalysisClientImp.h"
20#include "TGo4AnalysisImp.h"
21#include "TGo4EventElement.h"
22#include "TGo4RemoteCommand.h"
30 GO4TRACE((12,
"TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent(const char *) ctor",__LINE__, __FILE__));
41 GO4TRACE((12,
"TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent() ctor",__LINE__, __FILE__));
48 GO4TRACE((12,
"TGo4ComGetCurrentEvent::ExeCom()",__LINE__, __FILE__));
50 TGo4Log::Debug(
" Executing %s : Event %s requested, isoutput=%d, printoutonly=%d ",
56 GO4TRACE((11,
"TGo4ComGetCurrentEvent::ExeCom() - no receiver specified ERROR!",__LINE__, __FILE__));
57 TGo4Log::Debug(
" !!! %s : NO or WRONG RECEIVER ERROR!!!",GetName());
64 cli->
SendStatusMessage(3, kTRUE,TString::Format(
" %s ERROR no analysis ",GetName()));
80 "GetCurrentEvent %s - ERROR: no such event ",
GetObjectName()));
102 TString::Format(
"GetCurrentEvent %s - ERROR: no such event ",
GetObjectName()));
void SendStatusMessage(Int_t level, Bool_t printout, const TString &text) override
Send message to gui.
const char * GetObjectName() const
access to the object name under command.
TGo4AnalysisObjectCommand()
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
static TGo4Analysis * Instance()
return analysis instance
Bool_t fbTreeMode
If true, event will be put into tree before showing; otherwise use PrintEvent method or send event di...
Bool_t IsOutputEvent() const
Bool_t IsTreeMode() const
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
Bool_t fbOutputEvent
If true output event is searched, otherwise input event of step.
Bool_t IsPrintoutOnly() const
Int_t ExeCom() override
Do the command action.
Bool_t fbPrintoutOnly
If true, the event will not be sent but content is shown on analysis terminal.
void SetReceiverName(const char *)
const char * GetTaskName() const
TGo4CommandReceiver * fxReceiverBase
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
static void Debug(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 0.
This command is a container for commands to be send from master to slave via inter-process transport.
Int_t GetValue(Int_t i) const
void SendObject(TObject *obj, const char *receiver=nullptr)
Send object via data channel to the server.