Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4AnalysisProxy Class Reference

#include <TGo4AnalysisProxy.h>

Inheritance diagram for TGo4AnalysisProxy:

TGo4Proxy List of all members.

Public Member Functions

 TGo4AnalysisProxy (Bool_t isserver=kFALSE)
virtual ~TGo4AnalysisProxy ()
virtual void Initialize (TGo4Slot *slot)
virtual void Finalize (TGo4Slot *slot)
virtual Bool_t HasSublevels () const
virtual TGo4LevelIterMakeIter ()
virtual TGo4AccessMakeProxy (const char *name)
virtual void WriteData (TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs)
virtual void ReadData (TGo4Slot *slot, TDirectory *dir)
virtual const char * GetContainedObjectInfo ()
virtual Int_t GetObjectKind ()
virtual const char * GetContainedClassName ()
virtual TObject * GetAssignedObject ()
virtual void Update (TGo4Slot *slot, Bool_t strong)
TGo4SlotParentSlot ()
TGo4SlotSettingsSlot ()
TGo4SlotRatemeterSlot ()
TGo4SlotLoginfoSlot ()
TGo4SlotUpdateObjectSlot ()
Bool_t IsAnalysisServer () const
Bool_t IsConnected ()
Int_t ConnectorPort ()
Int_t GetRole ()
Bool_t IsViewer ()
Bool_t IsController ()
Bool_t IsAdministrator ()
void SetAnalysisReady (Bool_t on=kTRUE)
Bool_t IsAnalysisReady () const
void SetAnalysisSettingsReady (Bool_t on=kTRUE)
Bool_t IsAnalysisSettingsReady () const
Bool_t IsAnalysisRunning () const
void RefreshNamesList ()
void DelayedRefreshNamesList (Int_t delay_sec)
Bool_t NamesListReceived ()
void ReceiveObject (TNamed *obj)
void ReceiveStatus (TGo4Status *status)
Bool_t SubmitProxy (TGo4AnalysisObjectAccess *proxy)
void LoadConfigFile (const char *fname)
void SaveConfigFile (const char *fname)
void WriteAutoSave (const char *fname, Int_t complevel, Bool_t overwrite)
void StartAnalysis ()
void StopAnalysis ()
void ExecuteLine (const char *line)
void RequestAnalysisSettings ()
void SubmitAnalysisSettings ()
void RequestObjectStatus (const char *objectname, TGo4Slot *tgtslot)
void RequestEventStatus (const char *evname, Bool_t astree, TGo4Slot *tgtslot)
void RemoteTreeDraw (const char *treename, const char *varexp, const char *cutcond, const char *hname)
void RemotePrintEvent (const char *evname, Int_t evnumber, Int_t subid, Bool_t ishex, Bool_t islong)
Bool_t UpdateAnalysisObject (const char *fullpath, TObject *obj)
void ClearAnalysisObject (const char *fullpath)
void ChageObjectProtection (const char *fullpath, const char *flags)
void RemoveObjectFromAnalysis (const char *fullpath, TClass *cl=0)
void PrintDynListEntry (const char *fullpath)
Bool_t LaunchAsClient (TString &launchcmd, TString &killcmd, Bool_t usessh, Int_t konsole, const char *name, const char *remotehost, const char *remotedir, const char *remoteexe)
Bool_t ConnectToServer (const char *remotehost, Int_t remoteport, Int_t ascontroller, const char *accesspass)
Bool_t WaitForConnection (Int_t seconds)
void DisconnectAnalysis (Int_t waittime=30, Bool_t servershutdown=kFALSE)
 Close connection to analysis and destroys proxy with correspondent slot.
void DisplayDeleted (TGo4Display *displ)
void DisplayDisconnected (TGo4Display *displ)
virtual Bool_t HandleTimer (TTimer *timer)

Static Public Member Functions

static Int_t NumberOfWaitingProxyes ()
static Bool_t LaunchAsServer (TString &launchcmd, TString &killcmd, Bool_t usessh, Int_t konsole, const char *name, const char *remotehost, const char *remotedir, const char *remoteexe)

Protected Member Functions

TGo4AnalysisObjectAccessFindSubmittedProxy (const char *pathname, const char *objname)
void DeleteSubmittedProxy (TGo4AnalysisObjectAccess *proxy)
void AssignNewNamesList (TGo4AnalysisObjectNames *objnames)
void CallSlotUpdate ()

