TSessionViewer Class Reference

#include <TSessionViewer.h>

Inheritance diagram for TSessionViewer:

TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame List of all members.

Public Member Functions

 TSessionViewer (const char *title="ROOT Session Viewer", UInt_t w=550, UInt_t h=320)
 TSessionViewer (const char *title, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual ~TSessionViewer ()
virtual void Build ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t)
TSessionServerFrame * GetServerFrame () const
TSessionFrame * GetSessionFrame () const
TSessionQueryFrame * GetQueryFrame () const
TSessionOutputFrame * GetOutputFrame () const
TSessionInputFrame * GetInputFrame () const
TSessionDescription * GetActDesc () const
TList * GetSessions () const
TGListTree * GetSessionHierarchy () const
TGListTreeItem * GetSessionItem () const
const TGPicture * GetLocalPict () const
const TGPicture * GetProofConPict () const
const TGPicture * GetProofDisconPict () const
const TGPicture * GetQueryConPict () const
const TGPicture * GetQueryDisconPict () const
const TGPicture * GetBasePict () const
TGPopupMenu * GetPopupSrv () const
TGPopupMenu * GetPopupQry () const
TContextMenu * GetContextMenu () const
TGStatusBar * GetStatusBar () const
TGHProgressBar * GetConnectProg () const
TGPopupMenu * GetCascadeMenu () const
TGPopupMenu * GetOptionsMenu () const
void ChangeRightLogo (const char *name)
void CleanupSession ()
void CloseWindow ()
void DisableTimer ()
void EditQuery ()
void EnableTimer ()
Bool_t HandleTimer (TTimer *)
Bool_t IsBusy () const
Bool_t IsAutoSave () const
void LogMessage (const char *msg, Bool_t all)
void MyHandleMenu (Int_t)
void OnCascadeMenu ()
void OnListTreeClicked (TGListTreeItem *entry, Int_t btn, Int_t x, Int_t y)
void OnListTreeDoubleClicked (TGListTreeItem *entry, Int_t btn)
void QueryResultReady (char *query)
void DeleteQuery ()
void ReadConfiguration (const char *filename=0)
void ResetSession ()
void UpdateListOfProofs ()
void UpdateListOfSessions ()
void UpdateListOfPackages ()
void WriteConfiguration (const char *filename=0)
void SetBusy (Bool_t busy=kTRUE)
void SetChangePic (Bool_t change)
void SetLogWindow (TSessionLogView *log)
void ShowEnabledPackages ()
void ShowPackages ()
void ShowInfo (const char *txt)
void ShowLog (const char *queryref)
void ShowStatus ()
void StartupMessage (char *msg, Bool_t stat, Int_t curr, Int_t total)
void StartViewer ()
void Terminate ()
 TSessionViewer (const char *title="ROOT Session Viewer", UInt_t w=550, UInt_t h=320)
 TSessionViewer (const char *title, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual ~TSessionViewer ()
virtual void Build ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t)
TSessionServerFrame * GetServerFrame () const
TSessionFrame * GetSessionFrame () const
TSessionQueryFrame * GetQueryFrame () const
TSessionOutputFrame * GetOutputFrame () const
TSessionInputFrame * GetInputFrame () const
TSessionDescription * GetActDesc () const
TList * GetSessions () const
TGListTree * GetSessionHierarchy () const
TGListTreeItem * GetSessionItem () const
const TGPicture * GetLocalPict () const
const TGPicture * GetProofConPict () const
const TGPicture * GetProofDisconPict () const
const TGPicture * GetQueryConPict () const
const TGPicture * GetQueryDisconPict () const
const TGPicture * GetBasePict () const
TGPopupMenu * GetPopupSrv () const
TGPopupMenu * GetPopupQry () const
TContextMenu * GetContextMenu () const
TGStatusBar * GetStatusBar () const
TGHProgressBar * GetConnectProg () const
TGPopupMenu * GetCascadeMenu () const
TGPopupMenu * GetOptionsMenu () const
void ChangeRightLogo (const char *name)
void CleanupSession ()
void CloseWindow ()
void DisableTimer ()
void EditQuery ()
void EnableTimer ()
Bool_t HandleTimer (TTimer *)
Bool_t IsBusy () const
Bool_t IsAutoSave () const
void LogMessage (const char *msg, Bool_t all)
void MyHandleMenu (Int_t)
void OnCascadeMenu ()
void OnListTreeClicked (TGListTreeItem *entry, Int_t btn, Int_t x, Int_t y)
void OnListTreeDoubleClicked (TGListTreeItem *entry, Int_t btn)
void QueryResultReady (char *query)
void DeleteQuery ()
void ReadConfiguration (const char *filename=0)
void ResetSession ()
void UpdateListOfProofs ()
void UpdateListOfSessions ()
void UpdateListOfPackages ()
void WriteConfiguration (const char *filename=0)
void SetBusy (Bool_t busy=kTRUE)
void SetChangePic (Bool_t change)
void SetLogWindow (TSessionLogView *log)
void ShowEnabledPackages ()
void ShowPackages ()
void ShowInfo (const char *txt)
void ShowLog (const char *queryref)
void ShowStatus ()
void StartupMessage (char *msg, Bool_t stat, Int_t curr, Int_t total)
void StartViewer ()
void Terminate ()

Private Attributes

time_t fStart
time_t fElapsed
Bool_t fChangePic
Bool_t fBusy
TGHorizontalFrame * fHf
TGVerticalFrame * fV1
TGVerticalFrame * fV2
TSessionServerFrame * fServerFrame
TSessionFrame * fSessionFrame
TSessionQueryFrame * fQueryFrame
TSessionOutputFrame * fOutputFrame
TSessionInputFrame * fInputFrame
TSessionLogView * fLogWindow
TSessionDescription * fActDesc
TList * fSessions
const TGPicture * fLocal
const TGPicture * fProofCon
const TGPicture * fProofDiscon
const TGPicture * fQueryCon
const TGPicture * fQueryDiscon
const TGPicture * fBaseIcon
TGFrame * fActFrame
TGToolBar * fToolBar
TGMenuBar * fMenuBar
TGPopupMenu * fFileMenu
TGPopupMenu * fSessionMenu
TGPopupMenu * fQueryMenu
TGPopupMenu * fOptionsMenu
TGPopupMenu * fCascadeMenu
TGPopupMenu * fHelpMenu
TGPopupMenu * fPopupSrv
TGPopupMenu * fPopupQry
TContextMenu * fContextMenu
TGHProgressBar * fConnectProg
TGCanvas * fTreeView
TGListTree * fSessionHierarchy
TGListTreeItem * fSessionItem
TGStatusBar * fStatusBar
TGPicture * fRightIconPicture
TGIcon * fRightIcon
TTimer * fTimer
UserGroup_t * fUserGroup
Bool_t fAutoSave
TString fConfigFile
TEnv * fViewerEnv
TGHorizontalFrame * fHf
TGVerticalFrame * fV1
TGVerticalFrame * fV2
TSessionServerFrame * fServerFrame
TSessionFrame * fSessionFrame
TSessionQueryFrame * fQueryFrame
TSessionOutputFrame * fOutputFrame
TSessionInputFrame * fInputFrame
TSessionLogView * fLogWindow
TSessionDescription * fActDesc
TList * fSessions
const TGPicture * fLocal
const TGPicture * fProofCon
const TGPicture * fProofDiscon
const TGPicture * fQueryCon
const TGPicture * fQueryDiscon
const TGPicture * fBaseIcon
TGFrame * fActFrame
TGToolBar * fToolBar
TGMenuBar * fMenuBar
TGPopupMenu * fFileMenu
TGPopupMenu * fSessionMenu
TGPopupMenu * fQueryMenu
TGPopupMenu * fOptionsMenu
TGPopupMenu * fCascadeMenu
TGPopupMenu * fHelpMenu
TGPopupMenu * fPopupSrv
TGPopupMenu * fPopupQry
TContextMenu * fContextMenu
TGHProgressBar * fConnectProg
TGCanvas * fTreeView
TGListTree * fSessionHierarchy
TGListTreeItem * fSessionItem
TGStatusBar * fStatusBar
TGPicture * fRightIconPicture
TGIcon * fRightIcon
TTimer * fTimer
UserGroup_t * fUserGroup
TEnv * fViewerEnv

Detailed Description

Definition at line 533 of file TSessionViewer.h.


Constructor & Destructor Documentation

TSessionViewer::TSessionViewer ( const char *  title = "ROOT Session Viewer",
UInt_t  w = 550,
UInt_t  h = 320 
)

Definition at line 3583 of file TSessionViewer.cxx.

References Build(), gSessionViewer, TGFrame::Resize(), and TGMainFrame::SetWindowName().

TSessionViewer::TSessionViewer ( const char *  title,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)

Definition at line 3598 of file TSessionViewer.cxx.

References Build(), gSessionViewer, TGFrame::Move(), TGFrame::Resize(), and TGMainFrame::SetWindowName().

