#include <TGo4LocalCommandRunnable.h>
Public Member Functions | |
TGo4LocalCommandRunnable (const char *name, TGo4Task *task) | |
virtual | ~TGo4LocalCommandRunnable () |
virtual Int_t | Run (void *ptr) |
Private Member Functions | |
TGo4LocalCommandRunnable () | |
Private Attributes | |
TGo4Task * | fxLocalTask |
Runnable which executes all local commands on the server side to prevent gui from blocking. Will listen to a server side command queue and invokes command by server command invoker. Method SubmitCommand will either send all Callback commands to current client (remote command), or put it into the local queue. Note that local commands would also be possible on the client side now, since local command queue and this thread is owned by TGo4Task baseclass thread
Definition at line 32 of file TGo4LocalCommandRunnable.h.
TGo4LocalCommandRunnable::TGo4LocalCommandRunnable | ( | const char * | name, | |
TGo4Task * | task | |||
) |
Definition at line 29 of file TGo4LocalCommandRunnable.cxx.
TGo4LocalCommandRunnable::~TGo4LocalCommandRunnable | ( | ) | [virtual] |
Definition at line 35 of file TGo4LocalCommandRunnable.cxx.
TGo4LocalCommandRunnable::TGo4LocalCommandRunnable | ( | ) | [private] |
Definition at line 23 of file TGo4LocalCommandRunnable.cxx.
Int_t TGo4LocalCommandRunnable::Run | ( | void * | ptr | ) | [virtual] |
The working function which runs in the thread
Implements TGo4Runnable.
Definition at line 39 of file TGo4LocalCommandRunnable.cxx.
References fxLocalTask, TGo4Task::Get_fgiTERMID(), TGo4Command::GetCommandID(), TGo4Task::GetLocalCommandQueue(), TGo4Runnable::GetThread(), TGo4CommandInvoker::Instance(), TGo4CommandInvoker::Invoke(), TGo4Thread::Stop(), and TGo4ObjectQueue::WaitObject().
TGo4Task* TGo4LocalCommandRunnable::fxLocalTask [private] |