Static Protected Member Functions

static Bool_t GetLaunchString (TString &launchcmd, TString &killcmd, Bool_t server, Bool_t usessh, Int_t konsole, const char *name, const char *remotehost, const char *remotedir, const char *remoteexe, Int_t guiport)

Protected Attributes

Bool_t fIsServer
TGo4AnalysisDummySlot * fDummySlot
TGo4AnalysisObjectNamesfAnalysisNames
TGo4SlotfxParentSlot
TObjArray fxSubmittedProxy
Bool_t fbNamesListReceived
Bool_t fbAnalysisReady
Bool_t fbAnalysisSettingsReady
Bool_t fbAnalysisRunning
Int_t fDisconectCounter
TGo4DisplayfxDisplay
TString fInfoStr
Int_t fActualRole
TTimer * fxRefreshTimer
TTimer * fxConnectionTimer

Static Protected Attributes

static Int_t fNumberOfWaitingProxyes = 0

Constructor & Destructor Documentation

TGo4AnalysisProxy::TGo4AnalysisProxy Bool_t  isserver = kFALSE  ) 
 

Definition at line 281 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4TaskOwner::GetTask(), and TGo4Display::SetAnalysis().

TGo4AnalysisProxy::~TGo4AnalysisProxy  )  [virtual]
 

Definition at line 305 of file TGo4AnalysisProxy.cxx.

References TGo4Log::Debug(), fAnalysisNames, fDisconectCounter, fNumberOfWaitingProxyes, fxConnectionTimer, fxDisplay, fxRefreshTimer, fxSubmittedProxy, TGo4Display::SetAnalysis(), and TGo4Master::SubmitCommand().


Member Function Documentation

void TGo4AnalysisProxy::Initialize TGo4Slot slot  )  [virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 330 of file TGo4AnalysisProxy.cxx.

References fxParentSlot, and TGo4Slot::SetProxy().

void TGo4AnalysisProxy::Finalize TGo4Slot slot  )  [virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 368 of file TGo4AnalysisProxy.cxx.

References TGo4Slot::DeleteChilds(), and fxParentSlot.

Bool_t TGo4AnalysisProxy::HasSublevels  )  const [virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 377 of file TGo4AnalysisProxy.cxx.

References fAnalysisNames.

TGo4LevelIter * TGo4AnalysisProxy::MakeIter  )  [virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 382 of file TGo4AnalysisProxy.cxx.

References fAnalysisNames, and TGo4AnalysisObjectNames::GetNamesFolder().

TGo4Access * TGo4AnalysisProxy::MakeProxy const char *  name  )  [virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 629 of file TGo4AnalysisProxy.cxx.

References cmdEnvelope, TGo4AnalysisLevelIter::EntryClassName(), fAnalysisNames, TGo4AnalysisObjectNames::GetNamesFolder(), and TGo4Slot::ProduceFolderAndName().

void TGo4AnalysisProxy::WriteData TGo4Slot slot,
TDirectory *  dir,
Bool_t  onlyobjs
[virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 389 of file TGo4AnalysisProxy.cxx.

void TGo4AnalysisProxy::ReadData TGo4Slot slot,
TDirectory *  dir
[virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 393 of file TGo4AnalysisProxy.cxx.

const char * TGo4AnalysisProxy::GetContainedObjectInfo  )  [virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 428 of file TGo4AnalysisProxy.cxx.

References fInfoStr, GetRole(), kGo4ComModeAdministrator, kGo4ComModeController, and kGo4ComModeObserver.

Referenced by TGo4MainWindow::UpdateCaptionButtons().

virtual Int_t TGo4AnalysisProxy::GetObjectKind  )  [inline, virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 50 of file TGo4AnalysisProxy.h.

References TGo4Access::kndFolder.

virtual const char* TGo4AnalysisProxy::GetContainedClassName  )  [inline, virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 51 of file TGo4AnalysisProxy.h.

virtual TObject* TGo4AnalysisProxy::GetAssignedObject  )  [inline, virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 52 of file TGo4AnalysisProxy.h.

void TGo4AnalysisProxy::Update TGo4Slot slot,
Bool_t  strong
[virtual]
 

Reimplemented from TGo4Proxy.

Definition at line 648 of file TGo4AnalysisProxy.cxx.

References RefreshNamesList().

TGo4Slot* TGo4AnalysisProxy::ParentSlot  )  [inline]
 

Definition at line 56 of file TGo4AnalysisProxy.h.

References fxParentSlot.

TGo4Slot * TGo4AnalysisProxy::SettingsSlot  ) 
 

Definition at line 347 of file TGo4AnalysisProxy.cxx.

References TGo4Slot::FindChild(), and fxParentSlot.

Referenced by TGo4Interface::GetAnalStatus(), ReceiveStatus(), and SubmitAnalysisSettings().

TGo4Slot * TGo4AnalysisProxy::RatemeterSlot  ) 
 

