GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Task handler status. More...
#include <TGo4TaskHandlerStatus.h>
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 |
![]() | |
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 | |
![]() | |
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 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. | |
Task handler status.
Definition at line 23 of file TGo4TaskHandlerStatus.h.
TGo4TaskHandlerStatus::TGo4TaskHandlerStatus | ( | ) |
Definition at line 16 of file TGo4TaskHandlerStatus.cxx.
References TGo4Status::TGo4Status().
|
virtual |
Definition at line 26 of file TGo4TaskHandlerStatus.cxx.
|
private |
Definition at line 21 of file TGo4TaskHandlerStatus.cxx.
References TGo4Status::TGo4Status().
|
inline |
|
inline |
Definition at line 41 of file TGo4TaskHandlerStatus.h.
References fiComPort.
|
inline |
|
inline |
Definition at line 45 of file TGo4TaskHandlerStatus.h.
References fiDatPort.
|
inline |
Definition at line 37 of file TGo4TaskHandlerStatus.h.
References fxHostName.
Referenced by Print().
|
inline |
Definition at line 39 of file TGo4TaskHandlerStatus.h.
References fuNegPort.
|
inline |
Definition at line 33 of file TGo4TaskHandlerStatus.h.
References fxStatName.
Referenced by Print().
|
inline |
Definition at line 43 of file TGo4TaskHandlerStatus.h.
References fiStatPort.
|
inline |
Definition at line 47 of file TGo4TaskHandlerStatus.h.
References fbIsAborting.
|
override |
Definition at line 30 of file TGo4TaskHandlerStatus.cxx.
References fbIsAborting, fiComPort, fiDatPort, fiStatPort, fuNegPort, GetComName(), GetDatName(), GetHostName(), GetStatName(), and TGo4Status::PrintLine().
|
private |
Definition at line 46 of file TGo4TaskHandlerStatus.cxx.
References fbIsAborting.
Referenced by TGo4TaskHandler::CreateStatus().
|
private |
Definition at line 59 of file TGo4TaskHandlerStatus.cxx.
References fxComName, fxDatName, fxHostName, and fxStatName.
Referenced by TGo4TaskHandler::CreateStatus().
|
private |
Definition at line 51 of file TGo4TaskHandlerStatus.cxx.
References fiComPort, fiDatPort, fiStatPort, and fuNegPort.
Referenced by TGo4TaskHandler::CreateStatus().
|
friend |
Definition at line 24 of file TGo4TaskHandlerStatus.h.
References TGo4TaskHandler.
Referenced by TGo4TaskHandler.
|
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().
|
private |
Command connection port number.
Definition at line 76 of file TGo4TaskHandlerStatus.h.
Referenced by GetComPort(), Print(), and SetPorts().
|
private |
Data connection port number.
Definition at line 82 of file TGo4TaskHandlerStatus.h.
Referenced by GetDatPort(), Print(), and SetPorts().
|
private |
Status connection port number.
Definition at line 79 of file TGo4TaskHandlerStatus.h.
Referenced by GetStatPort(), Print(), and SetPorts().
|
private |
Actual port number of negotiation connection (raw transport)
Definition at line 73 of file TGo4TaskHandlerStatus.h.
Referenced by GetNegPort(), Print(), and SetPorts().
|
private |
Remember name of command thread.
Definition at line 61 of file TGo4TaskHandlerStatus.h.
Referenced by GetComName(), and SetNames().
|
private |
Remember name of data thread.
Definition at line 67 of file TGo4TaskHandlerStatus.h.
Referenced by GetDatName(), and SetNames().
|
private |
Remember name of remote task handler.
Definition at line 70 of file TGo4TaskHandlerStatus.h.
Referenced by GetHostName(), and SetNames().
|
private |
Remember name of status thread.
Definition at line 64 of file TGo4TaskHandlerStatus.h.
Referenced by GetStatName(), and SetNames().