#include <TGo4AnalysisProxy.h>
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 TGo4LevelIter * | MakeIter () |
virtual TGo4Access * | MakeProxy (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) |
TGo4Slot * | ParentSlot () |
TGo4Slot * | SettingsSlot () |
TGo4Slot * | RatemeterSlot () |
TGo4Slot * | LoginfoSlot () |
TGo4Slot * | UpdateObjectSlot () |
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 | CloseAnalysisSettings () |
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, Int_t shellkind, Int_t konsole, const char *name, const char *remotehost, const char *remotedir, const char *remoteexe, Int_t exe_kind=0, const char *exeargs=0) |
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) |
void | DisplayDeleted (TGo4Display *displ) |
void | DisplayDisconnected (TGo4Display *displ) |
virtual Bool_t | HandleTimer (TTimer *timer) |
void | SetDefaultReceiver (TGo4ObjectManager *rcv, const char *path) |
Static Public Member Functions | |
static Int_t | NumberOfWaitingProxyes () |
static Bool_t | LaunchAsServer (TString &launchcmd, TString &killcmd, Int_t shellkind, Int_t konsole, const char *name, const char *remotehost, const char *remotedir, const char *remoteexe, Int_t exe_kind=0, const char *exeargs=0) |
Protected Member Functions | |
TGo4AnalysisObjectAccess * | FindSubmittedProxy (const char *pathname, const char *objname) |
void | DeleteSubmittedProxy (TGo4AnalysisObjectAccess *proxy) |
void | AssignNewNamesList (TGo4AnalysisObjectNames *objnames) |
void | CallSlotUpdate () |
ClassDef (TGo4AnalysisProxy, 1) | |
Static Protected Member Functions | |
static Bool_t | GetLaunchString (TString &launchcmd, TString &killcmd, Bool_t server, Int_t shellkind, Int_t konsole, const char *name, const char *remotehost, const char *remotedir, const char *remoteexe, Int_t guiport, Int_t exe_kind=0, const char *exeargs=0) |
Protected Attributes | |
Bool_t | fIsServer |
TGo4AnalysisDummySlot * | fDummySlot |
TGo4AnalysisObjectNames * | fAnalysisNames |
TGo4Slot * | fxParentSlot |
TObjArray | fxSubmittedProxy |
TGo4AnalysisObjectAccess * | fxDefaultProxy |
Bool_t | fbNamesListReceived |
Bool_t | fbAnalysisReady |
Bool_t | fbAnalysisSettingsReady |
Bool_t | fbAnalysisRunning |
Int_t | fDisconectCounter |
TGo4Display * | fxDisplay |
TString | fInfoStr |
Int_t | fActualRole |
TTimer * | fxRefreshTimer |
TTimer * | fxConnectionTimer |
Static Protected Attributes | |
static Int_t | fNumberOfWaitingProxyes = 0 |
Definition at line 32 of file TGo4AnalysisProxy.h.
TGo4AnalysisProxy::TGo4AnalysisProxy | ( | Bool_t | isserver = kFALSE |
) |
Definition at line 453 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4TaskOwner::GetTask(), TGo4Task::Initialization(), and TGo4Display::SetAnalysis().
TGo4AnalysisProxy::~TGo4AnalysisProxy | ( | ) | [virtual] |
Definition at line 478 of file TGo4AnalysisProxy.cxx.
References TGo4Log::Debug(), fAnalysisNames, fDisconectCounter, fNumberOfWaitingProxyes, fxConnectionTimer, fxDefaultProxy, fxDisplay, fxRefreshTimer, fxSubmittedProxy, TGo4Display::SetAnalysis(), and TGo4Master::SubmitCommand().
void TGo4AnalysisProxy::AssignNewNamesList | ( | TGo4AnalysisObjectNames * | objnames | ) | [protected] |
Definition at line 781 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 1448 of file TGo4AnalysisProxy.cxx.
References TGo4Slot::evObjUpdated, TGo4Slot::ForwardEvent(), and fxParentSlot.
Referenced by DisconnectAnalysis(), and ReceiveStatus().
void TGo4AnalysisProxy::ChageObjectProtection | ( | const char * | fullpath, | |
const char * | flags | |||
) |
Definition at line 1049 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().
Referenced by TGo4Browser::ContextMenuActivated().
TGo4AnalysisProxy::ClassDef | ( | TGo4AnalysisProxy | , | |
1 | ||||
) | [protected] |
void TGo4AnalysisProxy::ClearAnalysisObject | ( | const char * | fullpath | ) |
Definition at line 1040 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().
Referenced by TGo4BrowserOptions::ClearBtn_clicked(), TGo4ConditionEditor::ClearCounters(), TGo4EditDynEntry::ClearHistogramClicked(), and TGo4Browser::ContextMenuActivated().
void TGo4AnalysisProxy::CloseAnalysisSettings | ( | ) |
Definition at line 1087 of file TGo4AnalysisProxy.cxx.
References fxDisplay, SetAnalysisSettingsReady(), and TGo4Master::SubmitCommand().
Referenced by TGo4MainWindow::editorServiceSlot().
Int_t TGo4AnalysisProxy::ConnectorPort | ( | ) |
Definition at line 1104 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4TaskManager::GetNegotiationPort(), TGo4TaskOwner::GetTask(), and TGo4ServerTask::GetTaskManager().
Referenced by TGo4MainWindow::PrepareForClientConnectionSlot().
Bool_t TGo4AnalysisProxy::ConnectToServer | ( | const char * | remotehost, | |
Int_t | remoteport, | |||
Int_t | ascontroller, | |||
const char * | accesspass | |||
) |
Definition at line 1358 of file TGo4AnalysisProxy.cxx.
References TGo4ClientTask::ConnectServer(), fxDisplay, TGo4TaskOwner::GetTask(), kGo4ComModeAdministrator, kGo4ComModeController, kGo4ComModeObserver, and RefreshNamesList().
Referenced by TGo4Interface::ConnectAnalysis(), and TGo4MainWindow::ConnectServerSlot().
void TGo4AnalysisProxy::DelayedRefreshNamesList | ( | Int_t | delay_sec | ) |
Definition at line 801 of file TGo4AnalysisProxy.cxx.
References fxRefreshTimer.
Referenced by TGo4BrowserProxy::PerformTreeDraw(), TGo4Interface::StartAnalysis(), and TGo4MainWindow::StartAnalysisSlot().
void TGo4AnalysisProxy::DeleteSubmittedProxy | ( | TGo4AnalysisObjectAccess * | proxy | ) | [protected] |
Definition at line 634 of file TGo4AnalysisProxy.cxx.
References TGo4AnalysisObjectAccess::CheckLifeTime(), fNumberOfWaitingProxyes, and fxSubmittedProxy.
Referenced by ReceiveObject().
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 1403 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 1435 of file TGo4AnalysisProxy.cxx.
References fxDisplay.
Referenced by TGo4Display::~TGo4Display().
void TGo4AnalysisProxy::DisplayDisconnected | ( | TGo4Display * | displ | ) |
Definition at line 1440 of file TGo4AnalysisProxy.cxx.
References DisconnectAnalysis(), and fxDisplay.
Referenced by TGo4Display::DisconnectSlave().
void TGo4AnalysisProxy::ExecuteLine | ( | const char * | line | ) |
Definition at line 1033 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4ComExecLine::SetLine(), and TGo4Master::SubmitCommand().
Referenced by TGo4EditDynEntry::ClearHistogramClicked(), TGo4AnalysisWindow::CommandSlot(), and TGo4AbstractInterface::ExecuteLine().
void TGo4AnalysisProxy::Finalize | ( | TGo4Slot * | slot | ) | [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 543 of file TGo4AnalysisProxy.cxx.
References TGo4Slot::DeleteChilds(), and fxParentSlot.
TGo4AnalysisObjectAccess * TGo4AnalysisProxy::FindSubmittedProxy | ( | const char * | pathname, | |
const char * | objname | |||
) | [protected] |
Definition at line 622 of file TGo4AnalysisProxy.cxx.
References fxSubmittedProxy, TGo4AnalysisObjectAccess::GetObjectName(), and TGo4AnalysisObjectAccess::GetPathName().
Referenced by ReceiveObject().
virtual TObject* TGo4AnalysisProxy::GetAssignedObject | ( | ) | [inline, virtual] |
Reimplemented from TGo4Proxy.
Definition at line 54 of file TGo4AnalysisProxy.h.
virtual const char* TGo4AnalysisProxy::GetContainedClassName | ( | ) | [inline, virtual] |
Reimplemented from TGo4Proxy.
Definition at line 53 of file TGo4AnalysisProxy.h.
const char * TGo4AnalysisProxy::GetContainedObjectInfo | ( | ) | [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 603 of file TGo4AnalysisProxy.cxx.
References fAnalysisNames, fInfoStr, GetRole(), kGo4ComModeAdministrator, kGo4ComModeController, and kGo4ComModeObserver.
Referenced by TGo4MainWindow::UpdateCaptionButtons().
Bool_t TGo4AnalysisProxy::GetLaunchString | ( | TString & | launchcmd, | |
TString & | killcmd, | |||
Bool_t | server, | |||
Int_t | shellkind, | |||
Int_t | konsole, | |||
const char * | name, | |||
const char * | remotehost, | |||
const char * | remotedir, | |||
const char * | remoteexe, | |||
Int_t | guiport, | |||
Int_t | exe_kind = 0 , |
|||
const char * | exeargs = 0 | |||
) | [static, protected] |
Definition at line 1169 of file TGo4AnalysisProxy.cxx.
References TGo4Prefs::AddFile(), TGo4Log::Debug(), TGo4ServerTask::Get_fgcLAUNCHPREFSFILE(), TGo4Prefs::GetOpt(), TGo4Log::GO4SYS(), TGo4Prefs::IsOk(), TGo4Prefs::SetPar(), and TGo4Log::subGO4SYS().
Referenced by LaunchAsClient(), and LaunchAsServer().
virtual Int_t TGo4AnalysisProxy::GetObjectKind | ( | ) | [inline, virtual] |
Reimplemented from TGo4Proxy.
Definition at line 52 of file TGo4AnalysisProxy.h.
Int_t TGo4AnalysisProxy::GetRole | ( | ) |
Definition at line 572 of file TGo4AnalysisProxy.cxx.
References fActualRole, fxDisplay, TGo4TaskHandler::GetRole(), TGo4TaskOwner::GetTask(), TGo4Task::GetTaskHandler(), and IsAnalysisServer().
Referenced by GetContainedObjectInfo(), IsAdministrator(), IsController(), and IsViewer().
Bool_t TGo4AnalysisProxy::HandleTimer | ( | TTimer * | timer | ) | [virtual] |
Definition at line 1456 of file TGo4AnalysisProxy.cxx.
References TGo4Slot::Delete(), fDisconectCounter, fxConnectionTimer, fxDisplay, fxParentSlot, fxRefreshTimer, and RefreshNamesList().
Bool_t TGo4AnalysisProxy::HasSublevels | ( | ) | const [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 552 of file TGo4AnalysisProxy.cxx.
References fAnalysisNames.
void TGo4AnalysisProxy::Initialize | ( | TGo4Slot * | slot | ) | [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 505 of file TGo4AnalysisProxy.cxx.
References fxParentSlot, and TGo4Slot::SetProxy().
Bool_t TGo4AnalysisProxy::IsAdministrator | ( | ) |
Definition at line 598 of file TGo4AnalysisProxy.cxx.
References GetRole().
Referenced by TGo4MainWindow::CheckConnectingCounterSlot(), TGo4Interface::ShutdownAnalysis(), TGo4MainWindow::ShutdownAnalysisSlot(), TGo4MainWindow::UpdateCaptionButtons(), and TGo4MainWindow::UpdateDockAnalysisWindow().
Bool_t TGo4AnalysisProxy::IsAnalysisReady | ( | ) | const [inline] |
Definition at line 75 of file TGo4AnalysisProxy.h.
References fbAnalysisReady.
Referenced by TGo4Script::execGUICommands(), TGo4Interface::HandleTimer(), TGo4Script::ProduceScript(), and TGo4Interface::WaitAnalysis().
Bool_t TGo4AnalysisProxy::IsAnalysisRunning | ( | ) | const [inline] |
Definition at line 80 of file TGo4AnalysisProxy.h.
References fbAnalysisRunning.
Referenced by TGo4Script::ProduceScript().
Bool_t TGo4AnalysisProxy::IsAnalysisServer | ( | ) | const [inline] |
Definition at line 66 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::IsAnalysisSettingsReady | ( | ) | const [inline] |
Definition at line 78 of file TGo4AnalysisProxy.h.
References fbAnalysisSettingsReady.
Referenced by TGo4MainWindow::CreateNewConditionSlot(), TGo4MainWindow::CreateNewDynEntrySlot(), TGo4MainWindow::CreateNewHistSlot(), TGo4Script::execGUICommands(), TGo4Script::ProduceScript(), and TGo4Interface::SubmitAnalysisConfig().
Bool_t TGo4AnalysisProxy::IsConnected | ( | ) |
Definition at line 1426 of file TGo4AnalysisProxy.cxx.
References fActualRole, fxDisplay, IsAnalysisServer(), and TGo4TaskOwner::IsConnected().
Referenced by TGo4MainWindow::AddAnalysisProxy(), TGo4MainWindow::CheckConnectingCounterSlot(), TGo4MainWindow::ConnectServerSlot(), TGo4BrowserProxy::HandleTimer(), TGo4AbstractInterface::IsAnalysisConnected(), TGo4Interface::ShutdownAnalysis(), TGo4MainWindow::ShutdownAnalysisSlot(), TGo4MainWindow::UpdateCaptionButtons(), TGo4MainWindow::UpdateDockAnalysisWindow(), and WaitForConnection().
Bool_t TGo4AnalysisProxy::IsController | ( | ) |
Definition at line 593 of file TGo4AnalysisProxy.cxx.
References GetRole().
Referenced by TGo4MainWindow::CheckConnectingCounterSlot(), TGo4MainWindow::UpdateCaptionButtons(), and TGo4MainWindow::UpdateDockAnalysisWindow().
Bool_t TGo4AnalysisProxy::IsViewer | ( | ) |
Definition at line 588 of file TGo4AnalysisProxy.cxx.
References GetRole().
Bool_t TGo4AnalysisProxy::LaunchAsClient | ( | TString & | launchcmd, | |
TString & | killcmd, | |||
Int_t | shellkind, | |||
Int_t | konsole, | |||
const char * | name, | |||
const char * | remotehost, | |||
const char * | remotedir, | |||
const char * | remoteexe, | |||
Int_t | exe_kind = 0 , |
|||
const char * | exeargs = 0 | |||
) |
Definition at line 1116 of file TGo4AnalysisProxy.cxx.
References fxDisplay, GetLaunchString(), TGo4TaskManager::GetNegotiationPort(), TGo4TaskOwner::GetTask(), TGo4ServerTask::GetTaskManager(), and TGo4ServerTask::StartConnectorThread().
Referenced by TGo4Interface::LaunchAnalysis(), and TGo4MainWindow::LaunchClientSlot().
Bool_t TGo4AnalysisProxy::LaunchAsServer | ( | TString & | launchcmd, | |
TString & | killcmd, | |||
Int_t | shellkind, | |||
Int_t | konsole, | |||
const char * | name, | |||
const char * | remotehost, | |||
const char * | remotedir, | |||
const char * | remoteexe, | |||
Int_t | exe_kind = 0 , |
|||
const char * | exeargs = 0 | |||
) | [static] |
Definition at line 1147 of file TGo4AnalysisProxy.cxx.
References GetLaunchString().
Referenced by TGo4MainWindow::LaunchClientSlot().
void TGo4AnalysisProxy::LoadConfigFile | ( | const char * | fname | ) |
Definition at line 982 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().
Referenced by TGo4AnalysisConfiguration::LoadConfiguration().
TGo4Slot * TGo4AnalysisProxy::LoginfoSlot | ( | ) |
Definition at line 532 of file TGo4AnalysisProxy.cxx.
References TGo4Slot::FindChild(), and fxParentSlot.
Referenced by TGo4MainWindow::AddAnalysisProxy(), TGo4Interface::AddAnalysisProxy(), and ReceiveStatus().
TGo4LevelIter * TGo4AnalysisProxy::MakeIter | ( | ) | [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 557 of file TGo4AnalysisProxy.cxx.
References fAnalysisNames, and TGo4AnalysisObjectNames::GetNamesFolder().
TGo4Access * TGo4AnalysisProxy::MakeProxy | ( | const char * | name | ) | [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 813 of file TGo4AnalysisProxy.cxx.
References cmdEnvelope, TGo4AnalysisLevelIter::EntryClassName(), fAnalysisNames, TGo4AnalysisObjectNames::GetNamesFolder(), and TGo4Slot::ProduceFolderAndName().
Bool_t TGo4AnalysisProxy::NamesListReceived | ( | ) |
Definition at line 808 of file TGo4AnalysisProxy.cxx.
References fbNamesListReceived.
Referenced by TGo4Script::execGUICommands(), TGo4Interface::RefreshNamesList(), and TGo4Interface::SubmitAnalysisConfig().
static Int_t TGo4AnalysisProxy::NumberOfWaitingProxyes | ( | ) | [inline, static] |
Definition at line 123 of file TGo4AnalysisProxy.h.
References fNumberOfWaitingProxyes.
Referenced by TGo4BrowserProxy::HandleTimer().
TGo4Slot* TGo4AnalysisProxy::ParentSlot | ( | ) | [inline] |
Definition at line 58 of file TGo4AnalysisProxy.h.
References fxParentSlot.
Referenced by TGo4AnalysisConfiguration::WorkWithAnalysis(), and TGo4Display::~TGo4Display().
void TGo4AnalysisProxy::PrintDynListEntry | ( | const char * | fullpath | ) |
Definition at line 1095 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().
Referenced by TGo4EditDynEntry::PrintDynList().
TGo4Slot * TGo4AnalysisProxy::RatemeterSlot | ( | ) |
Definition at line 527 of file TGo4AnalysisProxy.cxx.
References TGo4Slot::FindChild(), and fxParentSlot.
Referenced by TGo4Interface::AddAnalysisProxy(), TGo4MainWindow::EstablishRatemeter(), and ReceiveStatus().
void TGo4AnalysisProxy::ReadData | ( | TGo4Slot * | slot, | |
TDirectory * | dir | |||
) | [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 568 of file TGo4AnalysisProxy.cxx.
void TGo4AnalysisProxy::ReceiveObject | ( | TNamed * | obj | ) |
Definition at line 741 of file TGo4AnalysisProxy.cxx.
References AssignNewNamesList(), DeleteSubmittedProxy(), FindSubmittedProxy(), fxDefaultProxy, TGo4ObjEnvelope::GetObjFolder(), TGo4ObjEnvelope::GetObjName(), TGo4AnalysisObjectAccess::ReceiveObject(), and TGo4ObjEnvelope::TakeObject().
Referenced by TGo4Display::DisplayData().
void TGo4AnalysisProxy::ReceiveStatus | ( | TGo4Status * | status | ) |
Definition at line 659 of file TGo4AnalysisProxy.cxx.
References AssignNewNamesList(), TGo4Slot::AssignObject(), 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().
void TGo4AnalysisProxy::RefreshNamesList | ( | ) |
Definition at line 793 of file TGo4AnalysisProxy.cxx.
References fbNamesListReceived, fxDisplay, and TGo4Master::SubmitCommand().
Referenced by ConnectToServer(), TGo4Browser::ContextMenuActivated(), TGo4MainWindow::editorServiceSlot(), HandleTimer(), TGo4AnalysisConfiguration::linkedObjectUpdated(), TGo4BrowserOptions::RefreshBtn_clicked(), TGo4Script::RefreshNamesList(), TGo4Interface::RefreshNamesList(), TGo4Interface::StartAnalysis(), TGo4MainWindow::StartAnalysisSlot(), TGo4Interface::SubmitAnalysisConfig(), TGo4MainWindow::SubmitAnalysisSettings(), and Update().
void TGo4AnalysisProxy::RemotePrintEvent | ( | const char * | evname, | |
Int_t | evnumber, | |||
Int_t | subid, | |||
Bool_t | ishex, | |||
Bool_t | islong | |||
) |
Definition at line 950 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4RemoteCommand::SetString(), TGo4RemoteCommand::SetValue(), and TGo4Master::SubmitCommand().
Referenced by TGo4EventInfo::PrintEventClicked().
void TGo4AnalysisProxy::RemoteTreeDraw | ( | const char * | treename, | |
const char * | varexp, | |||
const char * | cutcond, | |||
const char * | hname | |||
) |
Definition at line 930 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().
Referenced by TGo4BrowserProxy::PerformTreeDraw().
void TGo4AnalysisProxy::RemoveObjectFromAnalysis | ( | const char * | fullpath, | |
TClass * | cl = 0 | |||
) |
Definition at line 1059 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4Slot::ProduceFolderAndName(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().
Referenced by TGo4Browser::ContextMenuActivated().
void TGo4AnalysisProxy::RequestAnalysisSettings | ( | ) |
Definition at line 1068 of file TGo4AnalysisProxy.cxx.
References fxDisplay, and TGo4Master::SubmitCommand().
Referenced by TGo4Interface::ConnectAnalysis(), TGo4MainWindow::EstablishAnalysisConfiguration(), TGo4AbstractInterface::RequestAnalysisConfig(), and TGo4AnalysisConfiguration::RequestAnalysisStatus().
void TGo4AnalysisProxy::RequestEventStatus | ( | const char * | evname, | |
Bool_t | astree, | |||
TGo4Slot * | tgtslot | |||
) |
Definition at line 899 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::RequestObjectStatus | ( | const char * | objectname, | |
TGo4Slot * | tgtslot | |||
) |
Definition at line 884 of file TGo4AnalysisProxy.cxx.
References TGo4AnalysisObjectAccess::AssignObjectTo(), cmdStatus, TGo4Slot::GetOM(), TGo4Slot::ProduceFolderAndName(), and TGo4Slot::ProduceFullName().
Referenced by TGo4BrowserProxy::RequestObjectStatus().
void TGo4AnalysisProxy::SaveConfigFile | ( | const char * | fname | ) |
Definition at line 994 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().
Referenced by TGo4AnalysisConfiguration::SaveConfiguration().
void TGo4AnalysisProxy::SetAnalysisReady | ( | Bool_t | on = kTRUE |
) | [inline] |
Definition at line 74 of file TGo4AnalysisProxy.h.
References fbAnalysisReady.
Referenced by TGo4MainWindow::AddAnalysisProxy(), TGo4Interface::AddAnalysisProxy(), AssignNewNamesList(), and ReceiveStatus().
void TGo4AnalysisProxy::SetAnalysisSettingsReady | ( | Bool_t | on = kTRUE |
) | [inline] |
Definition at line 77 of file TGo4AnalysisProxy.h.
References fbAnalysisSettingsReady.
Referenced by CloseAnalysisSettings(), ReceiveStatus(), and SubmitAnalysisSettings().
void TGo4AnalysisProxy::SetDefaultReceiver | ( | TGo4ObjectManager * | rcv, | |
const char * | path | |||
) |
Set receiver for object envelopes, which coming from analysis without request
Definition at line 1493 of file TGo4AnalysisProxy.cxx.
References cmdDefualtEnvelope, fxDefaultProxy, and TGo4AnalysisObjectAccess::SetDefaultReceiver().
Referenced by TGo4MainWindow::AddAnalysisProxy(), and TGo4Interface::AddAnalysisProxy().
TGo4Slot * TGo4AnalysisProxy::SettingsSlot | ( | ) |
Definition at line 522 of file TGo4AnalysisProxy.cxx.
References TGo4Slot::FindChild(), and fxParentSlot.
Referenced by TGo4Interface::GetAnalStatus(), ReceiveStatus(), SubmitAnalysisSettings(), and TGo4AnalysisConfiguration::WorkWithAnalysis().
void TGo4AnalysisProxy::StartAnalysis | ( | ) |
Definition at line 1021 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 1027 of file TGo4AnalysisProxy.cxx.
References fbAnalysisRunning, fxDisplay, and TGo4Master::SubmitCommand().
Referenced by TGo4Interface::StopAnalysis(), TGo4BrowserItem::StopAnalysis(), and TGo4MainWindow::StopAnalysisSlot().
void TGo4AnalysisProxy::SubmitAnalysisSettings | ( | ) |
Definition at line 1073 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4Slot::GetAssignedObject(), TGo4RemoteCommand::SetAggregate(), SetAnalysisSettingsReady(), SettingsSlot(), and TGo4Master::SubmitCommand().
Referenced by TGo4Interface::SubmitAnalysisConfig(), and TGo4MainWindow::SubmitAnalysisSettings().
Bool_t TGo4AnalysisProxy::SubmitProxy | ( | TGo4AnalysisObjectAccess * | proxy | ) |
Definition at line 839 of file TGo4AnalysisProxy.cxx.
References TGo4AnalysisObjectAccess::ChangeObjectName(), fNumberOfWaitingProxyes, fxDisplay, fxSubmittedProxy, TGo4AnalysisObjectAccess::GetObjectName(), TGo4AnalysisObjectAccess::GetPathName(), TGo4AnalysisObjectAccess::ProxyKind(), TGo4RemoteCommand::SetString(), TGo4AnalysisObjectAccess::SetSubmitTime(), and TGo4Master::SubmitCommand().
Referenced by TGo4AnalysisObjectAccess::AssignObjectTo().
void TGo4AnalysisProxy::Update | ( | TGo4Slot * | slot, | |
Bool_t | strong | |||
) | [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 832 of file TGo4AnalysisProxy.cxx.
References RefreshNamesList().
Bool_t TGo4AnalysisProxy::UpdateAnalysisObject | ( | const char * | fullpath, | |
TObject * | obj | |||
) |
new with single set object command:
Definition at line 966 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4RemoteCommand::SetAggregate(), TGo4RemoteCommand::SetString(), and TGo4Master::SubmitCommand().
Referenced by TGo4MainWindow::CreateNewConditionSlot(), TGo4MainWindow::CreateNewDynEntrySlot(), TGo4MainWindow::CreateNewHistSlot(), and TGo4BrowserProxy::UpdateAnalysisItem().
TGo4Slot * TGo4AnalysisProxy::UpdateObjectSlot | ( | ) |
Definition at line 537 of file TGo4AnalysisProxy.cxx.
References TGo4Slot::FindChild(), and fxParentSlot.
Referenced by TGo4MainWindow::AddAnalysisProxy(), ReceiveStatus(), and TGo4MainWindow::UpdateDockAnalysisWindow().
Bool_t TGo4AnalysisProxy::WaitForConnection | ( | Int_t | seconds | ) |
Definition at line 1390 of file TGo4AnalysisProxy.cxx.
References IsConnected().
void TGo4AnalysisProxy::WriteAutoSave | ( | const char * | fname, | |
Int_t | complevel, | |||
Bool_t | overwrite | |||
) |
Definition at line 1006 of file TGo4AnalysisProxy.cxx.
References fxDisplay, TGo4RemoteCommand::SetString(), TGo4RemoteCommand::SetValue(), and TGo4Master::SubmitCommand().
Referenced by TGo4AnalysisConfiguration::WriteAutoSave().
void TGo4AnalysisProxy::WriteData | ( | TGo4Slot * | slot, | |
TDirectory * | dir, | |||
Bool_t | onlyobjs | |||
) | [virtual] |
Reimplemented from TGo4Proxy.
Definition at line 564 of file TGo4AnalysisProxy.cxx.
Int_t TGo4AnalysisProxy::fActualRole [protected] |
Definition at line 204 of file TGo4AnalysisProxy.h.
Referenced by DisconnectAnalysis(), GetRole(), IsConnected(), and ReceiveStatus().
TGo4AnalysisObjectNames* TGo4AnalysisProxy::fAnalysisNames [protected] |
Definition at line 193 of file TGo4AnalysisProxy.h.
Referenced by AssignNewNamesList(), GetContainedObjectInfo(), HasSublevels(), MakeIter(), MakeProxy(), and ~TGo4AnalysisProxy().
Bool_t TGo4AnalysisProxy::fbAnalysisReady [protected] |
Definition at line 198 of file TGo4AnalysisProxy.h.
Referenced by IsAnalysisReady(), and SetAnalysisReady().
Bool_t TGo4AnalysisProxy::fbAnalysisRunning [protected] |
Definition at line 200 of file TGo4AnalysisProxy.h.
Referenced by IsAnalysisRunning(), ReceiveStatus(), StartAnalysis(), and StopAnalysis().
Bool_t TGo4AnalysisProxy::fbAnalysisSettingsReady [protected] |
Definition at line 199 of file TGo4AnalysisProxy.h.
Referenced by IsAnalysisSettingsReady(), and SetAnalysisSettingsReady().
Bool_t TGo4AnalysisProxy::fbNamesListReceived [protected] |
Definition at line 197 of file TGo4AnalysisProxy.h.
Referenced by AssignNewNamesList(), NamesListReceived(), and RefreshNamesList().
Int_t TGo4AnalysisProxy::fDisconectCounter [protected] |
Definition at line 201 of file TGo4AnalysisProxy.h.
Referenced by DisconnectAnalysis(), HandleTimer(), and ~TGo4AnalysisProxy().
TGo4AnalysisDummySlot* TGo4AnalysisProxy::fDummySlot [protected] |
Definition at line 192 of file TGo4AnalysisProxy.h.
TString TGo4AnalysisProxy::fInfoStr [protected] |
Definition at line 203 of file TGo4AnalysisProxy.h.
Referenced by GetContainedObjectInfo().
Bool_t TGo4AnalysisProxy::fIsServer [protected] |
Definition at line 191 of file TGo4AnalysisProxy.h.
Referenced by IsAnalysisServer().
Int_t TGo4AnalysisProxy::fNumberOfWaitingProxyes = 0 [static, protected] |
Definition at line 207 of file TGo4AnalysisProxy.h.
Referenced by DeleteSubmittedProxy(), NumberOfWaitingProxyes(), SubmitProxy(), and ~TGo4AnalysisProxy().
TTimer* TGo4AnalysisProxy::fxConnectionTimer [protected] |
Definition at line 206 of file TGo4AnalysisProxy.h.
Referenced by DisconnectAnalysis(), HandleTimer(), and ~TGo4AnalysisProxy().
Definition at line 196 of file TGo4AnalysisProxy.h.
Referenced by ReceiveObject(), SetDefaultReceiver(), and ~TGo4AnalysisProxy().
TGo4Display* TGo4AnalysisProxy::fxDisplay [protected] |
Definition at line 202 of file TGo4AnalysisProxy.h.
Referenced by ChageObjectProtection(), ClearAnalysisObject(), CloseAnalysisSettings(), 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().
TGo4Slot* TGo4AnalysisProxy::fxParentSlot [protected] |
Definition at line 194 of file TGo4AnalysisProxy.h.
Referenced by AssignNewNamesList(), CallSlotUpdate(), Finalize(), HandleTimer(), Initialize(), LoginfoSlot(), ParentSlot(), RatemeterSlot(), ReceiveStatus(), SettingsSlot(), and UpdateObjectSlot().
TTimer* TGo4AnalysisProxy::fxRefreshTimer [protected] |
Definition at line 205 of file TGo4AnalysisProxy.h.
Referenced by DelayedRefreshNamesList(), HandleTimer(), and ~TGo4AnalysisProxy().
TObjArray TGo4AnalysisProxy::fxSubmittedProxy [protected] |
Definition at line 195 of file TGo4AnalysisProxy.h.
Referenced by DeleteSubmittedProxy(), FindSubmittedProxy(), SubmitProxy(), and ~TGo4AnalysisProxy().