Definition at line 352 of file TGo4AnalysisProxy.cxx.

References TGo4Slot::FindChild(), and fxParentSlot.

Referenced by TGo4Interface::AddAnalysisProxy(), TGo4MainWindow::EstablishRatemeter(), and ReceiveStatus().

TGo4Slot * TGo4AnalysisProxy::LoginfoSlot  ) 
 

Definition at line 357 of file TGo4AnalysisProxy.cxx.

References TGo4Slot::FindChild(), and fxParentSlot.

Referenced by TGo4Interface::AddAnalysisProxy(), TGo4MainWindow::AddAnalysisProxy(), and ReceiveStatus().

TGo4Slot * TGo4AnalysisProxy::UpdateObjectSlot  ) 
 

Definition at line 362 of file TGo4AnalysisProxy.cxx.

References TGo4Slot::FindChild(), and fxParentSlot.

Referenced by TGo4MainWindow::AddAnalysisProxy(), ReceiveStatus(), and TGo4MainWindow::UpdateDockAnalysisWindow().

Bool_t TGo4AnalysisProxy::IsAnalysisServer  )  const [inline]
 

Definition at line 64 of file TGo4AnalysisProxy.h.

References fIsServer.

Referenced by TGo4MainWindow::AddAnalysisProxy(), TGo4MainWindow::ConnectServerSlot(), GetRole(), IsConnected(), TGo4Script::ProduceScript(), ReceiveStatus(), TGo4Interface::ShutdownAnalysis(), TGo4MainWindow::ShutdownAnalysisSlot(), TGo4MainWindow::UpdateCaptionButtons(), and TGo4MainWindow::UpdateDockAnalysisWindow().

Bool_t TGo4AnalysisProxy::IsConnected  ) 
 

Definition at line 1139 of file TGo4AnalysisProxy.cxx.

References fActualRole, fxDisplay, IsAnalysisServer(), and TGo4TaskOwner::IsConnected().

Referenced by TGo4MainWindow::AddAnalysisProxy(), TGo4MainWindow::CheckConnectingCounterSlot(), TGo4MainWindow::ConnectServerSlot(), TGo4BrowserProxy::HandleTimer(), TGo4Interface::ShutdownAnalysis(), TGo4MainWindow::ShutdownAnalysisSlot(), TGo4MainWindow::UpdateCaptionButtons(), TGo4MainWindow::UpdateDockAnalysisWindow(), and WaitForConnection().

Int_t TGo4AnalysisProxy::ConnectorPort  ) 
 

Definition at line 918 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4TaskOwner::GetTask(), and TGo4ServerTask::GetTaskManager().

Referenced by TGo4MainWindow::PrepareForClientConnectionSlot().

Int_t TGo4AnalysisProxy::GetRole  ) 
 

Definition at line 397 of file TGo4AnalysisProxy.cxx.

References fActualRole, fxDisplay, TGo4TaskOwner::GetTask(), IsAnalysisServer(), and kGo4ComModeRefused.

Referenced by GetContainedObjectInfo(), IsAdministrator(), IsController(), and IsViewer().

Bool_t TGo4AnalysisProxy::IsViewer  ) 
 

Definition at line 413 of file TGo4AnalysisProxy.cxx.

References GetRole(), and kGo4ComModeObserver.

Bool_t TGo4AnalysisProxy::IsController  ) 
 

Definition at line 418 of file TGo4AnalysisProxy.cxx.

References GetRole(), and kGo4ComModeController.

Referenced by TGo4MainWindow::CheckConnectingCounterSlot(), TGo4MainWindow::UpdateCaptionButtons(), and TGo4MainWindow::UpdateDockAnalysisWindow().

Bool_t TGo4AnalysisProxy::IsAdministrator  ) 
 

