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

Task handler status. More...

#include <TGo4TaskHandlerStatus.h>

+ Inheritance diagram for TGo4TaskHandlerStatus:

Public Member Functions

 TGo4TaskHandlerStatus ()
 
virtual ~TGo4TaskHandlerStatus ()
 
const char * GetComName () const
 
Int_t GetComPort () const
 
const char * GetDatName () const
 
Int_t GetDatPort () const
 
const char * GetHostName () const
 
UInt_t GetNegPort () const
 
const char * GetStatName () const
 
Int_t GetStatPort () 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 ()
 
void Print (Option_t *opt="") const override
 
virtual Int_t PrintStatus (Text_t *buffer=nullptr, Int_t buflen=0)
 DEPRECATED - please use Print(Option_t *) signature basic method to printout status information on stdout; to be overridden by specific subclass.
 

Private Member Functions

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

Private Attributes

Bool_t fbIsAborting {kFALSE}
 true if taskhandler is being aborted e.g.
 
Int_t fiComPort {0}
 Command connection port number.
 
Int_t fiDatPort {0}
 Data connection port number.
 
Int_t fiStatPort {0}
 Status connection port number.
 
UInt_t fuNegPort {0}
 Actual port number of negotiation connection (raw transport)
 
TString fxComName
 Remember name of command thread.
 
TString fxDatName
 Remember name of data thread.
 
TString fxHostName
 Remember name of remote task handler.
 
TString fxStatName
 Remember name of status thread.
 

Friends

class TGo4TaskHandler
 

Additional Inherited Members

- Public Types inherited from TGo4Status
enum  { kGo4NoReset = BIT(20) , kGo4CanDelete = BIT(21) , kGo4BackStoreReset = BIT(22) }
 Go4 status bits to be used in object manager to suppress resetting or deleting histograms, etc. More...
 
- Static Public Member Functions inherited from TGo4Status
static Text_t * PrintBuffer (char *buffer, Int_t &buflen, const char *text,...)
 Print text with variable expression into buffer.
 
static Text_t * PrintIndent (Text_t *buffer, Int_t &buflen)
 Insert indentation blanks into text buffer.
 
static void PrintLine (const char *text,...)
 Print single line of debug output with appropriate indent.
 

Detailed Description

Task handler status.

Definition at line 23 of file TGo4TaskHandlerStatus.h.

Constructor & Destructor Documentation

◆ TGo4TaskHandlerStatus() [1/2]

TGo4TaskHandlerStatus::TGo4TaskHandlerStatus ( )

Definition at line 16 of file TGo4TaskHandlerStatus.cxx.

References TGo4Status::TGo4Status().

◆ ~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.

References TGo4Status::TGo4Status().

Member Function Documentation

◆ GetComName()

const char * TGo4TaskHandlerStatus::GetComName ( ) const
inline

Definition at line 31 of file TGo4TaskHandlerStatus.h.

References fxComName.

Referenced by Print().

◆ GetComPort()

Int_t TGo4TaskHandlerStatus::GetComPort ( ) const
inline

Definition at line 41 of file TGo4TaskHandlerStatus.h.

References fiComPort.

◆ GetDatName()

const char * TGo4TaskHandlerStatus::GetDatName ( ) const
inline

Definition at line 35 of file TGo4TaskHandlerStatus.h.

References fxDatName.

Referenced by Print().

◆ GetDatPort()

Int_t TGo4TaskHandlerStatus::GetDatPort ( ) const
inline

Definition at line 45 of file TGo4TaskHandlerStatus.h.

References fiDatPort.

◆ GetHostName()

const char * TGo4TaskHandlerStatus::GetHostName ( ) const
inline

Definition at line 37 of file TGo4TaskHandlerStatus.h.

References fxHostName.

Referenced by Print().

◆ GetNegPort()

UInt_t TGo4TaskHandlerStatus::GetNegPort ( ) const
inline

Definition at line 39 of file TGo4TaskHandlerStatus.h.

References fuNegPort.

◆ GetStatName()

const char * TGo4TaskHandlerStatus::GetStatName ( ) const
inline

Definition at line 33 of file TGo4TaskHandlerStatus.h.

References fxStatName.

Referenced by Print().

◆ GetStatPort()

Int_t TGo4TaskHandlerStatus::GetStatPort ( ) const
inline

Definition at line 43 of file TGo4TaskHandlerStatus.h.

References fiStatPort.

◆ IsAborting()

Bool_t TGo4TaskHandlerStatus::IsAborting ( ) const
inline

Definition at line 47 of file TGo4TaskHandlerStatus.h.

References fbIsAborting.

◆ 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().

◆ 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().

◆ 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().

Friends And Related Symbol Documentation

◆ TGo4TaskHandler

friend class TGo4TaskHandler
friend

Definition at line 24 of file TGo4TaskHandlerStatus.h.

References TGo4TaskHandler.

Referenced by TGo4TaskHandler.

Field Documentation

◆ fbIsAborting

Bool_t TGo4TaskHandlerStatus::fbIsAborting {kFALSE}
private

true if taskhandler is being aborted e.g.

by remove exception

Definition at line 85 of file TGo4TaskHandlerStatus.h.

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

◆ fiComPort

Int_t TGo4TaskHandlerStatus::fiComPort {0}
private

Command connection port number.

Definition at line 76 of file TGo4TaskHandlerStatus.h.

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

◆ fiDatPort

Int_t TGo4TaskHandlerStatus::fiDatPort {0}
private

Data connection port number.

Definition at line 82 of file TGo4TaskHandlerStatus.h.

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

◆ fiStatPort

Int_t TGo4TaskHandlerStatus::fiStatPort {0}
private

Status connection port number.

Definition at line 79 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 73 of file TGo4TaskHandlerStatus.h.

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

◆ fxComName

TString TGo4TaskHandlerStatus::fxComName
private

Remember name of command thread.

Definition at line 61 of file TGo4TaskHandlerStatus.h.

Referenced by GetComName(), and SetNames().

◆ fxDatName

TString TGo4TaskHandlerStatus::fxDatName
private

Remember name of data thread.

Definition at line 67 of file TGo4TaskHandlerStatus.h.

Referenced by GetDatName(), and SetNames().

◆ fxHostName

TString TGo4TaskHandlerStatus::fxHostName
private

Remember name of remote task handler.

Definition at line 70 of file TGo4TaskHandlerStatus.h.

Referenced by GetHostName(), and SetNames().

◆ fxStatName

TString TGo4TaskHandlerStatus::fxStatName
private

Remember name of status thread.

Definition at line 64 of file TGo4TaskHandlerStatus.h.

Referenced by GetStatName(), and SetNames().


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