GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4MainRunnable Class Reference

runnable performing the main action of example client task: getting commands out of command queue, sending objects into data queue More...

#include <TGo4MainRunnable.h>

+ Inheritance diagram for TGo4MainRunnable:

Public Member Functions

 TGo4MainRunnable (const char *name, TGo4ExampleClient *cli)
 
virtual ~TGo4MainRunnable ()
 
Int_t Run (void *) override
 The working function which runs in the thread.
 
- Public Member Functions inherited from TGo4Runnable
 TGo4Runnable (const char *name, TGo4ThreadManager *man)
 
 TGo4Runnable (const TGo4Runnable &right)
 
virtual ~TGo4Runnable ()
 
TGo4ThreadGetThread () const
 
TGo4ThreadManagerGetThreadManager () const
 
void SetThread (TGo4Thread *gthread)
 

Private Member Functions

 TGo4MainRunnable ()
 

Private Attributes

TGo4ExampleApplicationfxApplication {nullptr}
 1
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4Runnable
 TGo4Runnable ()
 
virtual Int_t PostRun (void *ptr)
 Function which is called once after the Run()method on threadstop.
 
virtual Int_t PreRun (void *ptr)
 Function which is called once before the Run() method on threadstart.
 
virtual void ThreadCatch (TGo4Exception &ex)
 catch for exceptions occurring in workfunc
 
virtual void UnexpectedCatch ()
 catch for all unexpected exceptions happening in workfunc
 
- Protected Attributes inherited from TGo4Runnable
TGo4ThreadfxGo4Thread {nullptr}
 Backlink to thread which runs this.
 
TGo4ThreadManagerfxManager {nullptr}
 The threadmanager which is responsible for our thread.
 

Detailed Description

runnable performing the main action of example client task: getting commands out of command queue, sending objects into data queue

Definition at line 28 of file TGo4MainRunnable.h.

Constructor & Destructor Documentation

◆ TGo4MainRunnable() [1/2]

TGo4MainRunnable::TGo4MainRunnable ( const char * name,
TGo4ExampleClient * cli )

◆ ~TGo4MainRunnable()

TGo4MainRunnable::~TGo4MainRunnable ( )
virtual

Definition at line 30 of file TGo4MainRunnable.cxx.

References GO4TRACE.

◆ TGo4MainRunnable() [2/2]

TGo4MainRunnable::TGo4MainRunnable ( )
private

Member Function Documentation

◆ Run()

Int_t TGo4MainRunnable::Run ( void * ptr)
overridevirtual

Field Documentation

◆ fxApplication

TGo4ExampleApplication* TGo4MainRunnable::fxApplication {nullptr}
private

1

0..1

Definition at line 41 of file TGo4MainRunnable.h.

Referenced by TGo4MainRunnable(), and Run().


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