GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | List of all members
TGo4DataRunnable Class Reference

#include <TGo4DataRunnable.h>

+ Inheritance diagram for TGo4DataRunnable:

Public Member Functions

 TGo4DataRunnable (const char *name, TGo4ThreadManager *man, TGo4TaskHandler *hand, Bool_t receivermode=kTRUE)
 
virtual ~TGo4DataRunnable ()
 
virtual Int_t Run (void *ptr)
 
- Public Member Functions inherited from TGo4TaskHandlerRunnable
 TGo4TaskHandlerRunnable (const char *name, TGo4ThreadManager *man, TGo4TaskHandler *hand, Bool_t receivermode=kTRUE)
 
virtual ~TGo4TaskHandlerRunnable ()
 
TGo4TaskHandlerGetTaskHandler ()
 
- 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

 TGo4DataRunnable ()
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4TaskHandlerRunnable
Bool_t CheckStopBuffer (TBuffer *buf, Int_t *result=0)
 
Bool_t CheckTransportOpen ()
 
- 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 TGo4TaskHandlerRunnable
TGo4SocketfxTransport
 
TGo4TaskHandlerfxTaskHandler
 
Bool_t fbReceiverMode
 
TGo4BufferQueuefxBufferQueue
 
- Protected Attributes inherited from TGo4Runnable
TGo4ThreadManagerfxManager
 
TGo4ThreadfxGo4Thread
 

Detailed Description

Runnable responsible for data object exchange between transport (socket) and buffer (queue) In receiver mode, data objects are received from transport and passed to the queue in non receiver mode, runnables waits for the queue and sends all data objects from the queue over the transport thread

Definition at line 30 of file TGo4DataRunnable.h.

Constructor & Destructor Documentation

TGo4DataRunnable::TGo4DataRunnable ( const char *  name,
TGo4ThreadManager man,
TGo4TaskHandler hand,
Bool_t  receivermode = kTRUE 
)
TGo4DataRunnable::~TGo4DataRunnable ( )
virtual

Definition at line 36 of file TGo4DataRunnable.cxx.

TGo4DataRunnable::TGo4DataRunnable ( )
private

Member Function Documentation

Int_t TGo4DataRunnable::Run ( void *  ptr)
virtual

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