GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
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
 
void Print (Option_t *opt="") const override
 
- Public Member Functions inherited from TGo4Status
 TGo4Status ()
 
 TGo4Status (const char *name)
 
 TGo4Status (const char *name, const char *title)
 
virtual ~TGo4Status ()
 
virtual Int_t PrintStatus (Text_t *buffer=nullptr, Int_t buflen=0)
 
void Print (Option_t *opt="") const override
 

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 {0}
 
Int_t fiComPort {0}
 
Int_t fiStatPort {0}
 
Int_t fiDatPort {0}
 
Bool_t fbIsAborting {kFALSE}
 

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,...)
 
static void PrintLine (const char *text,...)
 

Detailed Description

Definition at line 20 of file TGo4TaskHandlerStatus.h.

Constructor & Destructor Documentation

◆ TGo4TaskHandlerStatus() [1/2]

TGo4TaskHandlerStatus::TGo4TaskHandlerStatus ( )

Definition at line 16 of file TGo4TaskHandlerStatus.cxx.

Referenced by IsAborting().

◆ ~TGo4TaskHandlerStatus()

TGo4TaskHandlerStatus::~TGo4TaskHandlerStatus ( )
virtual

Definition at line 26 of file TGo4TaskHandlerStatus.cxx.

◆ TGo4TaskHandlerStatus() [2/2]

TGo4TaskHandlerStatus::TGo4TaskHandlerStatus ( const char *  name)
private

Definition at line 21 of file TGo4TaskHandlerStatus.cxx.

Member Function Documentation

◆ GetComName()

const char* TGo4TaskHandlerStatus::GetComName ( ) const
inline

Definition at line 28 of file TGo4TaskHandlerStatus.h.

References fxComName.

Referenced by Print().

◆ GetComPort()

Int_t TGo4TaskHandlerStatus::GetComPort ( ) const
inline

Definition at line 38 of file TGo4TaskHandlerStatus.h.

References fiComPort.

◆ GetDatName()

const char* TGo4TaskHandlerStatus::GetDatName ( ) const
inline

Definition at line 32 of file TGo4TaskHandlerStatus.h.

References fxDatName.

Referenced by Print().

◆ GetDatPort()

Int_t TGo4TaskHandlerStatus::GetDatPort ( ) const
inline

Definition at line 42 of file TGo4TaskHandlerStatus.h.

References fiDatPort.

◆ GetHostName()

const char* TGo4TaskHandlerStatus::GetHostName ( ) const
inline

Definition at line 34 of file TGo4TaskHandlerStatus.h.

References fxHostName.

Referenced by Print().

◆ GetNegPort()

UInt_t TGo4TaskHandlerStatus::GetNegPort ( ) const
inline

Definition at line 36 of file TGo4TaskHandlerStatus.h.

References fuNegPort.

◆ GetStatName()

const char* TGo4TaskHandlerStatus::GetStatName ( ) const
inline

Definition at line 30 of file TGo4TaskHandlerStatus.h.

References fxStatName.

Referenced by Print().

◆ GetStatPort()

Int_t TGo4TaskHandlerStatus::GetStatPort ( ) const
inline

Definition at line 40 of file TGo4TaskHandlerStatus.h.

References fiStatPort.

◆ IsAborting()

Bool_t TGo4TaskHandlerStatus::IsAborting ( ) const
inline

◆ Print()

void TGo4TaskHandlerStatus::Print ( Option_t *  opt = "") const
override

◆ SetFlags()

void TGo4TaskHandlerStatus::SetFlags ( Bool_t  isaborting)
private

Definition at line 46 of file TGo4TaskHandlerStatus.cxx.

References fbIsAborting.

Referenced by TGo4TaskHandler::CreateStatus(), and IsAborting().

◆ SetNames()

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

Definition at line 59 of file TGo4TaskHandlerStatus.cxx.

References fxComName, fxDatName, fxHostName, and fxStatName.

Referenced by TGo4TaskHandler::CreateStatus(), and IsAborting().

◆ SetPorts()

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

Definition at line 51 of file TGo4TaskHandlerStatus.cxx.

References fiComPort, fiDatPort, fiStatPort, and fuNegPort.

Referenced by TGo4TaskHandler::CreateStatus(), and IsAborting().

Friends And Related Function Documentation

◆ TGo4TaskHandler

friend class TGo4TaskHandler
friend

Definition at line 21 of file TGo4TaskHandlerStatus.h.

Member Data Documentation

◆ fbIsAborting

Bool_t TGo4TaskHandlerStatus::fbIsAborting {kFALSE}
private

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

Definition at line 82 of file TGo4TaskHandlerStatus.h.

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

◆ fiComPort

Int_t TGo4TaskHandlerStatus::fiComPort {0}
private

Command connection port number

Definition at line 73 of file TGo4TaskHandlerStatus.h.

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

◆ fiDatPort

Int_t TGo4TaskHandlerStatus::fiDatPort {0}
private

Data connection port number

Definition at line 79 of file TGo4TaskHandlerStatus.h.

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

◆ fiStatPort

Int_t TGo4TaskHandlerStatus::fiStatPort {0}
private

Status connection port number

Definition at line 76 of file TGo4TaskHandlerStatus.h.

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

◆ fuNegPort

UInt_t TGo4TaskHandlerStatus::fuNegPort {0}
private

Actual port number of negotiation connection (raw transport)

Definition at line 70 of file TGo4TaskHandlerStatus.h.

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

◆ fxComName

TString TGo4TaskHandlerStatus::fxComName
private

Remember name of command thread

Definition at line 58 of file TGo4TaskHandlerStatus.h.

Referenced by GetComName(), and SetNames().

◆ fxDatName

TString TGo4TaskHandlerStatus::fxDatName
private

Remember name of data thread

Definition at line 64 of file TGo4TaskHandlerStatus.h.

Referenced by GetDatName(), and SetNames().

◆ fxHostName

TString TGo4TaskHandlerStatus::fxHostName
private

Remember name of remote task handler

Definition at line 67 of file TGo4TaskHandlerStatus.h.

Referenced by GetHostName(), and SetNames().

◆ fxStatName

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: