#include <TGo4ExampleClient.h>
Inheritance diagram for TGo4ExampleClient:
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 Text_t | fgcMAINTHREAD [] = "MAIN-" |
Suffix for main thread name. | |
static const Text_t | 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. | |
Text_t * | fcMainName |
Remember name of main thread. | |
Text_t * | fcWatchName |
Remember name of watch thread. |
Definition at line 31 of file TGo4ExampleClient.h.
|
|
Definition at line 59 of file TGo4ExampleClient.cxx. References TGo4ThreadHandler::CancelAll(), fcMainName, fcWatchName, fxApplication, TGo4ThreadManager::fxWorkHandler, and TRACE. |
|
|
|
Definition at line 102 of file TGo4ExampleClient.cxx. References fxApplication, and TRACE. Referenced by TGo4MainRunnable::TGo4MainRunnable(), TGo4WatchRunnable::TGo4WatchRunnable(), and UpdateStatus(). |
|
General start method of client application to be called from remote command; should be re-implemented by application.
Reimplemented from TGo4Task. Definition at line 94 of file TGo4ExampleClient.cxx. References TGo4Log::Debug(), fcMainName, TGo4ThreadManager::fxWorkHandler, TGo4ThreadHandler::Start(), and TRACE. |
|
General stop method of client application to be called from remote command; should be re-implemented by application.
Reimplemented from TGo4Task. Definition at line 86 of file TGo4ExampleClient.cxx. References TGo4Log::Debug(), fcMainName, TGo4ThreadManager::fxWorkHandler, TGo4ThreadHandler::Stop(), and TRACE. |
|
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 76 of file TGo4ExampleClient.cxx. References fcMainName, fcWatchName, GetApplication(), GetHistogram(), TGo4ExampleClientStatus::SetHistoStatus(), TGo4ExampleClientStatus::SetNames(), TRACE, and TGo4ClientTask::UpdateStatus(). Referenced by CreateStatus(). |
|
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 68 of file TGo4ExampleClient.cxx. References TRACE, and UpdateStatus(). |
|
Suffix for main thread name.
Definition at line 31 of file TGo4ExampleClient.cxx. Referenced by TGo4ExampleClient(). |
|
Suffix for watch thread name.
Definition at line 30 of file TGo4ExampleClient.cxx. Referenced by TGo4ExampleClient(). |
|
.1 Definition at line 79 of file TGo4ExampleClient.h. Referenced by GetApplication(), TGo4ExampleClient(), and ~TGo4ExampleClient(). |
|
Remember name of main thread.
Definition at line 82 of file TGo4ExampleClient.h. Referenced by Start(), Stop(), TGo4ExampleClient(), UpdateStatus(), and ~TGo4ExampleClient(). |
|
Remember name of watch thread.
Definition at line 85 of file TGo4ExampleClient.h. Referenced by TGo4ExampleClient(), UpdateStatus(), and ~TGo4ExampleClient(). |