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

TGo4GUIRegistry Class Reference

A static Singleton which acts as a registry for all GUIs in the Go4 Project. More...

#include <TGo4GUIRegistry.h>

List of all members.

Public Methods

virtual ~TGo4GUIRegistry ()
void DisplayData (TNamed *)
void SetLogInfo (TGo4SlotsBaseClass *)
void SetMemoryBrowser (TGo4SlotsBaseClass *browser)
void SetDisplayStatusMonitor (TGo4SlotsBaseClass *)
 Set the Panel to which the log info will be directed. More...

void DisplayLog (TGo4Status *)
void RegisterDependentClass (TGo4SlotsBaseClass *, const char *)
void SubmitCommand (const char *name)
 send command specified by name to the current client task. More...

TGo4CommandMakeCommand (const char *name)
 Method using internal command prototype list to produce a clone of the specified command. More...

void SubmitCommand (TGo4Command *com, const char *ObjectName=0, TGo4SlotsBaseClass *p=0, Bool_t Monitor=kFALSE, TQRootCanvas *c=0, TPad *pad=0)
 send given command to the current client task. More...

void SubmitCommand (const char *name, TGo4SlotsBaseClass *p)
void SubmitEmergencyCommand (Int_t val)
void ReDirectObject (const char *ObjectName, TGo4SlotsBaseClass *p=0, bool Monitor=kTRUE, TQRootCanvas *c=0, TPad *pad=0)
 This can be used to redirect any object send from the analysis to the GUI,. More...

void RegisterSlotClass (TGo4SlotsBaseClass *p, TGo4Status *s, QWidget *GUI=0)
TGo4SlotsBaseClassGetSlotClass (const char *name)
TGo4SlotsBaseClassGetSlotClass (TGo4SlotsBaseClass *SlotClass)
TGo4StatusGetStatus (const char *name)
QWidget * GetGUIClass (TGo4SlotsBaseClass *SlotClass)
void SetMainWindow (QWidget *widget)
QWidget * GetMainWindow ()
void SetCentralWindow (QWidget *widget)
QWidget * GetCentralWindow ()
void GuiIsChanged (TGo4SlotsBaseClass *SlotClass, QWidget *GUI)
void UnRegisterDependentClass (TGo4SlotsBaseClass *p, const char *name)
void UpdateDependents (TGo4Status *s)
void SetDisplay (TGo4Display *)
TGo4DisplayGetDisplay () const
void SetDisplayAnalysisConfig (TGo4SlotsBaseClass *p)
void RemoveFromSubmittedList (const char *Name)
 this will remove the all entries of submitted commands of the Object "Name" from the registry. More...

void RemoveFromSubmittedList (const char *Name, TGo4SlotsBaseClass *p)
 this will remove the all entries of submitted commands of the Object "Name" having "p" as reciver from the registry. More...

void RemoveFromSubmittedList (const char *Name, TQRootCanvas *c)
 this will remove the all entries of submitted commands of the Object "Name" having "c" as reciver from the registry. More...

void RemoveRedirectEntry (const char *Name)
 this will remove the all redirections of the Object "Name" from the registry. More...

void RemoveRedirectEntry (const char *Name, TGo4SlotsBaseClass *p)
 this will remove the all redirections to the receiver "p". More...

void RemoveRedirectEntry (const char *Name, TQRootCanvas *c)
 this will remove the all redirections to the receiver "c". More...

void UnRegisterClass (TGo4SlotsBaseClass *p, TGo4Status *s)
void StartAnalysisWindow (const char *text)
 Set the Monitor to which the log display will be directed. More...

void SetMasterMode (Int_t role)
 Change appereance of gui according to role. More...

void StopMonitoring ()
 Stop monitoring list and clear remote browser. More...

Bool_t IsAnalysisReady () const
void SetAnalysisReady (Bool_t on=kTRUE)
Bool_t IsAnaSettingsReady () const
void SetAnaSettingsReady (Bool_t on=kTRUE)
void SetClientNode (const char *host)
const char * GetClientNode ()
void SetClientShell (const Text_t *txt)
const char * GetClientShell ()
void SetClientProgram (const Text_t *exec)
const char * GetClientProgram ()
void SetClientPassword (const Text_t *passwd)
const char * GetClientPassword ()
void SetClientRole (Int_t role)
Int_t GetClientRole ()

Static Public Methods

TGo4GUIRegistry * Instance ()

Protected Methods

 TGo4GUIRegistry ()

Private Methods

TGo4SubmittedCommandsEntryFindCmdEntry (const char *name, Bool_t force=kFALSE)
void RemoveFromSubmittedList (TGo4SubmittedCommandsEntry *Entry)

Private Attributes

TObjArray SlotClassList
TObjArray DependenceList
TObjArray SubmittedCommandsList
TGo4SlotsBaseClassfxDisplayStatusMonitor
TGo4SlotsBaseClassfxDisplayAnalysisConfig
TGo4SlotsBaseClassfxLogInfo
TGo4SlotsBaseClassfxMemBrowser
TGo4DisplayfxTGo4Display
QWidget * fxMainWindow
QWidget * fxCentralWindow
Bool_t fbAnalysisReady
 This flag indicates if analysis client is connected and ready. More...

Bool_t fbAnaSettingsReady
 This flag indicates if analysis settings were initialized. More...

TString fxClientHost
 remember nodename of the started analysis client. More...

TString fxClientShell
 remember shell command used for starting analysis client. More...

TString fxClientProgram
 remember program name of analysis client. More...

TString fxClientPassword
 remember password of last login to nalysis client. More...