TSessionViewer::~TSessionViewer (  )  [virtual]

Definition at line 4571 of file TSessionViewer.cxx.

References fUserGroup, and gSessionViewer.

TSessionViewer::TSessionViewer ( const char *  title = "ROOT Session Viewer",
UInt_t  w = 550,
UInt_t  h = 320 
)

TSessionViewer::TSessionViewer ( const char *  title,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)

virtual TSessionViewer::~TSessionViewer (  )  [virtual]


Member Function Documentation

void TSessionViewer::Build (  )  [virtual]

Definition at line 4247 of file TSessionViewer.cxx.

References TGToolBar::AddButton(), TGPopupMenu::AddEntry(), TGCompositeFrame::AddFrame(), TGPopupMenu::AddLabel(), TGMenuBar::AddPopup(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::Associate(), buf, TSessionInputFrame::Build(), TSessionOutputFrame::Build(), TSessionServerFrame::Build(), TSessionFrame::Build(), TSessionQueryFrame::Build(), TGPopupMenu::CheckEntry(), TQObject::Connect(), TString::Data(), TGPopupMenu::DisableEntry(), TGListTree::DisableOpen(), fActDesc, fActFrame, fAutoSave, fBaseIcon, fBusy, fCascadeMenu, fChangePic, TGObject::fClient, fConfigFile, fConnectProg, fContextMenu, fElapsed, fFileMenu, UserGroup_t::fGroup, fHelpMenu, fHf, fInputFrame, fLocal, TSessionDescription::fLocal, fLogWindow, fMenuBar, fOptionsMenu, TString::Format(), fOutputFrame, fPopupQry, fPopupSrv, fProofCon, fProofDiscon, fQueryCon, fQueryDiscon, fQueryFrame, fQueryMenu, UserGroup_t::fRealName, fRightIcon, fRightIconPicture, fServerFrame, fSessionFrame, fSessionHierarchy, fSessionMenu, fSessions, fStart, fStatusBar, fTimer, fToolBar, fTreeView, fUserGroup, fV1, fV2, fViewerEnv, gClient, TGStatusBar::GetBarPart(), TGToolBar::GetButton(), TGCompositeFrame::GetDefaultHeight(), TGClient::GetDefaultRoot(), TGFrame::GetDefaultWidth(), TGPicture::GetHeight(), TGClient::GetPicture(), TSessionQueryFrame::GetQueryEditFrame(), TSystem::GetUserInfo(), TGPicture::GetWidth(), gSystem, TGCompositeFrame::HideFrame(), TSystem::HomeDirectory(), i, kButtonDisabled, kConfigFile, kDeepCleanup, kDoubleBorder, kFALSE, kFeedbackHistos, kFileCloseViewer, kFileLoadConfig, kFileQuit, kFileSaveConfig, kFixedWidth, kHelpAbout, kHorizontalFrame, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kOptionsAutoSave, kOptionsFeedback, kOptionsSlaveStatsTrace, kOptionsStatsHist, kOptionsStatsTrace, kQueryDelete, kQueryEdit, kQueryNew, kQueryStartViewer, kQuerySubmit, kSessionAdd, kSessionBrowse, kSessionCleanup, kSessionConnect, kSessionDelete, kSessionDisconnect, kSessionGetQueries, kSessionNew, kSessionReset, kSessionShowStatus, kSessionShutdown, TGProgressBar::kStandard, kSunkenFrame, kTRUE, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TEditQueryFrame::OnNewQueryMore(), p, ReadConfiguration(), TGFrame::Resize(), TSessionServerFrame::SetAddEnabled(), TGProgressBar::SetBarColor(), TGCompositeFrame::SetCleanup(), TSessionServerFrame::SetConnectEnabled(), TGVSplitter::SetFrame(), TGStatusBar::SetParts(), TGButton::SetState(), TGStatusBar::SetText(), TGMainFrame::SetWindowName(), TGMainFrame::SetWMSizeHints(), TGHProgressBar::ShowPosition(), tb_data, TSessionServerFrame::Update(), UpdateListOfProofs(), and xpm_toolbar.

Referenced by TSessionViewer().

Bool_t TSessionViewer::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t   
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 5555 of file TSessionViewer.cxx.

References TSystem::BaseName(), TGPopupMenu::CheckEntry(), CleanupSession(), CloseWindow(), conftypes, DeleteQuery(), EditQuery(), TSystem::Exec(), fAutoSave, fCascadeMenu, TGObject::fClient, fConfigFile, TGFileInfo::fFilename, TGFileInfo::fFileTypes, TGFileInfo::fIniDir, fOptionsMenu, fQueryFrame, fServerFrame, fSessionFrame, fSessionHierarchy, gApplication, gEnv, GET_MSG(), GET_SUBMSG(), TSystem::Getenv(), TGClient::GetRoot(), TGListTree::GetSelected(), TROOT::GetVersion(), gHelpAbout, gROOT, gSystem, TSystem::HomeDirectory(), TGPopupMenu::IsEntryChecked(), TString::IsNull(), kC_COMMAND, kCM_BUTTON, kCM_MENU, kFALSE, kFDSave, kFileCloseViewer, kFileLoadConfig, kFileQuit, kFileSaveConfig, kHelpAbout, kOptionsAutoSave, kOptionsFeedback, kOptionsSlaveStatsTrace, kOptionsStatsHist, kOptionsStatsTrace, kQueryDelete, kQueryEdit, kQueryNew, kQueryStartViewer, kQuerySubmit, kSessionAdd, kSessionCleanup, kSessionConnect, kSessionDelete, kSessionDisconnect, kSessionGetQueries, kSessionNew, kSessionReset, kSessionShowStatus, kSessionShutdown, kTRUE, TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TSessionFrame::OnBtnDisconnectClicked(), TSessionFrame::OnBtnGetQueriesClicked(), TSessionServerFrame::OnBtnNewServerClicked(), TSessionQueryFrame::OnBtnSubmit(), OnCascadeMenu(), OnListTreeClicked(), TNewQueryDlg::Popup(), ReadConfiguration(), ResetSession(), TApplication::ReturnFromRun(), TEnv::SetValue(), ShowStatus(), TSessionFrame::ShutdownSession(), sprintf(), StartViewer(), str, Terminate(), TApplication::Terminate(), TGPopupMenu::UnCheckEntry(), and WriteConfiguration().

TSessionServerFrame* TSessionViewer::GetServerFrame (  )  const [inline]

Definition at line 592 of file TSessionViewer.h.

References fServerFrame.

TSessionFrame* TSessionViewer::GetSessionFrame (  )  const [inline]

Definition at line 593 of file TSessionViewer.h.

References fSessionFrame.

Referenced by TSessionFrame::OnApplyLogLevel(), TSessionFrame::OnApplyParallel(), TSessionServerFrame::OnBtnConnectClicked(), and TUploadDataSetDlg::UploadDataSet().

TSessionQueryFrame* TSessionViewer::GetQueryFrame (  )  const [inline]

Definition at line 594 of file TSessionViewer.h.

References fQueryFrame.

Referenced by TSessionServerFrame::OnBtnConnectClicked(), TEditQueryFrame::OnBtnSave(), TSessionQueryFrame::OnBtnSubmit(), TNewQueryDlg::OnBtnSubmitClicked(), and TEditQueryFrame::SettingsChanged().

TSessionOutputFrame* TSessionViewer::GetOutputFrame (  )  const [inline]

Definition at line 595 of file TSessionViewer.h.

References fOutputFrame.

TSessionInputFrame* TSessionViewer::GetInputFrame (  )  const [inline]

Definition at line 596 of file TSessionViewer.h.

References fInputFrame.

TSessionDescription* TSessionViewer::GetActDesc (  )  const [inline]

Definition at line 597 of file TSessionViewer.h.

References fActDesc.

Referenced by TSessionQueryFrame::Build(), TSessionLogView::CloseWindow(), TSessionQueryFrame::Feedback(), TSessionQueryFrame::IndicateStop(), TSessionQueryFrame::Modified(), TSessionFrame::OnApplyLogLevel(), TSessionFrame::OnApplyParallel(), TSessionQueryFrame::OnBtnAbort(), TSessionFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TSessionFrame::OnBtnDisconnectClicked(), TSessionFrame::OnBtnDownClicked(), TSessionQueryFrame::OnBtnFinalize(), TSessionFrame::OnBtnGetQueriesClicked(), TSessionFrame::OnBtnRemoveClicked(), TSessionFrame::OnBtnRemoveDSet(), TSessionQueryFrame::OnBtnRetrieve(), TEditQueryFrame::OnBtnSave(), TNewQueryDlg::OnBtnSaveClicked(), TSessionQueryFrame::OnBtnStop(), TSessionQueryFrame::OnBtnSubmit(), TSessionFrame::OnBtnUpClicked(), TSessionFrame::OnBtnUploadDSet(), TSessionFrame::OnBtnVerifyDSet(), TSessionFrame::OnClearPackages(), TSessionFrame::OnCommandLine(), TSessionFrame::OnDisablePackages(), TSessionFrame::OnEnablePackages(), TSessionFrame::OnStartupEnable(), TSessionFrame::OnUploadPackages(), TSessionQueryFrame::Progress(), TSessionQueryFrame::ProgressLocal(), TSessionFrame::ProofInfos(), TSessionQueryFrame::ResetProgressDialog(), TSessionServerFrame::SettingsChanged(), TSessionLogView::SetTitle(), TSessionFrame::ShutdownSession(), TNewQueryDlg::TNewQueryDlg(), TUploadDataSetDlg::TUploadDataSetDlg(), TSessionQueryFrame::UpdateButtons(), TSessionQueryFrame::UpdateInfos(), TSessionFrame::UpdateListOfDataSets(), TSessionFrame::UpdatePackages(), and TUploadDataSetDlg::UploadDataSet().

TList* TSessionViewer::GetSessions (  )  const [inline]

Definition at line 598 of file TSessionViewer.h.

References fSessions.

Referenced by TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), and TSessionServerFrame::OnBtnDeleteClicked().

