#include <TGo4GUIRegistry.h>
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... | |
TGo4Command * | MakeCommand (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) |
TGo4SlotsBaseClass * | GetSlotClass (const char *name) |
TGo4SlotsBaseClass * | GetSlotClass (TGo4SlotsBaseClass *SlotClass) |
TGo4Status * | GetStatus (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 *) |
TGo4Display * | GetDisplay () 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 | |
TGo4SubmittedCommandsEntry * | FindCmdEntry (const char *name, Bool_t force=kFALSE) |
void | RemoveFromSubmittedList (TGo4SubmittedCommandsEntry *Entry) |
Private Attributes | |
TObjArray | SlotClassList |
TObjArray | DependenceList |
TObjArray | SubmittedCommandsList |
TGo4SlotsBaseClass * | fxDisplayStatusMonitor |
TGo4SlotsBaseClass * | fxDisplayAnalysisConfig |
TGo4SlotsBaseClass * | fxLogInfo |
TGo4SlotsBaseClass * | fxMemBrowser |
TGo4Display * | fxTGo4Display |
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... |
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
Definition at line 39 of file TGo4GUIRegistry.h.
|
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(). |
|
Definition at line 66 of file TGo4GUIRegistry.cxx. |
|
|
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(). |
|
Definition at line 467 of file TGo4GUIRegistry.cxx. References fxLogInfo. Referenced by TGo4LogInfoSlots::TGo4LogInfoSlots(). |
|
Definition at line 516 of file TGo4GUIRegistry.cxx. References fxMemBrowser. Referenced by TGo4BrowserSlots::TGo4BrowserSlots(). |
|
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(). |
|
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(). |
|
|
|
|
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(). |
|
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(). |
|
Definition at line 296 of file TGo4GUIRegistry.cxx. References FindCmdEntry(), fxTGo4Display, TGo4SubmittedCommandsEntry::SetNewReciever(), and TGo4Master::SubmitCommand(). |
|
Definition at line 284 of file TGo4GUIRegistry.cxx. References fxTGo4Display, Go4EmergencyCommand_t, and TGo4Master::SubmitEmergencyCommand(). Referenced by TGo4MainWindow::KillAnalysisSlot(). |
|
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(). |
|
|
|
Definition at line 154 of file TGo4GUIRegistry.cxx. References GetSlotClass(). |
|
Definition at line 127 of file TGo4GUIRegistry.cxx. References TGo4RegisteredSlotsList::GetStatusClass(), n, and SlotClassList. Referenced by TGo4FitPanelSlots::GetDropedObject(). |
|
|
Definition at line 175 of file TGo4GUIRegistry.cxx. References fxMainWindow. Referenced by TGo4MainWindow::TGo4MainWindow(). |
|
|
Definition at line 187 of file TGo4GUIRegistry.cxx. References fxCentralWindow. Referenced by TGo4MainWindow::TGo4MainWindow(). |
|
|
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(). |
|
Definition at line 115 of file TGo4GUIRegistry.cxx. References DependenceList, n, p, and TGo4DependentStatusList::SlotClass(). |
|
Definition at line 104 of file TGo4GUIRegistry.cxx. References DependenceList, n, TGo4DependentStatusList::SlotClass(), TGo4SlotsBaseClass::StatusChanged(), and TGo4DependentStatusList::StatusClass(). |
|
Definition at line 344 of file TGo4GUIRegistry.cxx. References fxTGo4Display. Referenced by TGo4Display::TGo4Display(). |
|
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(). |
|
Definition at line 350 of file TGo4GUIRegistry.cxx. References fxDisplayAnalysisConfig. Referenced by TGo4AnalysisConfigurationSlots::TGo4AnalysisConfigurationSlots(). |
|
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(). |
|
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(). |
|
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(). |
|
this will remove the all redirections of the Object "Name" from the registry.
Definition at line 452 of file TGo4GUIRegistry.cxx. References RemoveFromSubmittedList(). |
|
this will remove the all redirections to the receiver "p".
Definition at line 457 of file TGo4GUIRegistry.cxx. References RemoveFromSubmittedList(). |
|
this will remove the all redirections to the receiver "c".
Definition at line 462 of file TGo4GUIRegistry.cxx. References RemoveFromSubmittedList(). |
|
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(). |
|
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(). |
|
Change appereance of gui according to role.
Definition at line 498 of file TGo4GUIRegistry.cxx. References TGo4MainWindow::SetMasterMode(). Referenced by TGo4Display::DisconnectSlave(), and DisplayLog(). |
|
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(). |
|
Definition at line 172 of file TGo4GUIRegistry.h. References fbAnalysisReady. Referenced by TGo4ScriptSlots::GenerateStartupScript(), and TGo4ScriptSlots::IsAnalysisReady(). |
|
Definition at line 173 of file TGo4GUIRegistry.h. References fbAnalysisReady. Referenced by DisplayLog(), TGo4MainWindow::RemoveClientSlot(), TGo4MainWindow::ShutdownSlaveSlot(), and TGo4StartClientSlots::StartClient(). |
|
Definition at line 175 of file TGo4GUIRegistry.h. References fbAnaSettingsReady. Referenced by TGo4ScriptSlots::execGUICommands(), and TGo4ScriptSlots::GenerateStartupScript(). |
|
Definition at line 176 of file TGo4GUIRegistry.h. References fbAnaSettingsReady. Referenced by DisplayLog(), TGo4ScriptSlots::SubmitAnalysisConfig(), and TGo4AnalysisConfigurationSlots::SubmitConfiguration(). |
|
Definition at line 178 of file TGo4GUIRegistry.h. References fxClientHost. Referenced by TGo4Display::SetSlave(). |
|
Definition at line 179 of file TGo4GUIRegistry.h. References fxClientHost. Referenced by TGo4AnalysisWindow::Terminate(). |
|
Definition at line 181 of file TGo4GUIRegistry.h. References fxClientShell. Referenced by TGo4Display::SetSlave(). |
|
Definition at line 182 of file TGo4GUIRegistry.h. References fxClientShell. Referenced by TGo4AnalysisWindow::Terminate(). |
|
Definition at line 184 of file TGo4GUIRegistry.h. References fxClientProgram. Referenced by TGo4Display::SetSlave(). |
|
Definition at line 185 of file TGo4GUIRegistry.h. References fxClientProgram. Referenced by TGo4AnalysisWindow::Terminate(). |
|
Definition at line 187 of file TGo4GUIRegistry.h. References fxClientPassword. |
|
Definition at line 188 of file TGo4GUIRegistry.h. References fxClientPassword. |
|
Definition at line 190 of file TGo4GUIRegistry.h. References fiClientRole. |
|
Definition at line 191 of file TGo4GUIRegistry.h. References fiClientRole. |
|
Definition at line 225 of file TGo4GUIRegistry.cxx. References SubmittedCommandsList. Referenced by DisplayData(), ReDirectObject(), RemoveFromSubmittedList(), and SubmitCommand(). |
|
Definition at line 419 of file TGo4GUIRegistry.cxx. References SubmittedCommandsList. |
|
Definition at line 36 of file TGo4GUIRegistry.cxx. Referenced by Instance(). |
|
Definition at line 208 of file TGo4GUIRegistry.h. Referenced by GetGUIClass(), GetSlotClass(), GetStatus(), GuiIsChanged(), RegisterSlotClass(), TGo4GUIRegistry(), and UnRegisterClass(). |
|
Definition at line 210 of file TGo4GUIRegistry.h. Referenced by RegisterSlotClass(), TGo4GUIRegistry(), UnRegisterClass(), UnRegisterDependentClass(), and UpdateDependents(). |
|
Definition at line 212 of file TGo4GUIRegistry.h. Referenced by FindCmdEntry(), RemoveFromSubmittedList(), TGo4GUIRegistry(), and UnRegisterClass(). |
|
Definition at line 214 of file TGo4GUIRegistry.h. Referenced by DisplayLog(), SetDisplayStatusMonitor(), and TGo4GUIRegistry(). |
|
Definition at line 215 of file TGo4GUIRegistry.h. Referenced by DisplayLog(), SetDisplayAnalysisConfig(), and TGo4GUIRegistry(). |
|
Definition at line 216 of file TGo4GUIRegistry.h. Referenced by DisplayLog(), SetLogInfo(), and TGo4GUIRegistry(). |
|
Definition at line 217 of file TGo4GUIRegistry.h. Referenced by DisplayData(), SetMemoryBrowser(), and TGo4GUIRegistry(). |
|
Definition at line 219 of file TGo4GUIRegistry.h. Referenced by GetDisplay(), MakeCommand(), ReDirectObject(), SetDisplay(), StopMonitoring(), SubmitCommand(), SubmitEmergencyCommand(), and TGo4GUIRegistry(). |
|
Definition at line 221 of file TGo4GUIRegistry.h. Referenced by GetMainWindow(), SetMainWindow(), and TGo4GUIRegistry(). |
|
Definition at line 222 of file TGo4GUIRegistry.h. Referenced by GetCentralWindow(), SetCentralWindow(), and TGo4GUIRegistry(). |
|
This flag indicates if analysis client is connected and ready.
Definition at line 225 of file TGo4GUIRegistry.h. Referenced by IsAnalysisReady(), SetAnalysisReady(), and TGo4GUIRegistry(). |
|
This flag indicates if analysis settings were initialized.
Definition at line 228 of file TGo4GUIRegistry.h. Referenced by IsAnaSettingsReady(), SetAnaSettingsReady(), and TGo4GUIRegistry(). |
|
remember nodename of the started analysis client.
Definition at line 231 of file TGo4GUIRegistry.h. Referenced by GetClientNode(), and SetClientNode(). |
|
remember shell command used for starting analysis client.
Definition at line 234 of file TGo4GUIRegistry.h. Referenced by GetClientShell(), and SetClientShell(). |
|
remember program name of analysis client.
Definition at line 237 of file TGo4GUIRegistry.h. Referenced by GetClientProgram(), and SetClientProgram(). |
|
remember password of last login to nalysis client.
Definition at line 240 of file TGo4GUIRegistry.h. Referenced by GetClientPassword(), and SetClientPassword(). |
|
Set the role of last login.
Definition at line 243 of file TGo4GUIRegistry.h. Referenced by GetClientRole(), SetClientRole(), and TGo4GUIRegistry(). |