Int_t fiClientRole
 Set the role of last login. More...


Static Private Attributes

TGo4GUIRegistry * fxInstance = 0
  More...


Detailed Description

A static Singleton which acts as a registry for all GUIs in the Go4 Project.

Each GUI Window will register its slot and Status objects by this Registry when created.

If the Widget window where deleted with out unregistering the slot and the status objects, it will get the pointer to them from this registry when created (Widget) again. It also serves as command an object dispatcher, which is responsible for delivering objects coming from the analysis to the recievers on the GUI side

Since:
10.04.2001
Author:
Mohammad Al-Turany

Definition at line 39 of file TGo4GUIRegistry.h.


Constructor & Destructor Documentation

TGo4GUIRegistry::TGo4GUIRegistry   [protected]
 

Definition at line 45 of file TGo4GUIRegistry.cxx.

References DependenceList, fbAnalysisReady, fbAnaSettingsReady, fiClientRole, fxCentralWindow, fxDisplayAnalysisConfig, fxDisplayStatusMonitor, fxLogInfo, fxMainWindow, fxMemBrowser, fxTGo4Display, SlotClassList, and SubmittedCommandsList.

Referenced by Instance().

TGo4GUIRegistry::~TGo4GUIRegistry   [virtual]
 

Definition at line 66 of file TGo4GUIRegistry.cxx.


Member Function Documentation

TGo4GUIRegistry * TGo4GUIRegistry::Instance   [static]
 

Definition at line 38 of file TGo4GUIRegistry.cxx.

References fxInstance, and TGo4GUIRegistry().

Referenced by TGo4QRootCanvas::dropEvent(), TGo4AdvancedUserWidgetSlots::TGo4AdvancedUserWidgetSlots(), TGo4AnalysisConfigurationSlots::TGo4AnalysisConfigurationSlots(), TGo4AnalysisStatusMonitorSlots::TGo4AnalysisStatusMonitorSlots(), TGo4AnalysisWindow::TGo4AnalysisWindow(), TGo4BrowserSlots::TGo4BrowserSlots(), TGo4ConditionInfoSlots::TGo4ConditionInfoSlots(), TGo4CreateNewHistogramSlots::TGo4CreateNewHistogramSlots(), TGo4DiskFileBrowserSlots::TGo4DiskFileBrowserSlots(), TGo4Display::TGo4Display(), TGo4EditDynEntrySlots::TGo4EditDynEntrySlots(), TGo4EventInfoSlots::TGo4EventInfoSlots(), TGo4FitPanelSlots::TGo4FitPanelSlots(), TGo4HistogramInfoSlots::TGo4HistogramInfoSlots(), TGo4LoadedLibrariesSlots::TGo4LoadedLibrariesSlots(), TGo4LogInfoSlots::TGo4LogInfoSlots(), TGo4MainWindow::TGo4MainWindow(), TGo4MonitoredListSlots::TGo4MonitoredListSlots(), TGo4ParaEditSlots::TGo4ParaEditSlots(), TGo4PreviewPanelSlots::TGo4PreviewPanelSlots(), TGo4QItem::TGo4QItem(), TGo4RemoteBrowserSlots::TGo4RemoteBrowserSlots(), TGo4ScriptSlots::TGo4ScriptSlots(), TGo4StartClientSlots::TGo4StartClientSlots(), TGo4TreeViewerSlots::TGo4TreeViewerSlots(), and TGo4WindowEditSlots::TGo4WindowEditSlots().

void TGo4GUIRegistry::DisplayData TNamed *   
 

Definition at line 238 of file TGo4GUIRegistry.cxx.

References TGo4SlotsBaseClass::AddObject(), FindCmdEntry(), fxMemBrowser, TGo4RecieverInfo::GetCanvas(), TGo4RecieverInfo::GetPad(), TGo4SubmittedCommandsEntry::GetRecv(), TGo4RecieverInfo::GetRecvSlot(), TGo4RecieverInfo::IsMonitored(), TGo4RecieverInfo::IsSubmited(), n, TGo4SubmittedCommandsEntry::NoOfRecv(), RemoveFromSubmittedList(), and TGo4SubmittedCommandsEntry::RemoveRecvEntry().

Referenced by TGo4Display::DisplayData().

void TGo4GUIRegistry::SetLogInfo TGo4SlotsBaseClass  
 

Definition at line 467 of file TGo4GUIRegistry.cxx.

References fxLogInfo.

Referenced by TGo4LogInfoSlots::TGo4LogInfoSlots().

void TGo4GUIRegistry::SetMemoryBrowser TGo4SlotsBaseClass   browser
 

Definition at line 516 of file TGo4GUIRegistry.cxx.

References fxMemBrowser.

Referenced by TGo4BrowserSlots::TGo4BrowserSlots().

void TGo4GUIRegistry::SetDisplayStatusMonitor TGo4SlotsBaseClass   p
 

Set the Panel to which the log info will be directed.

Definition at line 477 of file TGo4GUIRegistry.cxx.

References fxDisplayStatusMonitor.

Referenced by TGo4AnalysisStatusMonitorSlots::TGo4AnalysisStatusMonitorSlots().

void TGo4GUIRegistry::DisplayLog TGo4Status  
 

Definition at line 357 of file TGo4GUIRegistry.cxx.

References fxDisplayAnalysisConfig, fxDisplayStatusMonitor, fxLogInfo, TGo4Command::GetModeDescription(), Go4CommandMode_t, SetAnalysisReady(), SetAnaSettingsReady(), SetMasterMode(), TGo4SlotsBaseClass::StatusChanged(), and StopMonitoring().

