TGCommandPlugin Class Reference

#include <TGCommandPlugin.h>

Inheritance diagram for TGCommandPlugin:

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

Public Member Functions

 TGCommandPlugin (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~TGCommandPlugin ()
void CheckRemote (const char *)
void HandleCommand ()
virtual Bool_t HandleTimer (TTimer *t)
 TGCommandPlugin (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~TGCommandPlugin ()
void CheckRemote (const char *)
void HandleCommand ()
virtual Bool_t HandleTimer (TTimer *t)

Protected Attributes

Int_t fPid
TGHorizontalFramefHf
TGLabelfLabel
TGComboBoxfComboCmd
TGTextEntryfCommand
TGTextBufferfCommandBuf
TGTextViewfStatus
TTimerfTimer
TGHorizontalFramefHf
TGLabelfLabel
TGComboBoxfComboCmd
TGTextEntryfCommand
TGTextBufferfCommandBuf
TGTextViewfStatus
TTimerfTimer

Detailed Description

Definition at line 18 of file TGCommandPlugin.h.


Constructor & Destructor Documentation

TGCommandPlugin::TGCommandPlugin ( const TGWindow p,
UInt_t  w,
UInt_t  h 
)

TGCommandPlugin::~TGCommandPlugin (  )  [virtual]

Definition at line 80 of file TGCommandPlugin.cxx.

References TGCompositeFrame::Cleanup(), TString::Format(), fPid, fTimer, gSystem, TSystem::TempDirectory(), and TSystem::Unlink().

TGCommandPlugin::TGCommandPlugin ( const TGWindow p,
UInt_t  w,
UInt_t  h 
)

virtual TGCommandPlugin::~TGCommandPlugin (  )  [virtual]


Member Function Documentation

void TGCommandPlugin::CheckRemote ( const char *   ) 

Definition at line 92 of file TGCommandPlugin.cxx.

References TString::Data(), fHf, fLabel, Form(), gClient, TROOT::GetApplication(), TGClient::GetColorByName(), gROOT, TString::Index(), TObject::InheritsFrom(), kNPOS, TGCompositeFrame::Layout(), TString::Remove(), TGLabel::SetText(), and TGLabel::SetTextColor().

Referenced by HandleCommand(), and HandleTimer().

void TGCommandPlugin::HandleCommand (  ) 

Definition at line 119 of file TGCommandPlugin.cxx.

References CheckRemote(), TGTextEntry::Clear(), TString::Data(), fclose(), fComboCmd, fCommand, fCommandBuf, fopen, Form(), TString::Format(), fPid, fStatus, gApplication, TROOT::GetApplication(), TGTextBuffer::GetString(), Gl_histadd(), gROOT, gSystem, TGComboBox::InsertEntry(), TApplication::kProcessRemotely, TGTextView::LoadFile(), TROOT::ProcessLine(), TSystem::RedirectOutput(), TObject::SetBit(), TGTextView::ShowBottom(), and TSystem::TempDirectory().

Bool_t TGCommandPlugin::HandleTimer ( TTimer t  )  [virtual]

Reimplemented from TGWindow.

Definition at line 152 of file TGCommandPlugin.cxx.

References CheckRemote(), fTimer, kTRUE, and t.

void TGCommandPlugin::CheckRemote ( const char *   ) 

void TGCommandPlugin::HandleCommand (  ) 

virtual Bool_t TGCommandPlugin::HandleTimer ( TTimer t  )  [virtual]

Reimplemented from TGWindow.


Member Data Documentation

Int_t TGCommandPlugin::fPid [protected]

Definition at line 21 of file TGCommandPlugin.h.

Referenced by HandleCommand(), and ~TGCommandPlugin().

TGHorizontalFrame* TGCommandPlugin::fHf [protected]

Definition at line 22 of file TGCommandPlugin.h.

Referenced by CheckRemote().

TGLabel* TGCommandPlugin::fLabel [protected]

Definition at line 23 of file TGCommandPlugin.h.

Referenced by CheckRemote().

TGComboBox* TGCommandPlugin::fComboCmd [protected]

Definition at line 24 of file TGCommandPlugin.h.

Referenced by HandleCommand().

TGTextEntry* TGCommandPlugin::fCommand [protected]

Definition at line 25 of file TGCommandPlugin.h.

Referenced by HandleCommand().

TGTextBuffer* TGCommandPlugin::fCommandBuf [protected]

Definition at line 26 of file TGCommandPlugin.h.

Referenced by HandleCommand().

TGTextView* TGCommandPlugin::fStatus [protected]

Definition at line 27 of file TGCommandPlugin.h.

Referenced by HandleCommand().

TTimer* TGCommandPlugin::fTimer [protected]

Definition at line 28 of file TGCommandPlugin.h.

Referenced by HandleTimer(), and ~TGCommandPlugin().

TGHorizontalFrame* TGCommandPlugin::fHf [protected]

Definition at line 22 of file TGCommandPlugin.h.

TGLabel* TGCommandPlugin::fLabel [protected]

Definition at line 23 of file TGCommandPlugin.h.

TGComboBox* TGCommandPlugin::fComboCmd [protected]

Definition at line 24 of file TGCommandPlugin.h.

TGTextEntry* TGCommandPlugin::fCommand [protected]

Definition at line 25 of file TGCommandPlugin.h.

TGTextBuffer* TGCommandPlugin::fCommandBuf [protected]

Definition at line 26 of file TGCommandPlugin.h.

TGTextView* TGCommandPlugin::fStatus [protected]

Definition at line 27 of file TGCommandPlugin.h.

TTimer* TGCommandPlugin::fTimer [protected]

Definition at line 28 of file TGCommandPlugin.h.


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