Definition at line 423 of file TGo4AnalysisProxy.cxx.

References GetRole(), and kGo4ComModeAdministrator.

Referenced by TGo4MainWindow::CheckConnectingCounterSlot(), TGo4Interface::ShutdownAnalysis(), TGo4MainWindow::ShutdownAnalysisSlot(), TGo4MainWindow::UpdateCaptionButtons(), and TGo4MainWindow::UpdateDockAnalysisWindow().

void TGo4AnalysisProxy::SetAnalysisReady Bool_t  on = kTRUE  )  [inline]
 

Definition at line 72 of file TGo4AnalysisProxy.h.

References fbAnalysisReady.

Referenced by TGo4Interface::AddAnalysisProxy(), TGo4MainWindow::AddAnalysisProxy(), AssignNewNamesList(), and ReceiveStatus().

Bool_t TGo4AnalysisProxy::IsAnalysisReady  )  const [inline]
 

Definition at line 73 of file TGo4AnalysisProxy.h.

References fbAnalysisReady.

Referenced by TGo4Script::execGUICommands(), TGo4Interface::HandleTimer(), TGo4Script::ProduceScript(), and TGo4Interface::WaitAnalysis().

void TGo4AnalysisProxy::SetAnalysisSettingsReady Bool_t  on = kTRUE  )  [inline]
 

Definition at line 75 of file TGo4AnalysisProxy.h.

References fbAnalysisSettingsReady.

Referenced by ReceiveStatus(), and SubmitAnalysisSettings().

Bool_t TGo4AnalysisProxy::IsAnalysisSettingsReady  )  const [inline]
 

Definition at line 76 of file TGo4AnalysisProxy.h.

References fbAnalysisSettingsReady.

Referenced by TGo4MainWindow::CreateNewConditionSlot(), TGo4MainWindow::CreateNewDynEntrySlot(), TGo4MainWindow::CreateNewHistSlot(), TGo4Script::execGUICommands(), TGo4Script::ProduceScript(), and TGo4Interface::SubmitAnalysisConfig().

Bool_t TGo4AnalysisProxy::IsAnalysisRunning  )  const [inline]
 

Definition at line 78 of file TGo4AnalysisProxy.h.

References fbAnalysisRunning.

Referenced by TGo4Script::ProduceScript().

void TGo4AnalysisProxy::RefreshNamesList  ) 
 

Definition at line 609 of file TGo4AnalysisProxy.cxx.

References fbNamesListReceived, fxDisplay, and TGo4Master::SubmitCommand().

Referenced by ConnectToServer(), HandleTimer(), TGo4Interface::StartAnalysis(), TGo4MainWindow::StartAnalysisSlot(), TGo4Interface::SubmitAnalysisConfig(), TGo4MainWindow::SubmitAnalysisSettings(), and Update().

void TGo4AnalysisProxy::DelayedRefreshNamesList Int_t  delay_sec  ) 
 

Definition at line 617 of file TGo4AnalysisProxy.cxx.

References fxRefreshTimer.

Referenced by TGo4BrowserProxy::PerformTreeDraw(), TGo4Interface::StartAnalysis(), and TGo4MainWindow::StartAnalysisSlot().

Bool_t TGo4AnalysisProxy::NamesListReceived  ) 
 

Definition at line 624 of file TGo4AnalysisProxy.cxx.

References fbNamesListReceived.

Referenced by TGo4Script::execGUICommands(), and TGo4Interface::SubmitAnalysisConfig().

void TGo4AnalysisProxy::ReceiveObject TNamed *  obj  ) 
 

Definition at line 557 of file TGo4AnalysisProxy.cxx.

References AssignNewNamesList(), DeleteSubmittedProxy(), FindSubmittedProxy(), TGo4ObjEnvelope::GetObjFolder(), TGo4ObjEnvelope::GetObjName(), TGo4AnalysisObjectAccess::ReceiveObject(), and TGo4ObjEnvelope::TakeObject().

Referenced by TGo4Display::DisplayData().

void TGo4AnalysisProxy::ReceiveStatus TGo4Status status  ) 
 

Definition at line 477 of file TGo4AnalysisProxy.cxx.

