GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TGo4LocalCommandRunnable Class Reference

#include <TGo4LocalCommandRunnable.h>

+ Inheritance diagram for TGo4LocalCommandRunnable:

Public Member Functions

 TGo4LocalCommandRunnable (const char *name, TGo4Task *task)
 
virtual ~TGo4LocalCommandRunnable ()
 
Int_t Run (void *) override
 
- Public Member Functions inherited from TGo4Runnable
 TGo4Runnable (const TGo4Runnable &right)
 
 TGo4Runnable (const char *name, TGo4ThreadManager *man)
 
virtual ~TGo4Runnable ()
 
void SetThread (TGo4Thread *gthread)
 
TGo4ThreadGetThread () const
 
TGo4ThreadManagerGetThreadManager () const
 

Private Member Functions

 TGo4LocalCommandRunnable ()
 

Private Attributes

TGo4TaskfxLocalTask {nullptr}
 

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
TGo4ThreadManagerfxManager {nullptr}
 
TGo4ThreadfxGo4Thread {nullptr}
 

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

Constructor & Destructor Documentation

◆ TGo4LocalCommandRunnable() [1/2]

TGo4LocalCommandRunnable::TGo4LocalCommandRunnable ( const char *  name,
TGo4Task task 
)

Definition at line 28 of file TGo4LocalCommandRunnable.cxx.

◆ ~TGo4LocalCommandRunnable()

TGo4LocalCommandRunnable::~TGo4LocalCommandRunnable ( )
virtual

Definition at line 34 of file TGo4LocalCommandRunnable.cxx.

◆ TGo4LocalCommandRunnable() [2/2]

TGo4LocalCommandRunnable::TGo4LocalCommandRunnable ( )
private

Definition at line 22 of file TGo4LocalCommandRunnable.cxx.

Member Function Documentation

◆ Run()

Int_t TGo4LocalCommandRunnable::Run ( void *  ptr)
overridevirtual

Member Data Documentation

◆ fxLocalTask

TGo4Task* TGo4LocalCommandRunnable::fxLocalTask {nullptr}
private

1

Definition at line 49 of file TGo4LocalCommandRunnable.h.

Referenced by Run().


The documentation for this class was generated from the following files: