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

#include <TGo4TaskHandlerStatus.h>

+ Inheritance diagram for TGo4TaskHandlerStatus:

Public Member Functions

 TGo4TaskHandlerStatus ()
 
virtual ~TGo4TaskHandlerStatus ()
 
const char * GetComName () const
 
const char * GetStatName () const
 
const char * GetDatName () const
 
const char * GetHostName () const
 
UInt_t GetNegPort () const
 
Int_t GetComPort () const
 
Int_t GetStatPort () const
 
Int_t GetDatPort () const
 
Bool_t IsAborting () const
 
virtual Int_t PrintStatus (Text_t *buffer=0, Int_t buflen=0)
 
- Public Member Functions inherited from TGo4Status
 TGo4Status ()
 
 TGo4Status (const char *name)
 
 TGo4Status (const char *name, const char *title)
 
virtual ~TGo4Status ()
 
virtual void Print (Option_t *dummy="") const
 

Private Member Functions

 TGo4TaskHandlerStatus (const char *)
 
void SetFlags (Bool_t isaborting)
 
void SetPorts (UInt_t neg, Int_t com, Int_t stat, Int_t dat)
 
void SetNames (const char *com, const char *stat, const char *dat, const char *host)
 

Private Attributes

TString fxComName
 
TString fxStatName
 
TString fxDatName
 
TString fxHostName
 
UInt_t fuNegPort
 
Int_t fiComPort
 
Int_t fiStatPort
 
Int_t fiDatPort
 
Bool_t fbIsAborting
 

Friends

class TGo4TaskHandler
 

Additional Inherited Members

- Public Types inherited from TGo4Status
enum  { kGo4NoReset = BIT(20), kGo4CanDelete = BIT(21), kGo4BackStoreReset = BIT(22) }
 
- Static Public Member Functions inherited from TGo4Status
static Text_t * PrintIndent (Text_t *buffer, Int_t &buflen)
 
static Text_t * PrintBuffer (char *buffer, Int_t &buflen, const char *text,...)
 

Detailed Description

Definition at line 20 of file TGo4TaskHandlerStatus.h.

Constructor & Destructor Documentation

TGo4TaskHandlerStatus::TGo4TaskHandlerStatus ( )

Definition at line 20 of file TGo4TaskHandlerStatus.cxx.

TGo4TaskHandlerStatus::~TGo4TaskHandlerStatus ( )
virtual

Definition at line 49 of file TGo4TaskHandlerStatus.cxx.

TGo4TaskHandlerStatus::TGo4TaskHandlerStatus ( const char *  name)
private

Definition at line 34 of file TGo4TaskHandlerStatus.cxx.

Member Function Documentation

const char* TGo4TaskHandlerStatus::GetComName ( ) const
inline

Definition at line 28 of file TGo4TaskHandlerStatus.h.

References fxComName.

Referenced by PrintStatus().

Int_t TGo4TaskHandlerStatus::GetComPort ( ) const
inline

Definition at line 38 of file TGo4TaskHandlerStatus.h.

References fiComPort.

const char* TGo4TaskHandlerStatus::GetDatName ( ) const
inline

Definition at line 32 of file TGo4TaskHandlerStatus.h.

References fxDatName.

Referenced by PrintStatus().

Int_t TGo4TaskHandlerStatus::GetDatPort ( ) const
inline

Definition at line 42 of file TGo4TaskHandlerStatus.h.

References fiDatPort.

const char* TGo4TaskHandlerStatus::GetHostName ( ) const
inline

Definition at line 34 of file TGo4TaskHandlerStatus.h.

References fxHostName.

Referenced by PrintStatus().

UInt_t TGo4TaskHandlerStatus::GetNegPort ( ) const
inline

Definition at line 36 of file TGo4TaskHandlerStatus.h.

References fuNegPort.

const char* TGo4TaskHandlerStatus::GetStatName ( ) const
inline

Definition at line 30 of file TGo4TaskHandlerStatus.h.

References fxStatName.

Referenced by PrintStatus().

Int_t TGo4TaskHandlerStatus::GetStatPort ( ) const
inline