References AssignNewNamesList(), CallSlotUpdate(), TGo4BufferQueue::Clear(), fActualRole, fbAnalysisRunning, fxDisplay, fxParentSlot, TGo4Task::GetCommandQueue(), TGo4Command::GetModeDescription(), TGo4AnalysisObjectResult::GetNamesList(), TGo4AnalysisObjectResult::GetObjectFullName(), TGo4TaskOwner::GetTask(), TGo4AnalysisClientStatus::IsAnalysisRunning(), IsAnalysisServer(), LoginfoSlot(), RatemeterSlot(), SetAnalysisReady(), SetAnalysisSettingsReady(), TGo4AnalysisObjectResult::SetObjectFullName(), SettingsSlot(), and UpdateObjectSlot().

Referenced by TGo4Display::DisplayLog().

Bool_t TGo4AnalysisProxy::SubmitProxy TGo4AnalysisObjectAccess proxy  ) 
 

Definition at line 655 of file TGo4AnalysisProxy.cxx.

References TGo4AnalysisObjectAccess::ChangeObjectName(), cmdEnvelope, cmdEvStatus, cmdStatus, fNumberOfWaitingProxyes, fxDisplay, fxSubmittedProxy, TGo4AnalysisObjectAccess::GetObjectName(), TGo4AnalysisObjectAccess::GetPathName(), TGo4AnalysisObjectAccess::ProxyKind(), TGo4RemoteCommand::SetString(), TGo4AnalysisObjectAccess::SetSubmitTime(), TGo4RemoteCommand::SetValue(), and TGo4Master::SubmitCommand().

Referenced by TGo4AnalysisObjectAccess::AssignObjectTo().

void TGo4AnalysisProxy::LoadConfigFile const char *  fname  ) 
 

Definition at line 799 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().

void TGo4AnalysisProxy::SaveConfigFile const char *  fname  ) 
 

Definition at line 811 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().

void TGo4AnalysisProxy::WriteAutoSave const char *  fname,
Int_t  complevel,
Bool_t  overwrite
 

Definition at line 823 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4RemoteCommand::SetString(), TGo4RemoteCommand::SetValue(), and TGo4Master::SubmitCommand().

void TGo4AnalysisProxy::StartAnalysis  ) 
 

Definition at line 838 of file TGo4AnalysisProxy.cxx.

References fbAnalysisRunning, fxDisplay, and TGo4Master::SubmitCommand().

Referenced by TGo4Interface::StartAnalysis(), TGo4BrowserItem::StartAnalysis(), and TGo4MainWindow::StartAnalysisSlot().

void TGo4AnalysisProxy::StopAnalysis  ) 
 

Definition at line 844 of file TGo4AnalysisProxy.cxx.

References fbAnalysisRunning, fxDisplay, and TGo4Master::SubmitCommand().

Referenced by TGo4Interface::StopAnalysis(), TGo4BrowserItem::StopAnalysis(), and TGo4MainWindow::StopAnalysisSlot().

void TGo4AnalysisProxy::ExecuteLine const char *  line  ) 
 

Definition at line 850 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4ComExecLine::SetLine(), and TGo4Master::SubmitCommand().

Referenced by TGo4AbstractInterface::ExecuteLine(), and TGo4AnalysisWindow::HistActivated().

void TGo4AnalysisProxy::RequestAnalysisSettings  ) 
 

Definition at line 887 of file TGo4AnalysisProxy.cxx.

References fxDisplay, and TGo4Master::SubmitCommand().

Referenced by TGo4Interface::ConnectAnalysis(), TGo4MainWindow::EstablishAnalysisConfiguration(), and TGo4AbstractInterface::RequestAnalysisConfig().

void TGo4AnalysisProxy::SubmitAnalysisSettings  ) 
 

Definition at line 894 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4RemoteCommand::SetAggregate(), SetAnalysisSettingsReady(), SettingsSlot(), and TGo4Master::SubmitCommand().

Referenced by TGo4Interface::SubmitAnalysisConfig(), and TGo4MainWindow::SubmitAnalysisSettings().

void TGo4AnalysisProxy::RequestObjectStatus const char *  objectname,
TGo4Slot tgtslot
 

Definition at line 702 of file TGo4AnalysisProxy.cxx.

References TGo4AnalysisObjectAccess::AssignObjectTo(), cmdStatus, TGo4Slot::GetOM(), TGo4Slot::ProduceFolderAndName(), and TGo4Slot::ProduceFullName().

Referenced by TGo4BrowserProxy::RequestObjectStatus().