TGListTree* TSessionViewer::GetSessionHierarchy (  )  const [inline]

Definition at line 599 of file TSessionViewer.h.

References fSessionHierarchy.

Referenced by TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TSessionFrame::OnBtnDisconnectClicked(), TSessionQueryFrame::OnBtnFinalize(), TSessionFrame::OnBtnGetQueriesClicked(), TSessionServerFrame::OnBtnNewServerClicked(), TSessionQueryFrame::OnBtnRetrieve(), TEditQueryFrame::OnBtnSave(), TNewQueryDlg::OnBtnSaveClicked(), TSessionQueryFrame::OnBtnShowLog(), TSessionQueryFrame::OnBtnSubmit(), TSessionFrame::ShutdownSession(), and TSessionQueryFrame::UpdateButtons().

TGListTreeItem* TSessionViewer::GetSessionItem (  )  const [inline]

Definition at line 600 of file TSessionViewer.h.

References fSessionItem.

Referenced by TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TSessionFrame::OnBtnDisconnectClicked(), TSessionFrame::OnBtnGetQueriesClicked(), TSessionServerFrame::OnBtnNewServerClicked(), TSessionQueryFrame::OnBtnRetrieve(), TNewQueryDlg::OnBtnSaveClicked(), and TSessionFrame::ShutdownSession().

const TGPicture* TSessionViewer::GetLocalPict (  )  const [inline]

Definition at line 601 of file TSessionViewer.h.

References fLocal.

const TGPicture* TSessionViewer::GetProofConPict (  )  const [inline]

Definition at line 602 of file TSessionViewer.h.

References fProofCon.

Referenced by TSessionServerFrame::OnBtnConnectClicked().

const TGPicture* TSessionViewer::GetProofDisconPict (  )  const [inline]

Definition at line 603 of file TSessionViewer.h.

References fProofDiscon.

Referenced by TSessionServerFrame::OnBtnAddClicked(), TSessionFrame::OnBtnDisconnectClicked(), and TSessionFrame::ShutdownSession().

const TGPicture* TSessionViewer::GetQueryConPict (  )  const [inline]

Definition at line 604 of file TSessionViewer.h.

References fQueryCon.

Referenced by TSessionFrame::OnBtnGetQueriesClicked(), and TNewQueryDlg::OnBtnSaveClicked().

const TGPicture* TSessionViewer::GetQueryDisconPict (  )  const [inline]

Definition at line 605 of file TSessionViewer.h.

References fQueryDiscon.

const TGPicture* TSessionViewer::GetBasePict (  )  const [inline]

Definition at line 606 of file TSessionViewer.h.

References fBaseIcon.

TGPopupMenu* TSessionViewer::GetPopupSrv (  )  const [inline]

Definition at line 607 of file TSessionViewer.h.

References fPopupSrv.

TGPopupMenu* TSessionViewer::GetPopupQry (  )  const [inline]

Definition at line 608 of file TSessionViewer.h.

References fPopupQry.

TContextMenu* TSessionViewer::GetContextMenu (  )  const [inline]

Definition at line 609 of file TSessionViewer.h.

References fContextMenu.

Referenced by TSessionOutputFrame::OnElementClicked().

TGStatusBar* TSessionViewer::GetStatusBar (  )  const [inline]

Definition at line 610 of file TSessionViewer.h.

References fStatusBar.

Referenced by TSessionServerFrame::OnBtnConnectClicked(), TSessionFrame::OnBtnDisconnectClicked(), and TSessionFrame::ShutdownSession().

TGHProgressBar* TSessionViewer::GetConnectProg (  )  const [inline]

Definition at line 611 of file TSessionViewer.h.

References fConnectProg.

Referenced by TSessionServerFrame::OnBtnConnectClicked().

TGPopupMenu* TSessionViewer::GetCascadeMenu (  )  const [inline]

Definition at line 612 of file TSessionViewer.h.

References fCascadeMenu.

Referenced by TSessionServerFrame::OnBtnConnectClicked(), TSessionQueryFrame::OnBtnSubmit(), and TSessionQueryFrame::UpdateHistos().

TGPopupMenu* TSessionViewer::GetOptionsMenu (  )  const [inline]

Definition at line 613 of file TSessionViewer.h.

References fOptionsMenu.

Referenced by TSessionServerFrame::OnBtnConnectClicked(), and TSessionQueryFrame::OnBtnSubmit().

void TSessionViewer::ChangeRightLogo ( const char *  name  ) 

Definition at line 4917 of file TSessionViewer.cxx.

References TGObject::fClient, TGClient::FreePicture(), fRightIcon, fRightIconPicture, TGClient::GetPicture(), and TGIcon::SetPicture().

Referenced by DisableTimer(), HandleTimer(), TSessionQueryFrame::OnBtnAbort(), TSessionServerFrame::OnBtnConnectClicked(), TSessionQueryFrame::OnBtnStop(), TSessionQueryFrame::Progress(), TSessionQueryFrame::ProgressLocal(), and UpdateListOfProofs().

void TSessionViewer::CleanupSession (  ) 

Definition at line 5058 of file TSessionViewer.cxx.

References xmlio::Class, TProof::CleanupSession(), TList::Clear(), TGContainer::ClearViewPort(), TString::Data(), TGListTree::DeleteChildren(), fActDesc, fAutoSave, TGObject::fClient, TSessionDescription::fName, TString::Form(), TSessionDescription::fProof, TSessionDescription::fQueries, fSessionFrame, fSessionHierarchy, TSessionDescription::fTag, TGClient::GetRoot(), TGListTree::GetSelected(), TGListTreeItem::GetUserData(), TProof::IsValid(), kMBCancel, kMBNo, kMBYes, m, TGClient::NeedRedraw(), TSessionFrame::OnBtnGetQueriesClicked(), result(), and WriteConfiguration().

Referenced by MyHandleMenu(), and ProcessMessage().

void TSessionViewer::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 4883 of file TSessionViewer.cxx.

References TSystem::AccessPathName(), TGCompositeFrame::Cleanup(), TList::Delete(), TGListTree::DeleteChildren(), TGFrame::DeleteWindow(), fAutoSave, fBaseIcon, TGObject::fClient, fLocal, TString::Format(), fProofCon, fProofDiscon, fQueryCon, fQueryDiscon, TGClient::FreePicture(), fSessionHierarchy, fSessionItem, fSessions, fTimer, gSystem, kSession_RedirectCmd, kSession_RedirectFile, TSystem::TempDirectory(), TSystem::Unlink(), and WriteConfiguration().

Referenced by ProcessMessage().

void TSessionViewer::DisableTimer (  ) 

Definition at line 4938 of file TSessionViewer.cxx.

References ChangeRightLogo(), fTimer, and TTimer::TurnOff().

Referenced by TSessionFrame::OnBtnDisconnectClicked(), ResetSession(), and TSessionFrame::ShutdownSession().

void TSessionViewer::EditQuery (  ) 

Definition at line 5180 of file TSessionViewer.cxx.

References xmlio::Class, fSessionHierarchy, TGListTree::GetSelected(), TGListTreeItem::GetUserData(), kTRUE, and TNewQueryDlg::Popup().

Referenced by MyHandleMenu(), and ProcessMessage().

void TSessionViewer::EnableTimer (  ) 

Definition at line 4927 of file TSessionViewer.cxx.

References fStart, fTimer, TTimer::Reset(), and TTimer::TurnOn().

Referenced by TSessionServerFrame::OnBtnConnectClicked(), TSessionQueryFrame::OnBtnSubmit(), and UpdateListOfProofs().

Bool_t TSessionViewer::HandleTimer ( TTimer *   )  [virtual]

Reimplemented from TGWindow.

Definition at line 4948 of file TSessionViewer.cxx.