Referenced by TGo4Display::DisplayLog().

void TGo4GUIRegistry::RegisterDependentClass TGo4SlotsBaseClass  ,
const char *   
 

void TGo4GUIRegistry::SubmitCommand const char *    name
 

send command specified by name to the current client task.

Definition at line 290 of file TGo4GUIRegistry.cxx.

References fxTGo4Display, and TGo4Master::SubmitCommand().

Referenced by TGo4RemoteBrowserSlots::ChangeProtectionsRemoteObj(), TGo4MainWindow::closeEvent(), TGo4CreateNewHistogramSlots::CreateRemoteHis(), TGo4QPicItem::DrawSubPic(), TGo4QRootCanvas::dropEvent(), TGo4AnalysisConfigurationSlots::GetActiveConf(), TGo4ScriptSlots::GetCondition(), TGo4ScriptSlots::GetObject(), TGo4AdvancedUserWidgetSlots::GetObjectAction(), TGo4QTHItem::GetOnlineObj(), TGo4QPicItem::GetOnlineObj(), TGo4QCanvasItem::GetOnlineObj(), TGo4QTHItem::GetRemoteObj(), TGo4QPicItem::GetRemoteObj(), TGo4QCanvasItem::GetRemoteObj(), TGo4AnalysisWindow::HistActivated(), TGo4QTHItem::ItemDBkRemote(), TGo4QParaItem::ItemDBkRemote(), TGo4QDynEntryItem::ItemDBkRemote(), TGo4QConItem::ItemDBkRemote(), TGo4AnalysisConfigurationSlots::LoadConfFile(), TGo4RemoteBrowserSlots::Refresh(), TGo4TreeViewerSlots::RemoteTreeDraw(), TGo4MainWindow::RemoveClientSlot(), TGo4RemoteBrowserSlots::RemoveObjectFromAnalysis(), TGo4RemoteBrowserSlots::ResetRemoteObj(), TGo4MonitoredListSlots::ResetRemoteObj(), TGo4BrowserSlots::ResetRemoteObj(), TGo4MainWindow::RestartAnalysisSlot(), TGo4AnalysisConfigurationSlots::SaveConfFile(), TGo4QPicItem::ScanPictureForObjRef(), TGo4ParaEditSlots::SendApplyCommand(), TGo4EditDynEntrySlots::SendApplyCommand(), TGo4ConditionInfoSlots::SendConditionEditCommand(), TGo4ConditionInfoSlots::SendConditionInfoCommand(), TGo4ConditionInfoSlots::SendConditionPrintCommand(), TGo4EditDynEntrySlots::SendDynListPrintCommand(), TGo4EventInfoSlots::SendGetCurrentEventCommand(), TGo4EditDynEntrySlots::SendHistogramClearCommand(), TGo4HistogramInfoSlots::SendHistogramInfoCommand(), TGo4HistogramInfoSlots::SendHistogramPrintCommand(), TGo4EditDynEntrySlots::SendHistogramPrintCommand(), TGo4HistogramInfoSlots::SendHistogramRequestCommand(), TGo4EditDynEntrySlots::SendNewConditionCommand(), TGo4WindowEditSlots::SendRefreshCommand(), TGo4ParaEditSlots::SendRefreshCommand(), TGo4EditDynEntrySlots::SendRefreshCommand(), TGo4EditDynEntrySlots::SendResetBackStoreCommand(), TGo4EditDynEntrySlots::SendSetDynListIntervalCommand(), TGo4EventInfoSlots::SendSetPrintEventCommand(), TGo4WindowEditSlots::SendUpdateCommand(), TGo4MainWindow::ShutdownSlaveSlot(), TGo4MainWindow::StartAnalysisSlot(), TGo4StartClientSlots::StartClient(), TGo4MainWindow::StopAnalysisSlot(), TGo4AnalysisConfigurationSlots::SubmitConfiguration(), and TGo4AnalysisConfigurationSlots::WriteAutoSave().

TGo4Command * TGo4GUIRegistry::MakeCommand const char *    name
 

Method using internal command prototype list to produce a clone of the specified command.

Definition at line 334 of file TGo4GUIRegistry.cxx.

References fxTGo4Display, TGo4TaskOwner::GetTask(), and TGo4Task::MakeCommand().

void TGo4GUIRegistry::SubmitCommand TGo4Command   com,
const char *    ObjectName = 0,
TGo4SlotsBaseClass   p = 0,
Bool_t    Monitor = kFALSE,
TQRootCanvas   c = 0,
TPad *    pad = 0
 

send given command to the current client task.

TGo4Command* com: The Command to be Submitted

const char * ObjectName=0 : Name of this Command

TGo4SlotsBaseClass *p=0: Slots Class which will recieve the result of this command

bool Monitor=kFALSE : flag t indicate if this command should be send once or continously

TQRootCanvas *c=0 : The canvas which will be used to draw the results of this command (if any)

TPad *pad=0 : The Pad which will be used to draw the results of this command (if any)

Definition at line 305 of file TGo4GUIRegistry.cxx.

References FindCmdEntry(), fxTGo4Display, TGo4SubmittedCommandsEntry::SetNewReciever(), and TGo4Master::SubmitCommand().

void TGo4GUIRegistry::SubmitCommand const char *    name,
TGo4SlotsBaseClass   p
 

Definition at line 296 of file TGo4GUIRegistry.cxx.

References FindCmdEntry(), fxTGo4Display, TGo4SubmittedCommandsEntry::SetNewReciever(), and TGo4Master::SubmitCommand().