void TGo4AnalysisProxy::RequestEventStatus const char *  evname,
Bool_t  astree,
TGo4Slot tgtslot
 

Definition at line 717 of file TGo4AnalysisProxy.cxx.

References TGo4AnalysisObjectAccess::AssignObjectTo(), cmdEvStatus, fxDisplay, TGo4Slot::GetFullName(), TGo4Slot::GetOM(), TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), TGo4RemoteCommand::SetValue(), and TGo4Master::SubmitCommand().

Referenced by TGo4BrowserProxy::RequestEventStatus().

void TGo4AnalysisProxy::RemoteTreeDraw const char *  treename,
const char *  varexp,
const char *  cutcond,
const char *  hname
 

Definition at line 747 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().

Referenced by TGo4BrowserProxy::PerformTreeDraw().

void TGo4AnalysisProxy::RemotePrintEvent const char *  evname,
Int_t  evnumber,
Int_t  subid,
Bool_t  ishex,
Bool_t  islong
 

Definition at line 767 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4RemoteCommand::SetString(), TGo4RemoteCommand::SetValue(), and TGo4Master::SubmitCommand().

Bool_t TGo4AnalysisProxy::UpdateAnalysisObject const char *  fullpath,
TObject *  obj
 

new with single set object commmand:

Definition at line 783 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4RemoteCommand::SetAggregate(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().

Referenced by TGo4MainWindow::CreateNewConditionSlot(), TGo4MainWindow::CreateNewDynEntrySlot(), TGo4MainWindow::CreateNewHistSlot(), and TGo4BrowserProxy::UpdateAnalysisItem().

void TGo4AnalysisProxy::ClearAnalysisObject const char *  fullpath  ) 
 

Definition at line 857 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().

void TGo4AnalysisProxy::ChageObjectProtection const char *  fullpath,
const char *  flags
 

Definition at line 867 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().

void TGo4AnalysisProxy::RemoveObjectFromAnalysis const char *  fullpath,
TClass *  cl = 0
 

Definition at line 878 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().

void TGo4AnalysisProxy::PrintDynListEntry const char *  fullpath  ) 
 

Definition at line 909 of file TGo4AnalysisProxy.cxx.

References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().

static Int_t TGo4AnalysisProxy::NumberOfWaitingProxyes  )  [inline, static]
 

Definition at line 120 of file TGo4AnalysisProxy.h.

References fNumberOfWaitingProxyes.

Referenced by TGo4BrowserProxy::HandleTimer().

Bool_t TGo4AnalysisProxy::LaunchAsClient TString &  launchcmd,
TString &  killcmd,
Bool_t  usessh,
Int_t  konsole,
const char *  name,
const char *  remotehost,
const char *  remotedir,
const char *  remoteexe
 

Definition at line 930 of file TGo4AnalysisProxy.cxx.

References fxDisplay, GetLaunchString(), TGo4TaskOwner::GetTask(), TGo4ServerTask::GetTaskManager(), and TGo4ServerTask::StartConnectorThread().

Referenced by TGo4Interface::LaunchAnalysis(), and TGo4MainWindow::LaunchClientSlot().

Bool_t TGo4AnalysisProxy::LaunchAsServer TString &  launchcmd,
TString &  killcmd,
Bool_t  usessh,
Int_t  konsole,
const char *  name,
const char *  remotehost,
const char *  remotedir,
const char *  remoteexe
[static]
 

Definition at line 960 of file TGo4AnalysisProxy.cxx.

References GetLaunchString().

Referenced by TGo4MainWindow::LaunchClientSlot().

Bool_t TGo4AnalysisProxy::ConnectToServer const char *  remotehost,
Int_t  remoteport,
Int_t  ascontroller,
const char *  accesspass
 

Definition at line 1071 of file TGo4AnalysisProxy.cxx.

References TGo4ClientTask::ConnectServer(), fxDisplay, TGo4TaskOwner::GetTask(), kGo4ComModeAdministrator, kGo4ComModeController, kGo4ComModeObserver, and RefreshNamesList().

Referenced by TGo4Interface::ConnectAnalysis(), and TGo4MainWindow::ConnectServerSlot().

Bool_t TGo4AnalysisProxy::WaitForConnection Int_t  seconds  ) 
 

Definition at line 1103 of file TGo4AnalysisProxy.cxx.

References IsConnected().