References buf, chain, ChangeRightLogo(), fActDesc, TSessionDescription::fActQuery, TQueryDescription::fChain, fChangePic, fElapsed, TSessionDescription::fLocal, fQueryFrame, fStart, TQueryDescription::fStatus, fStatusBar, fTimer, TChain::GetEntries(), TChain::GetReadEntry(), gRandom, if(), TRandom::Integer(), TQueryDescription::kSessionQueryRunning, kTRUE, TSessionQueryFrame::ProgressLocal(), TTimer::Reset(), TGStatusBar::SetText(), and xpm_names.

Bool_t TSessionViewer::IsBusy (  )  const [inline]

Definition at line 622 of file TSessionViewer.h.

References fBusy.

Referenced by TSessionFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TSessionServerFrame::OnBtnNewServerClicked(), TSessionFrame::OnBtnUploadDSet(), TSessionServerFrame::OnConfigFileClicked(), and TSessionFrame::ShutdownSession().

Bool_t TSessionViewer::IsAutoSave (  )  const [inline]

Definition at line 623 of file TSessionViewer.h.

References fAutoSave.

Referenced by TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), and TSessionServerFrame::OnBtnDeleteClicked().

void TSessionViewer::LogMessage ( const char *  msg,
Bool_t  all 
)

Definition at line 4983 of file TSessionViewer.cxx.

References TSessionLogView::AddBuffer(), fLogWindow, and TSessionLogView::LoadBuffer().

void TSessionViewer::MyHandleMenu ( Int_t   ) 

Definition at line 5429 of file TSessionViewer.cxx.

References b, TProof::Browse(), CleanupSession(), DeleteQuery(), EditQuery(), fActDesc, TSessionDescription::fProof, fQueryFrame, fServerFrame, fSessionFrame, TProof::IsValid(), kQueryDelete, kQueryEdit, kQueryStartViewer, kQuerySubmit, kSessionBrowse, kSessionCleanup, kSessionConnect, kSessionDelete, kSessionDisconnect, kSessionGetQueries, kSessionReset, kSessionShowStatus, kSessionShutdown, TSessionServerFrame::OnBtnConnectClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TSessionFrame::OnBtnDisconnectClicked(), TSessionFrame::OnBtnGetQueriesClicked(), TSessionQueryFrame::OnBtnSubmit(), ResetSession(), ShowStatus(), TSessionFrame::ShutdownSession(), and StartViewer().

void TSessionViewer::OnCascadeMenu (  ) 

Definition at line 5493 of file TSessionViewer.cxx.

References TProof::AddFeedback(), TCanvas::cd(), TCanvas::Clear(), TProof::ClearFeedback(), TPad::Divide(), fActDesc, TSessionDescription::fActQuery, TSessionDescription::fAttached, fCascadeMenu, TQueryDescription::fFirstEntry, TQueryDescription::fNbFiles, TSessionDescription::fNbHistos, TQueryDescription::fNoEntries, fOptionsMenu, TSessionDescription::fProof, fQueryFrame, TQueryDescription::fResult, TQueryDescription::fSelectorString, TQueryResult::GetOutputList(), TSessionQueryFrame::GetStatsCanvas(), i, TGPopupMenu::IsEntryChecked(), TProof::IsValid(), kFeedbackHistos, kOptionsFeedback, kTRUE, TPad::Modified(), TSessionQueryFrame::ResetProgressDialog(), TPad::SetEditable(), TCanvas::Update(), TSessionQueryFrame::UpdateHistos(), and TSessionQueryFrame::UpdateInfos().

Referenced by TSessionQueryFrame::OnBtnRetrieve(), OnListTreeClicked(), and ProcessMessage().

void TSessionViewer::OnListTreeClicked ( TGListTreeItem *  entry,
Int_t  btn,
Int_t  x,
Int_t  y 
)

Definition at line 4581 of file TSessionViewer.cxx.

References TSessionOutputFrame::AddObject(), TSessionInputFrame::AddObject(), TProof::cd(), chain, TSessionFrame::CheckAutoEnPack(), xmlio::Class, TString::Data(), TGPopupMenu::DisableEntry(), TGPopupMenu::EnableEntry(), entry, fActDesc, fActFrame, TSessionDescription::fActQuery, TSessionDescription::fAttached, TSessionDescription::fAutoEnable, TQueryDescription::fChain, TGObject::fClient, TSessionDescription::fConnected, fInputFrame, TSessionDescription::fLocal, TSessionDescription::fLogLevel, TSessionDescription::fName, TString::Form(), fOutputFrame, fPopupQry, fPopupSrv, TSessionDescription::fProof, fQueryFrame, fQueryMenu, TQueryDescription::fResult, fServerFrame, fSessionFrame, fSessionHierarchy, fSessionMenu, TQueryDescription::fStatus, fStatusBar, fToolBar, fV2, TGToolBar::GetButton(), TQueryResult::GetInputList(), TSessionInputFrame::GetLVContainer(), TSessionOutputFrame::GetLVContainer(), TQueryResult::GetOutputList(), TTree::GetPlayer(), TGListTree::GetSelected(), TGListTreeItem::GetUserData(), TGCompositeFrame::HideFrame(), if(), TProof::IsValid(), kButtonDisabled, kButtonUp, kFALSE, kQuerySubmit, kSessionAdd, kSessionCleanup, kSessionConnect, kSessionDelete, kSessionDisconnect, kSessionGetQueries, TQueryDescription::kSessionQueryRunning, TQueryDescription::kSessionQuerySubmitted, kSessionReset, kSessionShowStatus, kSessionShutdown, kTRUE, TGClient::NeedRedraw(), OnCascadeMenu(), TGPopupMenu::PlaceMenu(), TSessionFrame::ProofInfos(), TSessionInputFrame::RemoveAll(), TSessionOutputFrame::RemoveAll(), TGFrame::Resize(), TSessionServerFrame::SetAddEnabled(), TSessionServerFrame::SetConnectEnabled(), TSessionFrame::SetLocal(), TSessionFrame::SetLogLevel(), TSessionServerFrame::SetLogLevel(), TGButton::SetState(), TGStatusBar::SetText(), TGCompositeFrame::ShowFrame(), TSessionServerFrame::Update(), TSessionQueryFrame::UpdateButtons(), TSessionQueryFrame::UpdateInfos(), TSessionFrame::UpdateListOfDataSets(), UpdateListOfPackages(), and TSessionFrame::UpdatePackages().

Referenced by TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TSessionFrame::OnBtnDisconnectClicked(), TSessionServerFrame::OnBtnNewServerClicked(), TNewQueryDlg::OnBtnSaveClicked(), ProcessMessage(), ResetSession(), and TSessionFrame::ShutdownSession().

void TSessionViewer::OnListTreeDoubleClicked ( TGListTreeItem *  entry,
Int_t  btn 
)

Definition at line 4832 of file TSessionViewer.cxx.

References xmlio::Class, entry, fActDesc, TSessionDescription::fAttached, TSessionDescription::fConnected, TSessionDescription::fLocal, fServerFrame, fSessionItem, and TSessionServerFrame::OnBtnConnectClicked().

void TSessionViewer::QueryResultReady ( char *  query  ) 

Definition at line 4999 of file TSessionViewer.cxx.

References TGListTree::AddItem(), TGContainer::ClearViewPort(), TString::Contains(), TString::Data(), TSessionDescription::fAttached, TQueryDescription::fChain, TGObject::fClient, TGListTree::FindChildByName(), TGListTree::FindItemByObj(), TString::Form(), TSessionDescription::fProof, TSessionDescription::fQueries, fQueryFrame, TQueryDescription::fReference, TQueryDescription::fResult, fSessionHierarchy, fSessionItem, fSessions, TQueryDescription::fStatus, TQueryResult::GetInputList(), TQueryResult::GetInputObject(), TQueryResult::GetOutputList(), TProof::GetQueryResult(), TQueryResult::GetStatus(), TQueryResult::IsFinalized(), TQueryDescription::kSessionQueryFinalized, TQueryDescription::kSessionQueryFromProof, TGClient::NeedRedraw(), o, ShowInfo(), TSessionQueryFrame::UpdateButtons(), and TSessionQueryFrame::UpdateInfos().

void TSessionViewer::DeleteQuery (  ) 

Definition at line 5130 of file TSessionViewer.cxx.

References xmlio::Class, TGContainer::ClearViewPort(), TString::Data(), TGListTree::DeleteItem(), fActDesc, TSessionDescription::fActQuery, TSessionDescription::fAttached, fAutoSave, TGObject::fClient, TSessionDescription::fProof, TSessionDescription::fQueries, TQueryDescription::fQueryName, TQueryDescription::fReference, fSessionHierarchy, TQueryDescription::fStatus, TGClient::GetRoot(), TGListTree::GetSelected(), TGListTreeItem::GetUserData(), TProof::IsValid(), kMBCancel, kMBIconExclamation, kMBIconQuestion, kMBNo, kMBOk, kMBYes, TQueryDescription::kSessionQueryRunning, TQueryDescription::kSessionQuerySubmitted, m, TGClient::NeedRedraw(), TList::Remove(), TProof::Remove(), result(), and WriteConfiguration().