void TGo4GUIRegistry::SubmitEmergencyCommand Int_t    val
 

Definition at line 284 of file TGo4GUIRegistry.cxx.

References fxTGo4Display, Go4EmergencyCommand_t, and TGo4Master::SubmitEmergencyCommand().

Referenced by TGo4MainWindow::KillAnalysisSlot().

void TGo4GUIRegistry::ReDirectObject const char *    ObjectName,
TGo4SlotsBaseClass   p = 0,
bool    Monitor = kTRUE,
TQRootCanvas   c = 0,
TPad *    pad = 0
 

This can be used to redirect any object send from the analysis to the GUI,.

if this method is called more than once with the same object name but different

receivers or canvases, then new entries will be generated in the registry and the

remote object will be delivered to the different receivers or canvases.

Definition at line 323 of file TGo4GUIRegistry.cxx.

References FindCmdEntry(), fxTGo4Display, and TGo4SubmittedCommandsEntry::SetNewReciever().

void TGo4GUIRegistry::RegisterSlotClass TGo4SlotsBaseClass   p,
TGo4Status   s,
QWidget *    GUI = 0
 

Definition at line 203 of file TGo4GUIRegistry.cxx.

References DependenceList, n, p, TGo4DependentStatusList::SetStatusClass(), and SlotClassList.

Referenced by TGo4AdvancedUserWidgetSlots::TGo4AdvancedUserWidgetSlots(), TGo4AnalysisConfigurationSlots::TGo4AnalysisConfigurationSlots(), TGo4AnalysisStatusMonitorSlots::TGo4AnalysisStatusMonitorSlots(), TGo4BrowserSlots::TGo4BrowserSlots(), TGo4ConditionInfoSlots::TGo4ConditionInfoSlots(), TGo4CreateNewHistogramSlots::TGo4CreateNewHistogramSlots(), TGo4DiskFileBrowserSlots::TGo4DiskFileBrowserSlots(), TGo4EditDynEntrySlots::TGo4EditDynEntrySlots(), TGo4EventInfoSlots::TGo4EventInfoSlots(), TGo4FitPanelSlots::TGo4FitPanelSlots(), TGo4HistogramInfoSlots::TGo4HistogramInfoSlots(), TGo4LoadedLibrariesSlots::TGo4LoadedLibrariesSlots(), TGo4LogInfoSlots::TGo4LogInfoSlots(), TGo4MonitoredListSlots::TGo4MonitoredListSlots(), TGo4ParaEditSlots::TGo4ParaEditSlots(), TGo4PreviewPanelSlots::TGo4PreviewPanelSlots(), TGo4RemoteBrowserSlots::TGo4RemoteBrowserSlots(), TGo4ScriptSlots::TGo4ScriptSlots(), TGo4StartClientSlots::TGo4StartClientSlots(), TGo4TreeViewerSlots::TGo4TreeViewerSlots(), and TGo4WindowEditSlots::TGo4WindowEditSlots().

TGo4SlotsBaseClass * TGo4GUIRegistry::GetSlotClass const char *    name
 

Definition at line 143 of file TGo4GUIRegistry.cxx.

References TGo4RegisteredSlotsList::GetSlotClass(), and SlotClassList.

Referenced by TGo4QCanvasItem::AddHistosToMemBrowser(), TGo4WindowEditSlots::AddObject(), TGo4HistogramInfoSlots::AddObject(), TGo4ScriptSlots::AnalysisAutoSave(), TGo4ScriptSlots::AnalysisConfigName(), TGo4MainWindow::AnalysisConfigSlot(), TGo4MainWindow::AnalysisStatusSlot(), TGo4MainWindow::CheckHistogram(), TGo4MainWindow::CloseAllFilesSlot(), TGo4MainWindow::CloseFileSlot(), TGo4MainWindow::ConditionEditSlot(), TGo4MainWindow::ConditionInfoSlot(), TGo4ScriptSlots::ConnectAnalysis(), TGo4MainWindow::CreateGUIScriptSlot(), TGo4CreateNewHistogramSlots::CreateLocalHist(), TGo4MainWindow::CreateNewHist(), TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), TGo4QGraphItem::DrawObj(), TGo4QPicItem::DrawSubPic(), TGo4MainWindow::EventInfoSlot(), TGo4ScriptSlots::execGUICommands(), TGo4MainWindow::ExportSelectedObjectsSlot(), TGo4FitPanelSlots::Fitter_SaveToBrowser(), TGo4ScriptSlots::GenerateStartupScript(), TGo4FitPanelSlots::GetDropedObject(), TGo4QDynEntryItem::GetDynEditor(), TGo4QConItem::GetEditor(), TGo4QTHItem::GetOnlineObj(), TGo4QPicItem::GetOnlineObj(), TGo4QCanvasItem::GetOnlineObj(), TGo4QParaItem::GetParaEditor(), GetSlotClass(), TGo4ScriptSlots::GetStepGUI(), TGo4MainWindow::HistogramInfoSlot(), TGo4MainWindow::HotStart(), TGo4PreviewPanelSlots::InformUpdatePad(), TGo4ScriptSlots::LaunchAnalysis(), TGo4MainWindow::LoadLibrarySlot(), TGo4ScriptSlots::MonitorObject(), TGo4RemoteBrowserSlots::MonitorRemoteObj(), TGo4ScriptSlots::OpenFile(), TGo4MainWindow::OpenFileSlot(), TGo4MainWindow::OpenRemoteFileSlot(), TGo4MainWindow::SaveFileSlot(), TGo4QPicItem::ScanPictureForObjRef(), TGo4ConditionInfoSlots::SendConditionEditCommand(), TGo4MonitoredListSlots::SendToLocalList(), TGo4ScriptSlots::SetAnalysisConfigMode(), TGo4MainWindow::ShutdownSlaveSlot(), TGo4MainWindow::StartAnalysisSlot(), TGo4MainWindow::StartDynEditor(), TGo4MainWindow::StartGUIScriptSlot(), TGo4ScriptSlots::StartMonitor(), TGo4MainWindow::StartParaEdit(), TGo4MainWindow::StopGUIScriptSlot(), TGo4ScriptSlots::StopMonitor(), TGo4MainWindow::StopMonitoring(), TGo4ScriptSlots::SubmitAnalysisConfig(), TGo4MainWindow::SubmitStartAnalysisSlot(), TGo4AnalysisWindow::Terminate(), TGo4TreeViewerSlots::TreeDraw(), TGo4QItem::UpdateOnline(), TGo4QCanvasItem::UpdateOnline(), and TGo4MainWindow::ViewPanelSlot().