void TGo4AnalysisProxy::DisconnectAnalysis Int_t  waittime = 30,
Bool_t  servershutdown = kFALSE
 

Close connection to analysis and destroys proxy with correspondent slot.

Wait waittime (in sec) for safe disconnection of the analysis. if servershutdown = kTRUE, shutdown command will be sent to analysis

Definition at line 1116 of file TGo4AnalysisProxy.cxx.

References CallSlotUpdate(), fActualRole, fDisconectCounter, fxConnectionTimer, fxDisplay, and TGo4Master::SubmitCommand().

Referenced by TGo4Interface::DisconnectAnalysis(), DisplayDisconnected(), TGo4MainWindow::RemoveAnalysisProxy(), and TGo4Interface::ShutdownAnalysis().

void TGo4AnalysisProxy::DisplayDeleted TGo4Display displ  ) 
 

Definition at line 1148 of file TGo4AnalysisProxy.cxx.

References fxDisplay.

Referenced by TGo4Display::~TGo4Display().

void TGo4AnalysisProxy::DisplayDisconnected TGo4Display displ  ) 
 

Definition at line 1153 of file TGo4AnalysisProxy.cxx.

References DisconnectAnalysis(), and fxDisplay.

Referenced by TGo4Display::DisconnectSlave().

Bool_t TGo4AnalysisProxy::HandleTimer TTimer *  timer  )  [virtual]
 

Definition at line 1169 of file TGo4AnalysisProxy.cxx.

References TGo4Slot::Delete(), fDisconectCounter, fxConnectionTimer, fxDisplay, fxParentSlot, fxRefreshTimer, and RefreshNamesList().

Bool_t TGo4AnalysisProxy::GetLaunchString TString &  launchcmd,
TString &  killcmd,
Bool_t  server,
Bool_t  usessh,
Int_t  konsole,
const char *  name,
const char *  remotehost,
const char *  remotedir,
const char *  remoteexe,
Int_t  guiport
[static, protected]
 

Definition at line 980 of file TGo4AnalysisProxy.cxx.

References TGo4Log::Debug(), and TGo4ServerTask::Get_fgcLAUNCHPREFSFILE().

Referenced by LaunchAsClient(), and LaunchAsServer().

TGo4AnalysisObjectAccess * TGo4AnalysisProxy::FindSubmittedProxy const char *  pathname,
const char *  objname
[protected]
 

Definition at line 440 of file TGo4AnalysisProxy.cxx.

References fxSubmittedProxy, TGo4AnalysisObjectAccess::GetObjectName(), and TGo4AnalysisObjectAccess::GetPathName().

Referenced by ReceiveObject().

void TGo4AnalysisProxy::DeleteSubmittedProxy TGo4AnalysisObjectAccess proxy  )  [protected]
 

Definition at line 452 of file TGo4AnalysisProxy.cxx.

References TGo4AnalysisObjectAccess::CheckLifeTime(), fNumberOfWaitingProxyes, and fxSubmittedProxy.

Referenced by ReceiveObject().

void TGo4AnalysisProxy::AssignNewNamesList TGo4AnalysisObjectNames objnames  )  [protected]
 

Definition at line 597 of file TGo4AnalysisProxy.cxx.

References TGo4Slot::evObjAssigned, fAnalysisNames, fbNamesListReceived, TGo4Slot::ForwardEvent(), fxParentSlot, and SetAnalysisReady().

Referenced by ReceiveObject(), and ReceiveStatus().

void TGo4AnalysisProxy::CallSlotUpdate  )  [protected]
 

Definition at line 1161 of file TGo4AnalysisProxy.cxx.

References TGo4Slot::evObjUpdated, TGo4Slot::ForwardEvent(), and fxParentSlot.

Referenced by DisconnectAnalysis(), and ReceiveStatus().


Member Data Documentation

Bool_t TGo4AnalysisProxy::fIsServer [protected]
 

Definition at line 179 of file TGo4AnalysisProxy.h.

Referenced by IsAnalysisServer().

TGo4AnalysisDummySlot* TGo4AnalysisProxy::fDummySlot [protected]
 

Definition at line 180 of file TGo4AnalysisProxy.h.

TGo4AnalysisObjectNames* TGo4AnalysisProxy::fAnalysisNames [protected]
 

Definition at line 181 of file TGo4AnalysisProxy.h.