Referenced by MyHandleMenu(), and ProcessMessage().

void TSessionViewer::ReadConfiguration ( const char *  filename = 0  ) 

Definition at line 3615 of file TSessionViewer.cxx.

References TList::Add(), TGListTree::AddItem(), TGPopupMenu::CheckEntry(), TGListTree::ClearHighlighted(), TGContainer::ClearViewPort(), xmlio::cnt, TString::Data(), TList::Delete(), TGListTree::DeleteChildren(), fActDesc, TSessionDescription::fActQuery, TSessionDescription::fAddress, TSessionDescription::fAttached, TSessionDescription::fAutoEnable, fBaseIcon, fCascadeMenu, TQueryDescription::fChain, TGObject::fClient, fConfigFile, TSessionDescription::fConfigFile, TSessionDescription::fConnected, TQueryDescription::fEventList, TQueryDescription::fFirstEntry, TGListTree::FindChildByData(), fLocal, TSessionDescription::fLocal, TSessionDescription::fLogLevel, TSessionDescription::fName, TQueryDescription::fNbFiles, TSessionDescription::fNbHistos, TQueryDescription::fNoEntries, TQueryDescription::fOptions, fOptionsMenu, Form(), TSessionDescription::fPackages, TSessionDescription::fPort, TSessionDescription::fProof, fProofDiscon, TSessionDescription::fProofMgr, TSessionDescription::fQueries, fQueryCon, TQueryDescription::fQueryName, TQueryDescription::fReference, TQueryDescription::fResult, TQueryDescription::fSelectorString, fSessionHierarchy, fSessionItem, fSessions, TQueryDescription::fStatus, TSessionDescription::fSync, TSessionDescription::fTag, TQueryDescription::fTDSetString, TSessionDescription::fUserName, fViewerEnv, gEnv, TSystem::GetSysInfo(), TEnv::GetTable(), TEnv::GetValue(), gSystem, TGListTree::HighlightItem(), i, info, TString::IsNull(), kEnvUser, kFALSE, kFeedbackHistos, kOptionsFeedback, kOptionsSlaveStatsTrace, kOptionsStatsHist, kOptionsStatsTrace, kTRUE, TString::Length(), name, TGClient::NeedRedraw(), TGListTree::OpenItem(), XrdMonCtrCollector::port, TEnv::ReadFile(), s, TGListTree::SetSelected(), TGListTree::SetToolTipItem(), TGListTreeItem::SetUserData(), TEnv::SetValue(), StrDup(), TGPopupMenu::UnCheckEntry(), and val.

Referenced by Build(), and ProcessMessage().

void TSessionViewer::ResetSession (  ) 

Definition at line 5091 of file TSessionViewer.cxx.

References xmlio::Class, TGContainer::ClearViewPort(), TString::Data(), DisableTimer(), fActDesc, TSessionDescription::fAddress, TSessionDescription::fAttached, TGObject::fClient, TGListTree::FindChildByData(), TSessionDescription::fName, TSessionDescription::fProof, fProofDiscon, fSessionHierarchy, fSessionItem, fStatusBar, TSessionDescription::fUserName, TGClient::GetRoot(), TGListTree::GetSelected(), TGListTreeItem::GetUserData(), TProof::IsValid(), kFALSE, kMBCancel, kMBNo, kMBYes, m, TProof::Mgr(), TGClient::NeedRedraw(), OnListTreeClicked(), TProofMgr::Reset(), result(), TGListTreeItem::SetPictures(), and TGStatusBar::SetText().

Referenced by MyHandleMenu(), and ProcessMessage().

void TSessionViewer::UpdateListOfProofs (  ) 

Definition at line 3854 of file TSessionViewer.cxx.

References TList::Add(), TGListTree::AddItem(), ChangeRightLogo(), TQObject::Connect(), d, TString::Data(), TGPopupMenu::DisableEntry(), TGPopupMenu::EnableEntry(), EnableTimer(), fActDesc, fActFrame, TSessionDescription::fActQuery, TSessionDescription::fAddress, TSessionDescription::fAttached, TSessionDescription::fAutoEnable, TSessionDescription::fConfigFile, TSessionDescription::fConnected, TGListTree::FindChildByData(), TSeqCollection::First(), TSessionDescription::fLocal, TSessionDescription::fLogLevel, TSessionDescription::fName, TSessionDescription::fNbHistos, TString::Form(), TSessionDescription::fPackages, fPopupSrv, TSessionDescription::fPort, TSessionDescription::fProof, fProofCon, fProofDiscon, TSessionDescription::fProofMgr, TSessionDescription::fQueries, fQueryFrame, fSessionFrame, fSessionHierarchy, fSessionItem, fSessionMenu, fSessions, fStatusBar, TSessionDescription::fSync, TSessionDescription::fTag, fToolBar, TSessionDescription::fUserName, fV2, TGToolBar::GetButton(), TProof::GetConfFile(), TROOT::GetListOfProofs(), TProof::GetLogLevel(), TProof::GetMaster(), TProof::GetPort(), TGListTree::GetSelected(), TProof::GetUser(), gROOT, TGCompositeFrame::HideFrame(), TProof::IsLite(), kButtonDisabled, kButtonUp, kFALSE, kSessionConnect, kSessionDisconnect, kTRUE, o, p, proof, TSessionFrame::ProofInfos(), TProofMgr::QuerySessions(), SetChangePic(), TSessionFrame::SetLocal(), TSessionFrame::SetLogLevel(), TGListTreeItem::SetPictures(), TGButton::SetState(), TGStatusBar::SetText(), TGListTree::SetToolTipItem(), TGListTreeItem::SetUserData(), TGCompositeFrame::ShowFrame(), TSessionFrame::UpdateListOfDataSets(), UpdateListOfPackages(), and TSessionFrame::UpdatePackages().

Referenced by Build().

void TSessionViewer::UpdateListOfSessions (  ) 

Definition at line 4076 of file TSessionViewer.cxx.

References TList::Add(), TGListTree::AddItem(), TString::Data(), fActDesc, TSessionDescription::fActQuery, TSessionDescription::fAddress, TSessionDescription::fAttached, TSessionDescription::fAutoEnable, TSessionDescription::fConfigFile, TSessionDescription::fConnected, TSessionDescription::fLocal, TSessionDescription::fLogLevel, TSessionDescription::fName, TSessionDescription::fNbHistos, TSessionDescription::fPackages, TSessionDescription::fPort, TSessionDescription::fProof, fProofDiscon, TSessionDescription::fProofMgr, TSessionDescription::fQueries, fSessionHierarchy, fSessionItem, fSessions, TSessionDescription::fSync, TSessionDescription::fTag, TSessionDescription::fUserName, TProof::GetConfFile(), TProof::GetLogLevel(), TProof::GetMaster(), TNamed::GetName(), TProof::GetPort(), TProofDesc::GetProof(), TNamed::GetTitle(), TProof::GetUser(), TProof::IsLite(), kFALSE, kTRUE, proof, TProofMgr::QuerySessions(), TGListTree::SetToolTipItem(), and TGListTreeItem::SetUserData().

Referenced by TSessionServerFrame::OnBtnConnectClicked().

void TSessionViewer::UpdateListOfPackages (  ) 

Definition at line 5253 of file TSessionViewer.cxx.

References TList::Add(), fActDesc, TSessionDescription::fAttached, TSessionDescription::fConnected, TPackageDescription::fEnabled, TPackageDescription::fId, TList::FindObject(), TPackageDescription::fName, TSessionDescription::fPackages, TPackageDescription::fPathName, TSessionDescription::fProof, TPackageDescription::fUploaded, TCollection::GetEntries(), TProof::GetListOfEnabledPackages(), TProof::GetListOfPackages(), TObjString::GetName(), TProof::IsParallel(), TProof::IsValid(), kFALSE, and kTRUE.

Referenced by TSessionServerFrame::OnBtnConnectClicked(), OnListTreeClicked(), and UpdateListOfProofs().

void TSessionViewer::WriteConfiguration ( const char *  filename = 0  ) 

Definition at line 4153 of file TSessionViewer.cxx.

References TString::Data(), TSessionDescription::fAddress, TSessionDescription::fAutoEnable, fCascadeMenu, fConfigFile, TSessionDescription::fConfigFile, TQueryDescription::fEventList, TQueryDescription::fFirstEntry, TSessionDescription::fLogLevel, TSessionDescription::fName, TQueryDescription::fNbFiles, TQueryDescription::fNoEntries, TQueryDescription::fOptions, fOptionsMenu, Form(), TString::Format(), TSessionDescription::fPort, TSessionDescription::fQueries, TQueryDescription::fQueryName, TQueryDescription::fReference, TQueryDescription::fSelectorString, fSessions, TQueryDescription::fStatus, TSessionDescription::fSync, TSessionDescription::fTag, TQueryDescription::fTDSetString, TSessionDescription::fUserName, fViewerEnv, gSystem, i, TGPopupMenu::IsEntryChecked(), kFeedbackHistos, kOptionsFeedback, kOptionsSlaveStatsTrace, kOptionsStatsHist, kOptionsStatsTrace, TString::Length(), TEnv::SetValue(), TSystem::Unlink(), and TEnv::WriteFile().

