Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4Display Class Reference

#include <TGo4Display.h>

Inheritance diagram for TGo4Display:

TGo4Master TGo4TaskOwner TGo4CommandReceiver List of all members.

Public Methods

 TGo4Display (UInt_t negotport=0, const char *hostname="", Bool_t isserver=kTRUE)
virtual ~TGo4Display ()
void DisplayLog (TGo4Status *Status)
void DisplayData (TObject *)
virtual void SetSlave (const char *node, const char *shell, const char *command)
 Remember properties of slave process; this is usefull for killing the slave from the master. More...

virtual void StartSlaveWindow (const char *command)
 This method may start a gui window that contains the output of the slave task. More...

virtual Bool_t DisconnectSlave (const char *name=0, Bool_t waitforslave=kTRUE)
 Add functionality to reset gui appereance here:. More...

virtual TGo4TaskHandlerCommandListCreateCommandList ()
 Factory method for command list; overrides base class implementation. More...


Static Public Attributes

const Long_t fglDRAWTIMERPERIOD = 100
 Period im ms of drawing timer. More...

const Long_t fglLOGTIMERPERIOD = 500
 Period im ms of logging timer. More...


Private Attributes

TGo4GUIRegistryfxTGo4GUIRegistry
TGo4DisplayDrawerTimerfxDrawTimer
 Timer for drawing job. More...

TGo4DisplayLoggerTimerfxLogTimer
 Timer for status logging job. More...


Constructor & Destructor Documentation

TGo4Display::TGo4Display UInt_t    negotport = 0,
const char *    hostname = "",
Bool_t    isserver = kTRUE
 

Definition at line 36 of file TGo4Display.cxx.

References fglDRAWTIMERPERIOD, fglLOGTIMERPERIOD, fxDrawTimer, fxLogTimer, fxTGo4GUIRegistry, TGo4TaskOwner::GetTask(), TGo4GUIRegistry::Instance(), TGo4ThreadManager::Launch(), and TGo4GUIRegistry::SetDisplay().

TGo4Display::~TGo4Display   [virtual]
 

Definition at line 57 of file TGo4Display.cxx.

References TGo4ThreadHandler::CancelAll(), TGo4Log::Debug(), fxDrawTimer, fxLogTimer, fxTGo4GUIRegistry, TGo4GUIRegistry::GetMainWindow(), TGo4TaskOwner::GetTask(), TGo4ThreadManager::GetWorkHandler(), and TRACE.


Member Function Documentation

void TGo4Display::DisplayLog TGo4Status   Status
 

Definition at line 85 of file TGo4Display.cxx.

References TGo4GUIRegistry::DisplayLog(), and fxTGo4GUIRegistry.

Referenced by TGo4DisplayLoggerTimer::Notify().

void TGo4Display::DisplayData TObject *   
 

Definition at line 72 of file TGo4Display.cxx.

References TGo4GUIRegistry::DisplayData(), and fxTGo4GUIRegistry.

Referenced by TGo4DisplayDrawerTimer::Notify().

void TGo4Display::SetSlave const char *    node,
const char *    shell,
const char *    command
[virtual]
 

Remember properties of slave process; this is usefull for killing the slave from the master.

Reimplemented from TGo4Master.

Definition at line 90 of file TGo4Display.cxx.

References fxTGo4GUIRegistry, TGo4GUIRegistry::SetClientNode(), TGo4GUIRegistry::SetClientProgram(), TGo4GUIRegistry::SetClientShell(), and TGo4Master::SetSlave().

void TGo4Display::StartSlaveWindow const char *    command [virtual]
 

This method may start a gui window that contains the output of the slave task.

Reimplemented in TGo4Display to redirect the analysis output into q QWindow

Reimplemented from TGo4Master.

Definition at line 99 of file TGo4Display.cxx.

References fxTGo4GUIRegistry, and TGo4GUIRegistry::StartAnalysisWindow().

Bool_t TGo4Display::DisconnectSlave const char *    name = 0,
Bool_t    waitforslave = kTRUE
[virtual]
 

Add functionality to reset gui appereance here:.

Reimplemented from TGo4Master.

Definition at line 104 of file TGo4Display.cxx.

References TGo4Master::DisconnectSlave(), fxTGo4GUIRegistry, TGo4GUIRegistry::SetMasterMode(), and TGo4GUIRegistry::StopMonitoring().

TGo4TaskHandlerCommandList * TGo4Display::CreateCommandList   [virtual]
 

Factory method for command list; overrides base class implementation.

Reimplemented from TGo4Master.

Definition at line 79 of file TGo4Display.cxx.


Member Data Documentation

const Long_t TGo4Display::fglDRAWTIMERPERIOD = 100 [static]
 

Period im ms of drawing timer.

Definition at line 31 of file TGo4Display.cxx.

Referenced by TGo4Display().

const Long_t TGo4Display::fglLOGTIMERPERIOD = 500 [static]
 

Period im ms of logging timer.

Definition at line 32 of file TGo4Display.cxx.

Referenced by TGo4Display().

TGo4GUIRegistry* TGo4Display::fxTGo4GUIRegistry [private]
 

Definition at line 67 of file TGo4Display.h.

Referenced by DisconnectSlave(), DisplayData(), DisplayLog(), SetSlave(), StartSlaveWindow(), TGo4Display(), and ~TGo4Display().

TGo4DisplayDrawerTimer* TGo4Display::fxDrawTimer [private]
 

Timer for drawing job.

Definition at line 70 of file TGo4Display.h.

Referenced by TGo4Display(), and ~TGo4Display().

TGo4DisplayLoggerTimer* TGo4Display::fxLogTimer [private]
 

Timer for status logging job.

Definition at line 73 of file TGo4Display.h.

Referenced by TGo4Display(), and ~TGo4Display().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:36 2005 for Go4-v2.10-5 by doxygen1.2.15