#include <TGo4ExampleClient.h>
Public Member Functions | |
TGo4ExampleClient (const char *name, const char *host="localhost", UInt_t negport=0, Bool_t blockingmode=kTRUE) | |
virtual | ~TGo4ExampleClient () |
TGo4ExampleApplication * | GetApplication () |
virtual void | Start () |
General start method of client application to be called from remote command; should be re-implemented by application. | |
virtual void | Stop () |
General stop method of client application to be called from remote command; should be re-implemented by application. | |
virtual TGo4TaskStatus * | CreateStatus () |
create a status object with information on the current client state. | |
Static Public Attributes | |
static const char * | fgcMAINTHREAD = "MAIN-" |
Suffix for main thread name. | |
static const char * | fgcWATCHTHREAD = "WATCH-" |
Suffix for watch thread name. | |
Protected Member Functions | |
virtual void | UpdateStatus (TGo4ClientStatus *state) |
method needed by method CreateStatus of any status subclasses to set the values of the clienttask specific part of the status object. | |
Private Member Functions | |
TGo4ExampleClient () | |
Private Attributes | |
TGo4ExampleApplication * | fxApplication |
1 0. | |
TString | fcMainName |
Remember name of main thread. | |
TString | fcWatchName |
Remember name of watch thread. |
Definition at line 29 of file TGo4ExampleClient.h.
TGo4ExampleClient::TGo4ExampleClient | ( | const char * | name, | |
const char * | host = "localhost" , |
|||
UInt_t | negport = 0 , |
|||
Bool_t | blockingmode = kTRUE | |||
) |
Definition at line 31 of file TGo4ExampleClient.cxx.
TGo4ExampleClient::~TGo4ExampleClient | ( | ) | [virtual] |
Definition at line 51 of file TGo4ExampleClient.cxx.
TGo4ExampleClient::TGo4ExampleClient | ( | ) | [private] |
TGo4ExampleApplication * TGo4ExampleClient::GetApplication | ( | ) |
Definition at line 92 of file TGo4ExampleClient.cxx.
void TGo4ExampleClient::Start | ( | ) | [virtual] |
General start method of client application to be called from remote command; should be re-implemented by application.
Reimplemented from TGo4Task.
Definition at line 84 of file TGo4ExampleClient.cxx.
void TGo4ExampleClient::Stop | ( | ) | [virtual] |
General stop method of client application to be called from remote command; should be re-implemented by application.
Reimplemented from TGo4Task.
Definition at line 76 of file TGo4ExampleClient.cxx.
void TGo4ExampleClient::UpdateStatus | ( | TGo4ClientStatus * | state | ) | [protected, virtual] |
method needed by method CreateStatus of any status subclasses to set the values of the clienttask specific part of the status object.
Definition at line 66 of file TGo4ExampleClient.cxx.
TGo4TaskStatus * TGo4ExampleClient::CreateStatus | ( | ) | [virtual] |
create a status object with information on the current client state.
this object may be sent to the server or may be used to restore current status by memento mechanism. Overridden from superclass
Reimplemented from TGo4ClientTask.
Definition at line 58 of file TGo4ExampleClient.cxx.
const char * TGo4ExampleClient::fgcMAINTHREAD = "MAIN-" [static] |
const char * TGo4ExampleClient::fgcWATCHTHREAD = "WATCH-" [static] |
TString TGo4ExampleClient::fcMainName [private] |
TString TGo4ExampleClient::fcWatchName [private] |