TGo4SlotsBaseClass * TGo4GUIRegistry::GetSlotClass TGo4SlotsBaseClass   SlotClass
 

Definition at line 154 of file TGo4GUIRegistry.cxx.

References GetSlotClass().

TGo4Status * TGo4GUIRegistry::GetStatus const char *    name
 

Definition at line 127 of file TGo4GUIRegistry.cxx.

References TGo4RegisteredSlotsList::GetStatusClass(), n, and SlotClassList.

Referenced by TGo4FitPanelSlots::GetDropedObject().

QWidget * TGo4GUIRegistry::GetGUIClass TGo4SlotsBaseClass   SlotClass
 

Definition at line 160 of file TGo4GUIRegistry.cxx.

References TGo4RegisteredSlotsList::GetGUI(), and SlotClassList.

Referenced by TGo4ScriptSlots::AnalysisAutoSave(), TGo4ScriptSlots::AnalysisConfigName(), TGo4MainWindow::AnalysisConfigSlot(), TGo4MainWindow::AnalysisStatusSlot(), TGo4MainWindow::CloseAllFilesSlot(), TGo4MainWindow::CloseFileSlot(), TGo4MainWindow::ConditionEditSlot(), TGo4MainWindow::ConditionInfoSlot(), TGo4MainWindow::CreateNewHist(), TGo4MainWindow::EventInfoSlot(), TGo4MainWindow::ExportSelectedObjectsSlot(), TGo4ScriptSlots::GenerateStartupScript(), TGo4ScriptSlots::GetStepGUI(), TGo4MainWindow::HistogramInfoSlot(), TGo4MainWindow::LoadLibrarySlot(), TGo4MainWindow::OpenFileSlot(), TGo4MainWindow::OpenRemoteFileSlot(), TGo4MainWindow::SaveFileSlot(), TGo4ScriptSlots::SetAnalysisConfigMode(), TGo4MainWindow::StartDynEditor(), TGo4ScriptSlots::StartMonitor(), TGo4MainWindow::StartParaEdit(), TGo4ScriptSlots::StopMonitor(), and TGo4TreeViewerSlots::TreeDraw().

void TGo4GUIRegistry::SetMainWindow QWidget *    widget
 

Definition at line 175 of file TGo4GUIRegistry.cxx.

References fxMainWindow.

Referenced by TGo4MainWindow::TGo4MainWindow().

QWidget * TGo4GUIRegistry::GetMainWindow  
 

Definition at line 169 of file TGo4GUIRegistry.cxx.

References fxMainWindow.

Referenced by TGo4WindowEditSlots::AddObject(), TGo4HistogramInfoSlots::AddObject(), TGo4QItem::AssignDrawPanel(), TGo4TreeViewerSlots::BuildVarExp(), TGo4FitPanelSlots::Button_FitterDraw(), TGo4ScriptSlots::DisconnectAnalysis(), TGo4ScriptSlots::DisplayObj(), TGo4ScriptSlots::execGUICommands(), TGo4ScriptSlots::GenerateStartupScript(), TGo4QFitterItem::GetFitPanel(), TGo4QItem::IsKeepScale(), TGo4QItem::IsLogYScale(), TGo4QLeafItem::ItemDBkLocal(), TGo4QCanvasItem::ItemDBkLocal(), TGo4ScriptSlots::MonitorObject(), TGo4RemoteBrowserSlots::MonitorRemoteObj(), TGo4AnalysisWindow::PrintEvent(), TGo4TreeViewerSlots::RemoteTreeDraw(), TGo4ScriptSlots::SetActivePad(), TGo4ScriptSlots::SetAnalysisTerminalMode(), TGo4QItem::SetKeepScale(), TGo4ScriptSlots::StartAnalysis(), TGo4StartClientSlots::StartClient(), TGo4ScriptSlots::StartViewPanel(), TGo4AnalysisConfigurationSlots::StatusChanged(), TGo4ScriptSlots::StopAnalysis(), TGo4AnalysisConfigurationSlots::SubmitConfiguration(), TGo4ScriptSlots::SuperImpose(), TGo4AnalysisWindow::Terminate(), TGo4BrowserSlots::TGo4BrowserSlots(), TGo4DiskFileBrowserSlots::TGo4DiskFileBrowserSlots(), TGo4MonitoredListSlots::TGo4MonitoredListSlots(), TGo4WindowEditSlots::TGo4WindowEditSlots(), TGo4TreeViewerSlots::TreeDraw(), TGo4QItem::UpdateDrawPad(), TGo4Display::~TGo4Display(), and TGo4WindowEditSlots::~TGo4WindowEditSlots().