Definition at line 40 of file TGo4TaskHandlerStatus.h.

References fiStatPort.

Bool_t TGo4TaskHandlerStatus::IsAborting ( ) const
inline

Definition at line 44 of file TGo4TaskHandlerStatus.h.

References fbIsAborting.

Int_t TGo4TaskHandlerStatus::PrintStatus ( Text_t *  buffer = 0,
Int_t  buflen = 0 
)
virtual

basic method to printout status information on stdout; to be overridden by specific subclass

Reimplemented from TGo4Status.

Definition at line 53 of file TGo4TaskHandlerStatus.cxx.

References fbIsAborting, fiComPort, fiDatPort, fiStatPort, fuNegPort, GetComName(), GetDatName(), GetHostName(), GetStatName(), and TGo4Status::PrintBuffer().

Referenced by TGo4TaskStatus::PrintStatus().

void TGo4TaskHandlerStatus::SetFlags ( Bool_t  isaborting)
private

Definition at line 95 of file TGo4TaskHandlerStatus.cxx.

References fbIsAborting.

Referenced by TGo4TaskHandler::CreateStatus().

void TGo4TaskHandlerStatus::SetNames ( const char *  com,
const char *  stat,
const char *  dat,
const char *  host 
)
private

Definition at line 108 of file TGo4TaskHandlerStatus.cxx.

References fxComName, fxDatName, fxHostName, and fxStatName.

Referenced by TGo4TaskHandler::CreateStatus().

void TGo4TaskHandlerStatus::SetPorts ( UInt_t  neg,
Int_t  com,
Int_t  stat,
Int_t  dat 
)
private

Definition at line 100 of file TGo4TaskHandlerStatus.cxx.

References fiComPort, fiDatPort, fiStatPort, and fuNegPort.

Referenced by TGo4TaskHandler::CreateStatus().

Friends And Related Function Documentation

friend class TGo4TaskHandler
friend

Definition at line 21 of file TGo4TaskHandlerStatus.h.

Member Data Documentation

Bool_t TGo4TaskHandlerStatus::fbIsAborting
private

true if taskhandler is being aborted e.g. by remove exception

Definition at line 82 of file TGo4TaskHandlerStatus.h.

Referenced by IsAborting(), PrintStatus(), and SetFlags().

Int_t TGo4TaskHandlerStatus::fiComPort
private

Command connection port number

Definition at line 73 of file TGo4TaskHandlerStatus.h.

Referenced by GetComPort(), PrintStatus(), and SetPorts().

Int_t TGo4TaskHandlerStatus::fiDatPort
private

Data connection port number

Definition at line 79 of file TGo4TaskHandlerStatus.h.

Referenced by GetDatPort(), PrintStatus(), and SetPorts().

Int_t TGo4TaskHandlerStatus::fiStatPort
private

Status connection port number

Definition at line 76 of file TGo4TaskHandlerStatus.h.

Referenced by GetStatPort(), PrintStatus(), and SetPorts().

UInt_t TGo4TaskHandlerStatus::fuNegPort
private

Actual port number of negotiation connection (raw transport)

Definition at line 70 of file TGo4TaskHandlerStatus.h.

Referenced by GetNegPort(), PrintStatus(), and SetPorts().

TString TGo4TaskHandlerStatus::fxComName
private

Remember name of command thread

Definition at line 58 of file TGo4TaskHandlerStatus.h.

Referenced by GetComName(), and SetNames().

TString TGo4TaskHandlerStatus::fxDatName
private

Remember name of data thread

Definition at line 64 of file TGo4TaskHandlerStatus.h.

Referenced by GetDatName(), and SetNames().

TString TGo4TaskHandlerStatus::fxHostName
private

Remember name of remote task handler

Definition at line 67 of file TGo4TaskHandlerStatus.h.

Referenced by GetHostName(), and SetNames().

TString TGo4TaskHandlerStatus::fxStatName
private

Remember name of status thread

Definition at line 61 of file TGo4TaskHandlerStatus.h.

Referenced by GetStatName(), and SetNames().


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