Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4LocalCommandRunnable Class Reference

Runnable which executes all local commands on the server side to prevent gui from blocking. More...

#include <TGo4LocalCommandRunnable.h>

Inheritance diagram for TGo4LocalCommandRunnable:

TGo4Runnable List of all members.

Public Member Functions

 TGo4LocalCommandRunnable (const char *name, TGo4Task *task)
virtual ~TGo4LocalCommandRunnable ()
virtual Int_t Run (void *ptr)
 The working function which runs in the thread.

Private Member Functions

 TGo4LocalCommandRunnable ()

Private Attributes

TGo4TaskfxLocalTask
 1

Detailed Description

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 34 of file TGo4LocalCommandRunnable.h.


Constructor & Destructor Documentation

TGo4LocalCommandRunnable::TGo4LocalCommandRunnable const char *  name,
TGo4Task task
 

Definition at line 33 of file TGo4LocalCommandRunnable.cxx.

References fxLocalTask, and TGo4Task::GetLocalCommandQueue().

TGo4LocalCommandRunnable::~TGo4LocalCommandRunnable  )  [virtual]
 

Definition at line 42 of file TGo4LocalCommandRunnable.cxx.

TGo4LocalCommandRunnable::TGo4LocalCommandRunnable  )  [private]
 

Definition at line 27 of file TGo4LocalCommandRunnable.cxx.


Member Function Documentation

Int_t TGo4LocalCommandRunnable::Run void *  ptr  )  [virtual]
 

The working function which runs in the thread.

Implements TGo4Runnable.

Definition at line 46 of file TGo4LocalCommandRunnable.cxx.

References fxLocalTask, TGo4Task::Get_fgiTERMID(), TGo4Command::GetCommandID(), TGo4Task::GetLocalCommandQueue(), TGo4Runnable::GetThread(), TGo4CommandInvoker::Instance(), and TGo4ObjectQueue::WaitObject().


Member Data Documentation

TGo4Task* TGo4LocalCommandRunnable::fxLocalTask [private]
 

1

Definition at line 51 of file TGo4LocalCommandRunnable.h.

Referenced by Run(), and TGo4LocalCommandRunnable().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:03 2008 for Go4-v3.04-1 by  doxygen 1.4.2