Referenced by CleanupSession(), CloseWindow(), DeleteQuery(), TSessionServerFrame::OnBtnAddClicked(), TSessionServerFrame::OnBtnConnectClicked(), TSessionServerFrame::OnBtnDeleteClicked(), TEditQueryFrame::OnBtnSave(), TNewQueryDlg::OnBtnSaveClicked(), ProcessMessage(), and Terminate().

void TSessionViewer::SetBusy ( Bool_t  busy = kTRUE  )  [inline]

Definition at line 637 of file TSessionViewer.h.

References fBusy.

Referenced by TSessionServerFrame::OnBtnConnectClicked().

void TSessionViewer::SetChangePic ( Bool_t  change  )  [inline]

Definition at line 638 of file TSessionViewer.h.

References fChangePic.

Referenced by TSessionQueryFrame::OnBtnAbort(), TSessionServerFrame::OnBtnConnectClicked(), TSessionQueryFrame::OnBtnStop(), TSessionQueryFrame::OnBtnSubmit(), TSessionQueryFrame::Progress(), TSessionQueryFrame::ProgressLocal(), and UpdateListOfProofs().

void TSessionViewer::SetLogWindow ( TSessionLogView *  log  )  [inline]

Definition at line 639 of file TSessionViewer.h.

References fLogWindow, and log().

Referenced by TSessionLogView::CloseWindow().

void TSessionViewer::ShowEnabledPackages (  ) 

Definition at line 5300 of file TSessionViewer.cxx.

References TObject::Clear(), TString::Data(), TObject::Error(), fActDesc, TGObject::fClient, TSessionDescription::fLocal, fLogWindow, TString::Format(), TSessionDescription::fProof, TGClient::GetDefaultRoot(), TGFrame::GetHeight(), TGObject::GetId(), gSystem, gVirtualX, TProof::IsValid(), kSession_RedirectFile, kTRUE, TSessionLogView::LoadFile(), TGFrame::Move(), TSessionLogView::Popup(), TSystem::RedirectOutput(), TProof::ShowEnabledPackages(), and TSystem::TempDirectory().

void TSessionViewer::ShowPackages (  ) 

Definition at line 5215 of file TSessionViewer.cxx.

References TObject::Clear(), TString::Data(), TObject::Error(), fActDesc, TGObject::fClient, TSessionDescription::fLocal, fLogWindow, TString::Format(), TSessionDescription::fProof, TGClient::GetDefaultRoot(), TGFrame::GetHeight(), TGObject::GetId(), gSystem, gVirtualX, TProof::IsValid(), kSession_RedirectFile, kTRUE, TSessionLogView::LoadFile(), TGFrame::Move(), TSessionLogView::Popup(), TSystem::RedirectOutput(), TProof::ShowPackages(), and TSystem::TempDirectory().

void TSessionViewer::ShowInfo ( const char *  txt  ) 

Definition at line 5373 of file TSessionViewer.cxx.

References TGObject::fClient, fStatusBar, gSystem, TGClient::NeedRedraw(), TSystem::ProcessEvents(), and TGStatusBar::SetText().

Referenced by QueryResultReady().

void TSessionViewer::ShowLog ( const char *  queryref  ) 

Definition at line 5338 of file TSessionViewer.cxx.

References TObject::Clear(), TQObject::Connect(), fActDesc, TGObject::fClient, fLogWindow, TSessionDescription::fProof, TGClient::GetDefaultRoot(), TGFrame::GetHeight(), TGObject::GetId(), gVirtualX, kTRUE, kWatch, TGFrame::Move(), TSessionLogView::Popup(), TProof::SendingLogToWindow(), TProof::SendLogToWindow(), and TProof::ShowLog().

Referenced by TSessionQueryFrame::OnBtnShowLog(), and TSessionFrame::OnBtnShowLogClicked().

void TSessionViewer::ShowStatus (  ) 

Definition at line 5383 of file TSessionViewer.cxx.

References TObject::Clear(), TString::Data(), TObject::Error(), fActDesc, TGObject::fClient, fLogWindow, TString::Format(), TSessionDescription::fProof, TGClient::GetDefaultRoot(), TGFrame::GetHeight(), TGObject::GetId(), TProof::GetStatus(), gSystem, gVirtualX, TProof::IsValid(), kSession_RedirectFile, TSessionLogView::LoadFile(), TGFrame::Move(), TSessionLogView::Popup(), TSystem::RedirectOutput(), and TSystem::TempDirectory().

Referenced by MyHandleMenu(), and ProcessMessage().

void TSessionViewer::StartupMessage ( char *  msg,
Bool_t  stat,
Int_t  curr,
Int_t  total 
)

Definition at line 5419 of file TSessionViewer.cxx.

References fConnectProg, fStatusBar, TGProgressBar::SetPosition(), and TGStatusBar::SetText().

void TSessionViewer::StartViewer (  ) 

Definition at line 5194 of file TSessionViewer.cxx.

References xmlio::Class, TQueryDescription::fChain, TQueryDescription::fResult, fSessionHierarchy, TQueryResult::GetInputObject(), TGListTree::GetSelected(), and TGListTreeItem::GetUserData().

Referenced by MyHandleMenu(), and ProcessMessage().

void TSessionViewer::Terminate (  ) 

Definition at line 4854 of file TSessionViewer.cxx.

References TSystem::AccessPathName(), TProof::Detach(), TSessionDescription::fAttached, fAutoSave, TString::Format(), TSessionDescription::fProof, fSessions, gSystem, TProof::IsValid(), kSession_RedirectCmd, kSession_RedirectFile, TSystem::TempDirectory(), TSystem::Unlink(), and WriteConfiguration().

Referenced by ProcessMessage().

virtual void TSessionViewer::Build (  )  [virtual]

virtual Bool_t TSessionViewer::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t   
) [virtual]

Reimplemented from TGCompositeFrame.

TSessionServerFrame* TSessionViewer::GetServerFrame (  )  const [inline]

Definition at line 592 of file TSessionViewer.h.

References fServerFrame.

TSessionFrame* TSessionViewer::GetSessionFrame (  )  const [inline]

Definition at line 593 of file TSessionViewer.h.

References fSessionFrame.

TSessionQueryFrame* TSessionViewer::GetQueryFrame (  )  const [inline]

Definition at line 594 of file TSessionViewer.h.

References fQueryFrame.

TSessionOutputFrame* TSessionViewer::GetOutputFrame (  )  const [inline]

Definition at line 595 of file TSessionViewer.h.

References fOutputFrame.

TSessionInputFrame* TSessionViewer::GetInputFrame (  )  const [inline]

Definition at line 596 of file TSessionViewer.h.

References fInputFrame.

TSessionDescription* TSessionViewer::GetActDesc (  )  const [inline]

Definition at line 597 of file TSessionViewer.h.

References fActDesc.

TList* TSessionViewer::GetSessions (  )  const [inline]

Definition at line 598 of file TSessionViewer.h.

References fSessions.

TGListTree* TSessionViewer::GetSessionHierarchy (  )  const [inline]

Definition at line 599 of file TSessionViewer.h.

References fSessionHierarchy.

TGListTreeItem* TSessionViewer::GetSessionItem (  )  const [inline]

Definition at line 600 of file TSessionViewer.h.

References fSessionItem.

const TGPicture* TSessionViewer::GetLocalPict (  )  const [inline]

Definition at line 601 of file TSessionViewer.h.

References fLocal.

const TGPicture* TSessionViewer::GetProofConPict (  )  const [inline]

Definition at line 602 of file TSessionViewer.h.

References fProofCon.

const TGPicture* TSessionViewer::GetProofDisconPict (  )  const [inline]

Definition at line 603 of file TSessionViewer.h.

References fProofDiscon.

const TGPicture* TSessionViewer::GetQueryConPict (  )  const [inline]

Definition at line 604 of file TSessionViewer.h.

References fQueryCon.

const TGPicture* TSessionViewer::GetQueryDisconPict (  )  const [inline]

Definition at line 605 of file TSessionViewer.h.

References fQueryDiscon.

const TGPicture* TSessionViewer::GetBasePict (  )  const [inline]

Definition at line 606 of file TSessionViewer.h.

References fBaseIcon.

TGPopupMenu* TSessionViewer::GetPopupSrv (  )  const [inline]

Definition at line 607 of file TSessionViewer.h.

References fPopupSrv.

TGPopupMenu* TSessionViewer::GetPopupQry (  )  const [inline]

Definition at line 608 of file TSessionViewer.h.

References fPopupQry.

TContextMenu* TSessionViewer::GetContextMenu (  )  const [inline]

Definition at line 609 of file TSessionViewer.h.

References fContextMenu.

