#include <TGo4TaskHandlerStatus.h>
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) |
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 |
Definition at line 20 of file TGo4TaskHandlerStatus.h.
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.
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().
friend class TGo4TaskHandler [friend] |
Definition at line 21 of file TGo4TaskHandlerStatus.h.
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().