#include <TGCommandPlugin.h>
Inheritance diagram for TGCommandPlugin:
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 |
TGHorizontalFrame * | fHf |
TGLabel * | fLabel |
TGComboBox * | fComboCmd |
TGTextEntry * | fCommand |
TGTextBuffer * | fCommandBuf |
TGTextView * | fStatus |
TTimer * | fTimer |
TGHorizontalFrame * | fHf |
TGLabel * | fLabel |
TGComboBox * | fComboCmd |
TGTextEntry * | fCommand |
TGTextBuffer * | fCommandBuf |
TGTextView * | fStatus |
TTimer * | fTimer |
Definition at line 18 of file TGCommandPlugin.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().
virtual TGCommandPlugin::~TGCommandPlugin | ( | ) | [virtual] |
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().
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 | ( | ) |
Int_t TGCommandPlugin::fPid [protected] |
Definition at line 21 of file TGCommandPlugin.h.
Referenced by HandleCommand(), and ~TGCommandPlugin().
TGHorizontalFrame* TGCommandPlugin::fHf [protected] |
TGLabel* TGCommandPlugin::fLabel [protected] |
TGComboBox* TGCommandPlugin::fComboCmd [protected] |
TGTextEntry* TGCommandPlugin::fCommand [protected] |
TGTextBuffer* TGCommandPlugin::fCommandBuf [protected] |
TGTextView* TGCommandPlugin::fStatus [protected] |
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.