89 GetTask()->TGo4ThreadManager::Terminate(termapp);
159 gROOT->ProcessLineSync(command);
This class controls a client application running in a task which is controlled by another server task...
static TGo4CommandInvoker * Instance()
static void SetCommandList(TGo4CommandProtoList *list)
Application may exchange standard command list by own subclass with specialized commands,...
static void UnRegister(TGo4CommandReceiver *p)
static void Register(const char *name, TGo4CommandReceiver *p)
This is the Go4 Abstract Command Class; part of the Base command pattern.
static void Debug(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 0.
virtual TGo4TaskStatus * CreateStatus()
create a status object with information on the current (slave) task.
virtual void TerminateFast()
virtual void Terminate(Bool_t termapp=kTRUE)
virtual void Start()
General start method of slave application to be called from remote command; should be re-implemented ...
virtual Int_t Initialization()
Overrides the ThreadManager Initialization; is used to setup the client connections on demand; checks...
virtual void SendStatusMessage(Int_t level, Bool_t printout, const TString &text)
Send message string in a status object to the gui.
void SendStatus(TGo4Status *stat, const char *receiver=nullptr)
Send status object via status channel to the server.
virtual void KillMain()
Kill the main thread; method to be called from command, should be overridden in user implementation.
TGo4ThreadHandler * GetThreadHandler()
void SendStatusBuffer()
Send internal status buffer to the server.
virtual void UpdateStatus(TGo4TaskStatus *state)
method needed by method CreateStatus of any status subclasses to set the values of the clienttask spe...
TGo4Command * NextCommand()
Delivers next command from command queue.
void SendObject(TObject *obj, const char *receiver=nullptr)
Send object via data channel to the server.
virtual void ExecuteString(const char *command)
Execute string command.
virtual void Stop()
General stop method of slave application to be called from remote command; should be re-implemented b...
Bool_t fbMainIsRunning
True if analysis main loop is running.
void UpdateStatusBuffer()
Create status object and stream it into the status send buffer.
virtual void RestartMain()
Restart the main thread; method to be called from command, should be overridden in user implementatio...
Class containing all command prototypes of the TaskHandler system commands (and the basic test comman...
TGo4Task * GetTask() const
friend class TGo4ServerTask
void SetTask(TGo4Task *task, Bool_t delold=kTRUE)
const char * GetName() const
virtual TGo4Command * NextCommand()
Delivers next command from command queue.
virtual void SendStatus(TGo4Status *stat, const char *receiver=nullptr)
Send status object via status channel to the master.
virtual void SendStatusBuffer()
Send internal status buffer to the master(s).
void SendStatusMessage(Int_t level, Bool_t printout, const char *text,...)
Send message string in a status object to the gui.
virtual void UpdateStatus(TGo4TaskStatus *state)
method needed by method CreateStatus of any status subclasses to set the values of the clienttask spe...
void SendObject(TObject *obj, const char *receiver=nullptr)
Send object via data channel to the master.
void UpdateStatusBuffer()
Create status object and stream it into the status send buffer.
TGo4ThreadHandler * GetWorkHandler() const
Access to ThreadHandler for working threads.