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

runnable performing control watcher functions of example client task: status of application is send to status queue More...

#include <TGo4LoggingRunnable.h>

+ Inheritance diagram for TGo4LoggingRunnable:

Public Member Functions

 TGo4LoggingRunnable (const char *name, TGo4ExampleServer *serv)
 
virtual ~TGo4LoggingRunnable ()
 
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

 TGo4LoggingRunnable ()
 

Private Attributes

TGo4ExampleControllerfxController {nullptr}
 1
 
TGo4ExampleServerfxServer {nullptr}
 

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 control watcher functions of example client task: status of application is send to status queue

Definition at line 27 of file TGo4LoggingRunnable.h.

Constructor & Destructor Documentation

◆ TGo4LoggingRunnable() [1/2]

TGo4LoggingRunnable::TGo4LoggingRunnable ( const char * name,
TGo4ExampleServer * serv )

◆ ~TGo4LoggingRunnable()

TGo4LoggingRunnable::~TGo4LoggingRunnable ( )
virtual

Definition at line 28 of file TGo4LoggingRunnable.cxx.

References GO4TRACE.

◆ TGo4LoggingRunnable() [2/2]

TGo4LoggingRunnable::TGo4LoggingRunnable ( )
private

Member Function Documentation

◆ Run()

Int_t TGo4LoggingRunnable::Run ( void * ptr)
overridevirtual

The working function which runs in the thread.

Implements TGo4Runnable.

Definition at line 33 of file TGo4LoggingRunnable.cxx.

References fxController, fxServer, GO4TRACE, and TGo4Thread::Sleep().

Field Documentation

◆ fxController

TGo4ExampleController* TGo4LoggingRunnable::fxController {nullptr}
private

1

Definition at line 38 of file TGo4LoggingRunnable.h.

Referenced by TGo4LoggingRunnable(), and Run().

◆ fxServer

TGo4ExampleServer* TGo4LoggingRunnable::fxServer {nullptr}
private

Definition at line 40 of file TGo4LoggingRunnable.h.

Referenced by TGo4LoggingRunnable(), and Run().


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