Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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 Methods

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


Private Methods

 TGo4LocalCommandRunnable ()

Private Attributes

TGo4TaskfxLocalTask
 @supplierCardinality 1 @directed. More...

TGo4ObjectQueuefxQueue
 Link to external command queue. More...


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 @stereotype thread

Definition at line 36 of file TGo4LocalCommandRunnable.h.


Constructor & Destructor Documentation

TGo4LocalCommandRunnable::TGo4LocalCommandRunnable const char *    name,
TGo4Task   task
 

Definition at line 27 of file TGo4LocalCommandRunnable.cxx.

References fxQueue.

TGo4LocalCommandRunnable::~TGo4LocalCommandRunnable   [virtual]
 

Definition at line 34 of file TGo4LocalCommandRunnable.cxx.

TGo4LocalCommandRunnable::TGo4LocalCommandRunnable   [private]
 


Member Function Documentation

Int_t TGo4LocalCommandRunnable::Run void *    ptr [virtual]
 

The working function which runs in the thread.

Implements TGo4Runnable.

Definition at line 40 of file TGo4LocalCommandRunnable.cxx.

References TGo4Task::fgiTERMID, fxLocalTask, fxQueue, TGo4Command::GetCommandID(), TGo4Task::GetLocalCommandQueue(), TGo4Runnable::GetThread(), TGo4CommandInvoker::Instance(), TGo4CommandInvoker::Invoke(), TGo4Thread::Stop(), and TGo4ObjectQueue::WaitObject().


Member Data Documentation

TGo4Task* TGo4LocalCommandRunnable::fxLocalTask [private]
 

@supplierCardinality 1 @directed.

Definition at line 53 of file TGo4LocalCommandRunnable.h.

Referenced by Run().

TGo4ObjectQueue* TGo4LocalCommandRunnable::fxQueue [private]
 

Link to external command queue.

Definition at line 56 of file TGo4LocalCommandRunnable.h.

Referenced by Run(), and TGo4LocalCommandRunnable().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:45 2005 for Go4-v2.10-5 by doxygen1.2.15