void TGo4GUIRegistry::SetCentralWindow QWidget *    widget
 

Definition at line 187 of file TGo4GUIRegistry.cxx.

References fxCentralWindow.

Referenced by TGo4MainWindow::TGo4MainWindow().

QWidget * TGo4GUIRegistry::GetCentralWindow  
 

Definition at line 181 of file TGo4GUIRegistry.cxx.

References fxCentralWindow.

Referenced by TGo4WindowEditSlots::AddObject(), TGo4ParaEditSlots::AddObject(), TGo4EditDynEntrySlots::AddObject(), TGo4FitPanelSlots::Button_WorkWithPanel(), TGo4MainWindow::ConditionEditSlot(), TGo4MainWindow::ConditionInfoSlot(), TGo4MainWindow::CreateNewHist(), TGo4MainWindow::EventInfoSlot(), TGo4FitPanelSlots::ExecutePopupForSlot(), TGo4FitPanelSlots::FillPopupForSlot(), TGo4FitPanelSlots::Fitter_MoveCopy(), TGo4FitPanelSlots::Fitter_NewForActivePad(), TGo4ScriptSlots::GenerateStartupScript(), TGo4MainWindow::HistogramInfoSlot(), TGo4ScriptSlots::SetViewPanelPosition(), TGo4MainWindow::StartDynEditor(), TGo4MainWindow::StartParaEdit(), and TGo4MainWindow::startUserGUI().

void TGo4GUIRegistry::GuiIsChanged TGo4SlotsBaseClass   SlotClass,
QWidget *    GUI
 

Definition at line 193 of file TGo4GUIRegistry.cxx.

References TGo4RegisteredSlotsList::SetGUI(), and SlotClassList.

Referenced by TGo4TreeViewerSlots::SetGUI(), TGo4StartClientSlots::SetGUI(), TGo4ScriptSlots::SetGUI(), TGo4RemoteBrowserSlots::SetGUI(), TGo4PreviewPanelSlots::SetGUI(), TGo4MonitoredListSlots::SetGUI(), TGo4LogInfoSlots::SetGUI(), TGo4LoadedLibrariesSlots::SetGUI(), TGo4DiskFileBrowserSlots::SetGUI(), TGo4CreateNewHistogramSlots::SetGUI(), TGo4BrowserSlots::SetGUI(), TGo4AnalysisStatusMonitorSlots::SetGUI(), and TGo4AnalysisConfigurationSlots::SetGUI().

void TGo4GUIRegistry::UnRegisterDependentClass TGo4SlotsBaseClass   p,
const char *    name
 

Definition at line 115 of file TGo4GUIRegistry.cxx.

References DependenceList, n, p, and TGo4DependentStatusList::SlotClass().

void TGo4GUIRegistry::UpdateDependents TGo4Status   s
 

Definition at line 104 of file TGo4GUIRegistry.cxx.

References DependenceList, n, TGo4DependentStatusList::SlotClass(), TGo4SlotsBaseClass::StatusChanged(), and TGo4DependentStatusList::StatusClass().

void TGo4GUIRegistry::SetDisplay TGo4Display  
 

Definition at line 344 of file TGo4GUIRegistry.cxx.

References fxTGo4Display.

Referenced by TGo4Display::TGo4Display().

TGo4Display* TGo4GUIRegistry::GetDisplay   const [inline]
 

Definition at line 134 of file TGo4GUIRegistry.h.

References fxTGo4Display.

Referenced by TGo4MainWindow::AddAnalysisBar(), TGo4MainWindow::AddAnalysisMenu(), TGo4ScriptSlots::execGUICommands(), TGo4ScriptSlots::GenerateStartupScript(), TGo4ScriptSlots::IsAnalysisReady(), TGo4MainWindow::launchClientSlot(), TGo4MainWindow::RemoveClientSlot(), TGo4MainWindow::ShutdownSlaveSlot(), and TGo4StartClientSlots::StartClient().

void TGo4GUIRegistry::SetDisplayAnalysisConfig TGo4SlotsBaseClass   p
 

Definition at line 350 of file TGo4GUIRegistry.cxx.

References fxDisplayAnalysisConfig.

Referenced by TGo4AnalysisConfigurationSlots::TGo4AnalysisConfigurationSlots().

void TGo4GUIRegistry::RemoveFromSubmittedList const char *    Name
 

this will remove the all entries of submitted commands of the Object "Name" from the registry.

Definition at line 414 of file TGo4GUIRegistry.cxx.

References FindCmdEntry().

Referenced by TGo4MonitoredListSlots::DeleteItem(), DisplayData(), RemoveFromSubmittedList(), and RemoveRedirectEntry().

void TGo4GUIRegistry::RemoveFromSubmittedList const char *    Name,
TGo4SlotsBaseClass   p
 

this will remove the all entries of submitted commands of the Object "Name" having "p" as reciver from the registry.

Definition at line 429 of file TGo4GUIRegistry.cxx.

References FindCmdEntry(), TGo4SubmittedCommandsEntry::NoOfRecv(), RemoveFromSubmittedList(), and TGo4SubmittedCommandsEntry::RemoveSlotEntries().

void TGo4GUIRegistry::RemoveFromSubmittedList const char *    Name,
TQRootCanvas   c
 

this will remove the all entries of submitted commands of the Object "Name" having "c" as reciver from the registry.

Definition at line 441 of file TGo4GUIRegistry.cxx.

References FindCmdEntry(), TGo4SubmittedCommandsEntry::RemoveCanvasEntries(), and RemoveFromSubmittedList().