TGStatusBar* TSessionViewer::GetStatusBar (  )  const [inline]

Definition at line 610 of file TSessionViewer.h.

References fStatusBar.

TGHProgressBar* TSessionViewer::GetConnectProg (  )  const [inline]

Definition at line 611 of file TSessionViewer.h.

References fConnectProg.

TGPopupMenu* TSessionViewer::GetCascadeMenu (  )  const [inline]

Definition at line 612 of file TSessionViewer.h.

References fCascadeMenu.

TGPopupMenu* TSessionViewer::GetOptionsMenu (  )  const [inline]

Definition at line 613 of file TSessionViewer.h.

References fOptionsMenu.

void TSessionViewer::ChangeRightLogo ( const char *  name  ) 

void TSessionViewer::CleanupSession (  ) 

void TSessionViewer::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

void TSessionViewer::DisableTimer (  ) 

void TSessionViewer::EditQuery (  ) 

void TSessionViewer::EnableTimer (  ) 

Bool_t TSessionViewer::HandleTimer ( TTimer *   )  [virtual]

Reimplemented from TGWindow.

Bool_t TSessionViewer::IsBusy (  )  const [inline]

Definition at line 622 of file TSessionViewer.h.

References fBusy.

Bool_t TSessionViewer::IsAutoSave (  )  const [inline]

Definition at line 623 of file TSessionViewer.h.

References fAutoSave.

void TSessionViewer::LogMessage ( const char *  msg,
Bool_t  all 
)

void TSessionViewer::MyHandleMenu ( Int_t   ) 

void TSessionViewer::OnCascadeMenu (  ) 

void TSessionViewer::OnListTreeClicked ( TGListTreeItem *  entry,
Int_t  btn,
Int_t  x,
Int_t  y 
)

void TSessionViewer::OnListTreeDoubleClicked ( TGListTreeItem *  entry,
Int_t  btn 
)

void TSessionViewer::QueryResultReady ( char *  query  ) 

void TSessionViewer::DeleteQuery (  ) 

void TSessionViewer::ReadConfiguration ( const char *  filename = 0  ) 

void TSessionViewer::ResetSession (  ) 

void TSessionViewer::UpdateListOfProofs (  ) 

void TSessionViewer::UpdateListOfSessions (  ) 

void TSessionViewer::UpdateListOfPackages (  ) 

void TSessionViewer::WriteConfiguration ( const char *  filename = 0  ) 

void TSessionViewer::SetBusy ( Bool_t  busy = kTRUE  )  [inline]

Definition at line 637 of file TSessionViewer.h.

References fBusy.

void TSessionViewer::SetChangePic ( Bool_t  change  )  [inline]

Definition at line 638 of file TSessionViewer.h.

References fChangePic.

void TSessionViewer::SetLogWindow ( TSessionLogView *  log  )  [inline]

Definition at line 639 of file TSessionViewer.h.

References fLogWindow, and log().

void TSessionViewer::ShowEnabledPackages (  ) 

void TSessionViewer::ShowPackages (  ) 

void TSessionViewer::ShowInfo ( const char *  txt  ) 

void TSessionViewer::ShowLog ( const char *  queryref  ) 

void TSessionViewer::ShowStatus (  ) 

void TSessionViewer::StartupMessage ( char *  msg,
Bool_t  stat,
Int_t  curr,
Int_t  total 
)

void TSessionViewer::StartViewer (  ) 

void TSessionViewer::Terminate (  ) 


Member Data Documentation

time_t TSessionViewer::fStart [private]

Definition at line 536 of file TSessionViewer.h.

Referenced by Build(), EnableTimer(), and HandleTimer().

time_t TSessionViewer::fElapsed [private]

Definition at line 536 of file TSessionViewer.h.

Referenced by Build(), and HandleTimer().

Bool_t TSessionViewer::fChangePic [private]

Definition at line 537 of file TSessionViewer.h.

Referenced by Build(), HandleTimer(), and SetChangePic().

Bool_t TSessionViewer::fBusy [private]

Definition at line 538 of file TSessionViewer.h.

Referenced by Build(), IsBusy(), and SetBusy().

TGHorizontalFrame* TSessionViewer::fHf [private]

Definition at line 539 of file TSessionViewer.h.

Referenced by Build().

TGVerticalFrame* TSessionViewer::fV1 [private]

Definition at line 540 of file TSessionViewer.h.

Referenced by Build().

TGVerticalFrame* TSessionViewer::fV2 [private]

Definition at line 541 of file TSessionViewer.h.

Referenced by Build(), OnListTreeClicked(), and UpdateListOfProofs().

TSessionServerFrame* TSessionViewer::fServerFrame [private]

Definition at line 542 of file TSessionViewer.h.

Referenced by Build(), GetServerFrame(), MyHandleMenu(), OnListTreeClicked(), OnListTreeDoubleClicked(), and ProcessMessage().

TSessionFrame* TSessionViewer::fSessionFrame [private]

Definition at line 543 of file TSessionViewer.h.

Referenced by Build(), CleanupSession(), GetSessionFrame(), MyHandleMenu(), OnListTreeClicked(), ProcessMessage(), and UpdateListOfProofs().

TSessionQueryFrame* TSessionViewer::fQueryFrame [private]

Definition at line 544 of file TSessionViewer.h.

Referenced by Build(), GetQueryFrame(), HandleTimer(), MyHandleMenu(), OnCascadeMenu(), OnListTreeClicked(), ProcessMessage(), QueryResultReady(), and UpdateListOfProofs().

TSessionOutputFrame* TSessionViewer::fOutputFrame [private]

Definition at line 545 of file TSessionViewer.h.

Referenced by Build(), GetOutputFrame(), and OnListTreeClicked().

TSessionInputFrame* TSessionViewer::fInputFrame [private]

Definition at line 546 of file TSessionViewer.h.

Referenced by Build(), GetInputFrame(), and OnListTreeClicked().

TSessionLogView* TSessionViewer::fLogWindow [private]

Definition at line 547 of file TSessionViewer.h.

Referenced by Build(), LogMessage(), SetLogWindow(), ShowEnabledPackages(), ShowLog(), ShowPackages(), and ShowStatus().

TSessionDescription* TSessionViewer::fActDesc [private]

Definition at line 548 of file TSessionViewer.h.

Referenced by Build(), CleanupSession(), DeleteQuery(), GetActDesc(), HandleTimer(), MyHandleMenu(), OnCascadeMenu(), OnListTreeClicked(), OnListTreeDoubleClicked(), ReadConfiguration(), ResetSession(), ShowEnabledPackages(), ShowLog(), ShowPackages(), ShowStatus(), UpdateListOfPackages(), UpdateListOfProofs(), and UpdateListOfSessions().

TList* TSessionViewer::fSessions [private]

Definition at line 549 of file TSessionViewer.h.

Referenced by Build(), CloseWindow(), GetSessions(), QueryResultReady(), ReadConfiguration(), Terminate(), UpdateListOfProofs(), UpdateListOfSessions(), and WriteConfiguration().

const TGPicture* TSessionViewer::fLocal [private]

Definition at line 550 of file TSessionViewer.h.

Referenced by Build(), CloseWindow(), GetLocalPict(), and ReadConfiguration().

const TGPicture* TSessionViewer::fProofCon [private]

Definition at line 551 of file TSessionViewer.h.

Referenced by Build(), CloseWindow(), GetProofConPict(), and UpdateListOfProofs().

const TGPicture* TSessionViewer::fProofDiscon [private]

Definition at line 552 of file TSessionViewer.h.

Referenced by Build(), CloseWindow(), GetProofDisconPict(), ReadConfiguration(), ResetSession(), UpdateListOfProofs(), and UpdateListOfSessions().

const TGPicture* TSessionViewer::fQueryCon [private]

Definition at line 553 of file TSessionViewer.h.

Referenced by Build(), CloseWindow(), GetQueryConPict(), and ReadConfiguration().

const TGPicture* TSessionViewer::fQueryDiscon [private]

Definition at line 554 of file TSessionViewer.h.

Referenced by Build(), CloseWindow(), and GetQueryDisconPict().

const TGPicture* TSessionViewer::fBaseIcon [private]

Definition at line 555 of file TSessionViewer.h.

Referenced by Build(), CloseWindow(), GetBasePict(), and ReadConfiguration().

TGFrame* TSessionViewer::fActFrame [private]

Definition at line 557 of file TSessionViewer.h.

Referenced by Build(), OnListTreeClicked(), and UpdateListOfProofs().

TGToolBar* TSessionViewer::fToolBar [private]

Definition at line 558 of file TSessionViewer.h.

Referenced by Build(), OnListTreeClicked(), and UpdateListOfProofs().

TGMenuBar* TSessionViewer::fMenuBar [private]

Definition at line 559 of file TSessionViewer.h.

Referenced by Build().

TGPopupMenu* TSessionViewer::fFileMenu [private]

Definition at line 560 of file TSessionViewer.h.

Referenced by Build().

TGPopupMenu* TSessionViewer::fSessionMenu [private]

