MyExternalCmdExecDialog Class Reference

#include <MyExternalCmdExecDialog.h>

List of all members.

Public Member Functions

 MyExternalCmdExecDialog (wxWindow *parent, wxWindowID id, const wxString &title=_("Command Line Progress"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=wxT("externalCmDialogBox"))
int ShowModal (const wxString &cmd)
int Execute (const wxString &cmd)
int GetExitCode ()
void SetExitCode (int ret)
void OnTimer (wxTimerEvent &WXUNUSED(event))
void OnIdle (wxIdleEvent &event)
wxTextCtrl * GetLogTextBox () const
virtual ~MyExternalCmdExecDialog ()

Private Attributes

wxTextCtrl * m_tbox
wxTimer m_timerIdleWakeUp
long processID
int m_exitCode

Constructor & Destructor Documentation

MyExternalCmdExecDialog::MyExternalCmdExecDialog wxWindow *  parent,
wxWindowID  id,
const wxString &  title = _("Command Line Progress"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE,
const wxString &  name = wxT("externalCmDialogBox")

Definition at line 682 of file MyExternalCmdExecDialog.cpp.

MyExternalCmdExecDialog::~MyExternalCmdExecDialog  )  [virtual]

Definition at line 773 of file MyExternalCmdExecDialog.cpp.

Member Function Documentation

int MyExternalCmdExecDialog::Execute const wxString &  cmd  ) 

Definition at line 725 of file MyExternalCmdExecDialog.cpp.

References m_exitCode, m_timerIdleWakeUp, process, and processID.

int MyExternalCmdExecDialog::GetExitCode  ) 

Definition at line 743 of file MyExternalCmdExecDialog.cpp.

wxTextCtrl* MyExternalCmdExecDialog::GetLogTextBox  )  const [inline]

Definition at line 206 of file MyExternalCmdExecDialog.h.

Referenced by HuginPipedProcess::HasInput(), and OnIdle().

void MyExternalCmdExecDialog::OnIdle wxIdleEvent &  event  ) 

Definition at line 759 of file MyExternalCmdExecDialog.cpp.

References GetLogTextBox(), HuginPipedProcess::HasInput(), and process.

void MyExternalCmdExecDialog::OnTimer wxTimerEvent &  WXUNUSED(event)  ) 

Definition at line 754 of file MyExternalCmdExecDialog.cpp.

void MyExternalCmdExecDialog::SetExitCode int  ret  ) 

Definition at line 748 of file MyExternalCmdExecDialog.cpp.

References m_exitCode.

Referenced by HuginPipedProcess::OnTerminate().

int MyExternalCmdExecDialog::ShowModal const wxString &  cmd  ) 

Definition at line 708 of file MyExternalCmdExecDialog.cpp.

References m_timerIdleWakeUp, process, and processID.

Member Data Documentation

int MyExternalCmdExecDialog::m_exitCode [private]

Definition at line 215 of file MyExternalCmdExecDialog.h.

Referenced by Execute(), and SetExitCode().

wxTextCtrl* MyExternalCmdExecDialog::m_tbox [private]

Definition at line 211 of file MyExternalCmdExecDialog.h.

wxTimer MyExternalCmdExecDialog::m_timerIdleWakeUp [private]

Definition at line 212 of file MyExternalCmdExecDialog.h.

Referenced by Execute(), and ShowModal().

HuginPipedProcess* MyExternalCmdExecDialog::process [private]

Definition at line 213 of file MyExternalCmdExecDialog.h.

Referenced by Execute(), OnIdle(), and ShowModal().

long MyExternalCmdExecDialog::processID [private]

Definition at line 214 of file MyExternalCmdExecDialog.h.

Referenced by Execute(), and ShowModal().

The documentation for this class was generated from the following files:
Generated on Mon Sep 22 01:25:54 2014 for Hugintrunk by  doxygen