void TGo4GUIRegistry::RemoveRedirectEntry const char *    Name
 

this will remove the all redirections of the Object "Name" from the registry.

Definition at line 452 of file TGo4GUIRegistry.cxx.

References RemoveFromSubmittedList().

void TGo4GUIRegistry::RemoveRedirectEntry const char *    Name,
TGo4SlotsBaseClass   p
 

this will remove the all redirections to the receiver "p".

Definition at line 457 of file TGo4GUIRegistry.cxx.

References RemoveFromSubmittedList().

void TGo4GUIRegistry::RemoveRedirectEntry const char *    Name,
TQRootCanvas   c
 

this will remove the all redirections to the receiver "c".

Definition at line 462 of file TGo4GUIRegistry.cxx.

References RemoveFromSubmittedList().

void TGo4GUIRegistry::UnRegisterClass TGo4SlotsBaseClass   p,
TGo4Status   s
 

Definition at line 71 of file TGo4GUIRegistry.cxx.

References DependenceList, n, TGo4SubmittedCommandsEntry::NoOfRecv(), p, TGo4SubmittedCommandsEntry::RemoveSlotEntries(), TGo4DependentStatusList::SlotClass(), SlotClassList, and SubmittedCommandsList.

Referenced by TGo4FitPanelSlots::~TGo4FitPanelSlots().

void TGo4GUIRegistry::StartAnalysisWindow const char *    text
 

Set the Monitor to which the log display will be directed.

Definition at line 487 of file TGo4GUIRegistry.cxx.

References TGo4MainWindow::ShowAnylsisOutput().

Referenced by TGo4Display::StartSlaveWindow().

void TGo4GUIRegistry::SetMasterMode Int_t    role
 

Change appereance of gui according to role.

Definition at line 498 of file TGo4GUIRegistry.cxx.

References TGo4MainWindow::SetMasterMode().

Referenced by TGo4Display::DisconnectSlave(), and DisplayLog().

void TGo4GUIRegistry::StopMonitoring  
 

Stop monitoring list and clear remote browser.

Needed to reset gui in case of disconnect.

Definition at line 504 of file TGo4GUIRegistry.cxx.

References TGo4BufferQueue::Clear(), fxTGo4Display, TGo4Task::GetCommandQueue(), TGo4TaskOwner::GetTask(), and TGo4MainWindow::StopMonitoring().

Referenced by TGo4Display::DisconnectSlave(), and DisplayLog().

Bool_t TGo4GUIRegistry::IsAnalysisReady   const [inline]
 

Definition at line 172 of file TGo4GUIRegistry.h.

References fbAnalysisReady.

Referenced by TGo4ScriptSlots::GenerateStartupScript(), and TGo4ScriptSlots::IsAnalysisReady().

void TGo4GUIRegistry::SetAnalysisReady Bool_t    on = kTRUE [inline]
 

Definition at line 173 of file TGo4GUIRegistry.h.

References fbAnalysisReady.

Referenced by DisplayLog(), TGo4MainWindow::RemoveClientSlot(), TGo4MainWindow::ShutdownSlaveSlot(), and TGo4StartClientSlots::StartClient().

Bool_t TGo4GUIRegistry::IsAnaSettingsReady   const [inline]
 

Definition at line 175 of file TGo4GUIRegistry.h.

References fbAnaSettingsReady.

Referenced by TGo4ScriptSlots::execGUICommands(), and TGo4ScriptSlots::GenerateStartupScript().

void TGo4GUIRegistry::SetAnaSettingsReady Bool_t    on = kTRUE [inline]
 

Definition at line 176 of file TGo4GUIRegistry.h.

References fbAnaSettingsReady.

Referenced by DisplayLog(), TGo4ScriptSlots::SubmitAnalysisConfig(), and TGo4AnalysisConfigurationSlots::SubmitConfiguration().

void TGo4GUIRegistry::SetClientNode const char *    host [inline]
 

Definition at line 178 of file TGo4GUIRegistry.h.

References fxClientHost.

Referenced by TGo4Display::SetSlave().

const char* TGo4GUIRegistry::GetClientNode   [inline]
 

Definition at line 179 of file TGo4GUIRegistry.h.

References fxClientHost.

Referenced by TGo4AnalysisWindow::Terminate().

void TGo4GUIRegistry::SetClientShell const Text_t *    txt [inline]
 

Definition at line 181 of file TGo4GUIRegistry.h.

References fxClientShell.

Referenced by TGo4Display::SetSlave().

const char* TGo4GUIRegistry::GetClientShell   [inline]
 

Definition at line 182 of file TGo4GUIRegistry.h.

References fxClientShell.

Referenced by TGo4AnalysisWindow::Terminate().

void TGo4GUIRegistry::SetClientProgram const Text_t *    exec [inline]
 

Definition at line 184 of file TGo4GUIRegistry.h.

References fxClientProgram.

Referenced by TGo4Display::SetSlave().

const char* TGo4GUIRegistry::GetClientProgram   [inline]
 

Definition at line 185 of file TGo4GUIRegistry.h.

References fxClientProgram.

Referenced by TGo4AnalysisWindow::Terminate().

void TGo4GUIRegistry::SetClientPassword const Text_t *    passwd [inline]
 

Definition at line 187 of file TGo4GUIRegistry.h.

References fxClientPassword.

const char* TGo4GUIRegistry::GetClientPassword   [inline]
 

Definition at line 188 of file TGo4GUIRegistry.h.

References fxClientPassword.

void TGo4GUIRegistry::SetClientRole Int_t    role [inline]
 