Referenced by AssignNewNamesList(), HasSublevels(), MakeIter(), MakeProxy(), and ~TGo4AnalysisProxy().

TGo4Slot* TGo4AnalysisProxy::fxParentSlot [protected]
 

Definition at line 182 of file TGo4AnalysisProxy.h.

Referenced by AssignNewNamesList(), CallSlotUpdate(), Finalize(), HandleTimer(), Initialize(), LoginfoSlot(), ParentSlot(), RatemeterSlot(), ReceiveStatus(), SettingsSlot(), and UpdateObjectSlot().

TObjArray TGo4AnalysisProxy::fxSubmittedProxy [protected]
 

Definition at line 183 of file TGo4AnalysisProxy.h.

Referenced by DeleteSubmittedProxy(), FindSubmittedProxy(), SubmitProxy(), and ~TGo4AnalysisProxy().

Bool_t TGo4AnalysisProxy::fbNamesListReceived [protected]
 

Definition at line 184 of file TGo4AnalysisProxy.h.

Referenced by AssignNewNamesList(), NamesListReceived(), and RefreshNamesList().

Bool_t TGo4AnalysisProxy::fbAnalysisReady [protected]
 

Definition at line 185 of file TGo4AnalysisProxy.h.

Referenced by IsAnalysisReady(), and SetAnalysisReady().

Bool_t TGo4AnalysisProxy::fbAnalysisSettingsReady [protected]
 

Definition at line 186 of file TGo4AnalysisProxy.h.

Referenced by IsAnalysisSettingsReady(), and SetAnalysisSettingsReady().

Bool_t TGo4AnalysisProxy::fbAnalysisRunning [protected]
 

Definition at line 187 of file TGo4AnalysisProxy.h.

Referenced by IsAnalysisRunning(), ReceiveStatus(), StartAnalysis(), and StopAnalysis().

Int_t TGo4AnalysisProxy::fDisconectCounter [protected]
 

Definition at line 188 of file TGo4AnalysisProxy.h.

Referenced by DisconnectAnalysis(), HandleTimer(), and ~TGo4AnalysisProxy().

TGo4Display* TGo4AnalysisProxy::fxDisplay [protected]
 

Definition at line 189 of file TGo4AnalysisProxy.h.

Referenced by ChageObjectProtection(), ClearAnalysisObject(), ConnectorPort(), ConnectToServer(), DisconnectAnalysis(), DisplayDeleted(), DisplayDisconnected(), ExecuteLine(), GetRole(), HandleTimer(), IsConnected(), LaunchAsClient(), LoadConfigFile(), PrintDynListEntry(), ReceiveStatus(), RefreshNamesList(), RemotePrintEvent(), RemoteTreeDraw(), RemoveObjectFromAnalysis(), RequestAnalysisSettings(), RequestEventStatus(), SaveConfigFile(), StartAnalysis(), StopAnalysis(), SubmitAnalysisSettings(), SubmitProxy(), TGo4AnalysisProxy(), UpdateAnalysisObject(), WriteAutoSave(), and ~TGo4AnalysisProxy().

TString TGo4AnalysisProxy::fInfoStr [protected]
 

Definition at line 190 of file TGo4AnalysisProxy.h.

Referenced by GetContainedObjectInfo().

Int_t TGo4AnalysisProxy::fActualRole [protected]
 

Definition at line 191 of file TGo4AnalysisProxy.h.

Referenced by DisconnectAnalysis(), GetRole(), IsConnected(), and ReceiveStatus().

TTimer* TGo4AnalysisProxy::fxRefreshTimer [protected]
 

Definition at line 192 of file TGo4AnalysisProxy.h.

Referenced by DelayedRefreshNamesList(), HandleTimer(), and ~TGo4AnalysisProxy().

TTimer* TGo4AnalysisProxy::fxConnectionTimer [protected]
 

Definition at line 193 of file TGo4AnalysisProxy.h.

Referenced by DisconnectAnalysis(), HandleTimer(), and ~TGo4AnalysisProxy().

Int_t TGo4AnalysisProxy::fNumberOfWaitingProxyes = 0 [static, protected]
 

Definition at line 279 of file TGo4AnalysisProxy.cxx.

Referenced by DeleteSubmittedProxy(), NumberOfWaitingProxyes(), SubmitProxy(), and ~TGo4AnalysisProxy().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:23 2008 for Go4-v3.04-1 by  doxygen 1.4.2