GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4LocalCommandRunnable.h>
Public Member Functions | |
TGo4LocalCommandRunnable (const char *name, TGo4Task *task) | |
virtual | ~TGo4LocalCommandRunnable () |
virtual Int_t | Run (void *ptr) |
Public Member Functions inherited from TGo4Runnable | |
TGo4Runnable (const TGo4Runnable &right) | |
TGo4Runnable (const char *name, TGo4ThreadManager *man) | |
virtual | ~TGo4Runnable () |
void | SetThread (TGo4Thread *gthread) |
TGo4Thread * | GetThread () const |
TGo4ThreadManager * | GetThreadManager () const |
Private Member Functions | |
TGo4LocalCommandRunnable () | |
Private Attributes | |
TGo4Task * | fxLocalTask |
Additional Inherited Members | |
Protected Member Functions inherited from TGo4Runnable | |
TGo4Runnable () | |
virtual Int_t | PreRun (void *ptr) |
virtual Int_t | PostRun (void *ptr) |
virtual void | ThreadCatch (TGo4Exception &ex) |
virtual void | UnexpectedCatch () |
Protected Attributes inherited from TGo4Runnable | |
TGo4ThreadManager * | fxManager |
TGo4Thread * | fxGo4Thread |
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.
|
virtual |
Definition at line 35 of file TGo4LocalCommandRunnable.cxx.
|
private |
Definition at line 23 of file TGo4LocalCommandRunnable.cxx.
|
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().
|
private |