Definition at line 190 of file TGo4GUIRegistry.h.

References fiClientRole.

Int_t TGo4GUIRegistry::GetClientRole   [inline]
 

Definition at line 191 of file TGo4GUIRegistry.h.

References fiClientRole.

TGo4SubmittedCommandsEntry * TGo4GUIRegistry::FindCmdEntry const char *    name,
Bool_t    force = kFALSE
[private]
 

Definition at line 225 of file TGo4GUIRegistry.cxx.

References SubmittedCommandsList.

Referenced by DisplayData(), ReDirectObject(), RemoveFromSubmittedList(), and SubmitCommand().

void TGo4GUIRegistry::RemoveFromSubmittedList TGo4SubmittedCommandsEntry   Entry [private]
 

Definition at line 419 of file TGo4GUIRegistry.cxx.

References SubmittedCommandsList.


Member Data Documentation

TGo4GUIRegistry * TGo4GUIRegistry::fxInstance = 0 [static, private]
 

Definition at line 36 of file TGo4GUIRegistry.cxx.

Referenced by Instance().

TObjArray TGo4GUIRegistry::SlotClassList [private]
 

Definition at line 208 of file TGo4GUIRegistry.h.

Referenced by GetGUIClass(), GetSlotClass(), GetStatus(), GuiIsChanged(), RegisterSlotClass(), TGo4GUIRegistry(), and UnRegisterClass().

TObjArray TGo4GUIRegistry::DependenceList [private]
 

Definition at line 210 of file TGo4GUIRegistry.h.

Referenced by RegisterSlotClass(), TGo4GUIRegistry(), UnRegisterClass(), UnRegisterDependentClass(), and UpdateDependents().

TObjArray TGo4GUIRegistry::SubmittedCommandsList [private]
 

Definition at line 212 of file TGo4GUIRegistry.h.

Referenced by FindCmdEntry(), RemoveFromSubmittedList(), TGo4GUIRegistry(), and UnRegisterClass().

TGo4SlotsBaseClass* TGo4GUIRegistry::fxDisplayStatusMonitor [private]
 

Definition at line 214 of file TGo4GUIRegistry.h.

Referenced by DisplayLog(), SetDisplayStatusMonitor(), and TGo4GUIRegistry().

TGo4SlotsBaseClass* TGo4GUIRegistry::fxDisplayAnalysisConfig [private]
 

Definition at line 215 of file TGo4GUIRegistry.h.

Referenced by DisplayLog(), SetDisplayAnalysisConfig(), and TGo4GUIRegistry().

TGo4SlotsBaseClass* TGo4GUIRegistry::fxLogInfo [private]
 

Definition at line 216 of file TGo4GUIRegistry.h.

Referenced by DisplayLog(), SetLogInfo(), and TGo4GUIRegistry().

TGo4SlotsBaseClass* TGo4GUIRegistry::fxMemBrowser [private]
 

Definition at line 217 of file TGo4GUIRegistry.h.

Referenced by DisplayData(), SetMemoryBrowser(), and TGo4GUIRegistry().

TGo4Display* TGo4GUIRegistry::fxTGo4Display [private]
 

Definition at line 219 of file TGo4GUIRegistry.h.

Referenced by GetDisplay(), MakeCommand(), ReDirectObject(), SetDisplay(), StopMonitoring(), SubmitCommand(), SubmitEmergencyCommand(), and TGo4GUIRegistry().

QWidget* TGo4GUIRegistry::fxMainWindow [private]
 

Definition at line 221 of file TGo4GUIRegistry.h.

Referenced by GetMainWindow(), SetMainWindow(), and TGo4GUIRegistry().

QWidget* TGo4GUIRegistry::fxCentralWindow [private]
 

Definition at line 222 of file TGo4GUIRegistry.h.

Referenced by GetCentralWindow(), SetCentralWindow(), and TGo4GUIRegistry().

Bool_t TGo4GUIRegistry::fbAnalysisReady [private]
 

This flag indicates if analysis client is connected and ready.

Definition at line 225 of file TGo4GUIRegistry.h.

Referenced by IsAnalysisReady(), SetAnalysisReady(), and TGo4GUIRegistry().

Bool_t TGo4GUIRegistry::fbAnaSettingsReady [private]
 

This flag indicates if analysis settings were initialized.

Definition at line 228 of file TGo4GUIRegistry.h.

Referenced by IsAnaSettingsReady(), SetAnaSettingsReady(), and TGo4GUIRegistry().

TString TGo4GUIRegistry::fxClientHost [private]
 

remember nodename of the started analysis client.

Definition at line 231 of file TGo4GUIRegistry.h.

Referenced by GetClientNode(), and SetClientNode().

TString TGo4GUIRegistry::fxClientShell [private]
 

remember shell command used for starting analysis client.

Definition at line 234 of file TGo4GUIRegistry.h.

Referenced by GetClientShell(), and SetClientShell().

TString TGo4GUIRegistry::fxClientProgram [private]
 

remember program name of analysis client.

Definition at line 237 of file TGo4GUIRegistry.h.

Referenced by GetClientProgram(), and SetClientProgram().

TString TGo4GUIRegistry::fxClientPassword [private]
 

remember password of last login to nalysis client.

Definition at line 240 of file TGo4GUIRegistry.h.

Referenced by GetClientPassword(), and SetClientPassword().

Int_t TGo4GUIRegistry::fiClientRole [private]
 

Set the role of last login.

Definition at line 243 of file TGo4GUIRegistry.h.

Referenced by GetClientRole(), SetClientRole(), and TGo4GUIRegistry().


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