Definition at line 561 of file TSessionViewer.h.

Referenced by Build(), OnListTreeClicked(), and UpdateListOfProofs().

TGPopupMenu* TSessionViewer::fQueryMenu [private]

Definition at line 562 of file TSessionViewer.h.

Referenced by Build(), and OnListTreeClicked().

TGPopupMenu* TSessionViewer::fOptionsMenu [private]

Definition at line 563 of file TSessionViewer.h.

Referenced by Build(), GetOptionsMenu(), OnCascadeMenu(), ProcessMessage(), ReadConfiguration(), and WriteConfiguration().

TGPopupMenu* TSessionViewer::fCascadeMenu [private]

Definition at line 564 of file TSessionViewer.h.

Referenced by Build(), GetCascadeMenu(), OnCascadeMenu(), ProcessMessage(), ReadConfiguration(), and WriteConfiguration().

TGPopupMenu* TSessionViewer::fHelpMenu [private]

Definition at line 565 of file TSessionViewer.h.

Referenced by Build().

TGPopupMenu* TSessionViewer::fPopupSrv [private]

Definition at line 567 of file TSessionViewer.h.

Referenced by Build(), GetPopupSrv(), OnListTreeClicked(), and UpdateListOfProofs().

TGPopupMenu* TSessionViewer::fPopupQry [private]

Definition at line 568 of file TSessionViewer.h.

Referenced by Build(), GetPopupQry(), and OnListTreeClicked().

TContextMenu* TSessionViewer::fContextMenu [private]

Definition at line 569 of file TSessionViewer.h.

Referenced by Build(), and GetContextMenu().

TGHProgressBar* TSessionViewer::fConnectProg [private]

Definition at line 571 of file TSessionViewer.h.

Referenced by Build(), GetConnectProg(), and StartupMessage().

TGCanvas* TSessionViewer::fTreeView [private]

Definition at line 572 of file TSessionViewer.h.

Referenced by Build().

TGListTree* TSessionViewer::fSessionHierarchy [private]

Definition at line 573 of file TSessionViewer.h.

Referenced by Build(), CleanupSession(), CloseWindow(), DeleteQuery(), EditQuery(), GetSessionHierarchy(), OnListTreeClicked(), ProcessMessage(), QueryResultReady(), ReadConfiguration(), ResetSession(), StartViewer(), UpdateListOfProofs(), and UpdateListOfSessions().

TGListTreeItem* TSessionViewer::fSessionItem [private]

Definition at line 574 of file TSessionViewer.h.

Referenced by CloseWindow(), GetSessionItem(), OnListTreeDoubleClicked(), QueryResultReady(), ReadConfiguration(), ResetSession(), UpdateListOfProofs(), and UpdateListOfSessions().

TGStatusBar* TSessionViewer::fStatusBar [private]

Definition at line 575 of file TSessionViewer.h.

Referenced by Build(), GetStatusBar(), HandleTimer(), OnListTreeClicked(), ResetSession(), ShowInfo(), StartupMessage(), and UpdateListOfProofs().

TGPicture* TSessionViewer::fRightIconPicture [private]

Definition at line 576 of file TSessionViewer.h.

Referenced by Build(), and ChangeRightLogo().

TGIcon* TSessionViewer::fRightIcon [private]

Definition at line 577 of file TSessionViewer.h.

Referenced by Build(), and ChangeRightLogo().

TTimer* TSessionViewer::fTimer [private]

Definition at line 578 of file TSessionViewer.h.

Referenced by Build(), CloseWindow(), DisableTimer(), EnableTimer(), and HandleTimer().

UserGroup_t* TSessionViewer::fUserGroup [private]

Definition at line 579 of file TSessionViewer.h.

Referenced by Build(), and ~TSessionViewer().

Bool_t TSessionViewer::fAutoSave [private]

Definition at line 580 of file TSessionViewer.h.

Referenced by Build(), CleanupSession(), CloseWindow(), DeleteQuery(), IsAutoSave(), ProcessMessage(), and Terminate().

TString TSessionViewer::fConfigFile [private]

Definition at line 581 of file TSessionViewer.h.

Referenced by Build(), ProcessMessage(), ReadConfiguration(), and WriteConfiguration().

TEnv* TSessionViewer::fViewerEnv [private]

Definition at line 582 of file TSessionViewer.h.

Referenced by Build(), ReadConfiguration(), and WriteConfiguration().

TGHorizontalFrame* TSessionViewer::fHf [private]

Definition at line 539 of file TSessionViewer.h.

TGVerticalFrame* TSessionViewer::fV1 [private]

Definition at line 540 of file TSessionViewer.h.

TGVerticalFrame* TSessionViewer::fV2 [private]

Definition at line 541 of file TSessionViewer.h.

TSessionServerFrame* TSessionViewer::fServerFrame [private]

Definition at line 542 of file TSessionViewer.h.

TSessionFrame* TSessionViewer::fSessionFrame [private]

Definition at line 543 of file TSessionViewer.h.

TSessionQueryFrame* TSessionViewer::fQueryFrame [private]

Definition at line 544 of file TSessionViewer.h.

TSessionOutputFrame* TSessionViewer::fOutputFrame [private]

Definition at line 545 of file TSessionViewer.h.

TSessionInputFrame* TSessionViewer::fInputFrame [private]

Definition at line 546 of file TSessionViewer.h.

TSessionLogView* TSessionViewer::fLogWindow [private]

Definition at line 547 of file TSessionViewer.h.

TSessionDescription* TSessionViewer::fActDesc [private]

Definition at line 548 of file TSessionViewer.h.

TList* TSessionViewer::fSessions [private]

Definition at line 549 of file TSessionViewer.h.

const TGPicture* TSessionViewer::fLocal [private]

Definition at line 550 of file TSessionViewer.h.

const TGPicture* TSessionViewer::fProofCon [private]

Definition at line 551 of file TSessionViewer.h.

const TGPicture* TSessionViewer::fProofDiscon [private]

Definition at line 552 of file TSessionViewer.h.

const TGPicture* TSessionViewer::fQueryCon [private]

Definition at line 553 of file TSessionViewer.h.

const TGPicture* TSessionViewer::fQueryDiscon [private]

Definition at line 554 of file TSessionViewer.h.

const TGPicture* TSessionViewer::fBaseIcon [private]

Definition at line 555 of file TSessionViewer.h.

TGFrame* TSessionViewer::fActFrame [private]

Definition at line 557 of file TSessionViewer.h.

TGToolBar* TSessionViewer::fToolBar [private]

Definition at line 558 of file TSessionViewer.h.

TGMenuBar* TSessionViewer::fMenuBar [private]

Definition at line 559 of file TSessionViewer.h.

TGPopupMenu* TSessionViewer::fFileMenu [private]

Definition at line 560 of file TSessionViewer.h.

TGPopupMenu* TSessionViewer::fSessionMenu [private]

Definition at line 561 of file TSessionViewer.h.

TGPopupMenu* TSessionViewer::fQueryMenu [private]

Definition at line 562 of file TSessionViewer.h.

TGPopupMenu* TSessionViewer::fOptionsMenu [private]

Definition at line 563 of file TSessionViewer.h.

TGPopupMenu* TSessionViewer::fCascadeMenu [private]

Definition at line 564 of file TSessionViewer.h.

TGPopupMenu* TSessionViewer::fHelpMenu [private]

Definition at line 565 of file TSessionViewer.h.

TGPopupMenu* TSessionViewer::fPopupSrv [private]

Definition at line 567 of file TSessionViewer.h.

TGPopupMenu* TSessionViewer::fPopupQry [private]

Definition at line 568 of file TSessionViewer.h.

TContextMenu* TSessionViewer::fContextMenu [private]

Definition at line 569 of file TSessionViewer.h.

TGHProgressBar* TSessionViewer::fConnectProg [private]

Definition at line 571 of file TSessionViewer.h.

TGCanvas* TSessionViewer::fTreeView [private]

Definition at line 572 of file TSessionViewer.h.

TGListTree* TSessionViewer::fSessionHierarchy [private]

Definition at line 573 of file TSessionViewer.h.

TGListTreeItem* TSessionViewer::fSessionItem [private]

Definition at line 574 of file TSessionViewer.h.

TGStatusBar* TSessionViewer::fStatusBar [private]

Definition at line 575 of file TSessionViewer.h.

TGPicture* TSessionViewer::fRightIconPicture [private]

Definition at line 576 of file TSessionViewer.h.

TGIcon* TSessionViewer::fRightIcon [private]

Definition at line 577 of file TSessionViewer.h.

TTimer* TSessionViewer::fTimer [private]

Definition at line 578 of file TSessionViewer.h.

UserGroup_t* TSessionViewer::fUserGroup [private]

Definition at line 579 of file TSessionViewer.h.

TEnv* TSessionViewer::fViewerEnv [private]

Definition at line 582 of file TSessionViewer.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:46:42 2011 for ROOT_528-00b_version by  doxygen 1.5.1