Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
RunStitchPanel Class Reference

#include <RunStitchPanel.h>

Inheritance diagram for RunStitchPanel:
Inheritance graph

Public Member Functions

 RunStitchPanel (wxWindow *parent)
 
bool StitchProject (const wxString &scriptFile, const wxString &outname, const wxString &userDefinedOutput=wxEmptyString)
 
bool DetectProject (const wxString &scriptFile, const wxString &userDefinedAssistant=wxEmptyString)
 
void CancelStitch ()
 
bool IsPaused ()
 
void SetOverwrite (bool over=true)
 
void PauseStitch ()
 
void ContinueStitch ()
 
long GetPid ()
 
bool SaveLog (const wxString &filename)
 save the content of the window into a given log file More...
 

Private Member Functions

void OnProcessTerminate (wxProcessEvent &event)
 

Private Attributes

bool m_paused
 
bool m_overwrite
 
wxString m_currentPTOfn
 
wxArrayString m_tempFiles
 
wxString m_oldCwd
 
MyExecPanelm_execPanel
 

Detailed Description

Definition at line 41 of file RunStitchPanel.h.

Constructor & Destructor Documentation

RunStitchPanel::RunStitchPanel ( wxWindow *  parent)
explicit

Definition at line 63 of file RunStitchPanel.cpp.

Member Function Documentation

void RunStitchPanel::CancelStitch ( )

Definition at line 372 of file RunStitchPanel.cpp.

References DEBUG_TRACE, MyExecPanel::KillProcess(), and m_execPanel.

Referenced by RunStitchFrame::OnQuit().

void RunStitchPanel::ContinueStitch ( )

Definition at line 394 of file RunStitchPanel.cpp.

References MyExecPanel::ContinueProcess(), m_execPanel, and m_paused.

bool RunStitchPanel::DetectProject ( const wxString &  scriptFile,
const wxString &  userDefinedAssistant = wxEmptyString 
)
long RunStitchPanel::GetPid ( )
bool RunStitchPanel::IsPaused ( )

Definition at line 378 of file RunStitchPanel.cpp.

References m_paused.

void RunStitchPanel::OnProcessTerminate ( wxProcessEvent &  event)
private

Definition at line 338 of file RunStitchPanel.cpp.

References DEBUG_TRACE, m_currentPTOfn, m_oldCwd, and m_tempFiles.

void RunStitchPanel::PauseStitch ( )

Definition at line 388 of file RunStitchPanel.cpp.

References m_execPanel, m_paused, and MyExecPanel::PauseProcess().

bool RunStitchPanel::SaveLog ( const wxString &  filename)

save the content of the window into a given log file

Returns
true if log was saved successful

Definition at line 405 of file RunStitchPanel.cpp.

References m_execPanel, and MyExecPanel::SaveLog().

Referenced by RunStitchFrame::SaveLog().

void RunStitchPanel::SetOverwrite ( bool  over = true)

Definition at line 383 of file RunStitchPanel.cpp.

References m_overwrite.

Referenced by Batch::OnStitch(), and RunStitchFrame::SetOverwrite().

bool RunStitchPanel::StitchProject ( const wxString &  scriptFile,
const wxString &  outname,
const wxString &  userDefinedOutput = wxEmptyString 
)

Member Data Documentation

wxString RunStitchPanel::m_currentPTOfn
private

Definition at line 61 of file RunStitchPanel.h.

Referenced by DetectProject(), OnProcessTerminate(), and StitchProject().

MyExecPanel* RunStitchPanel::m_execPanel
private
wxString RunStitchPanel::m_oldCwd
private

Definition at line 63 of file RunStitchPanel.h.

Referenced by OnProcessTerminate(), and StitchProject().

bool RunStitchPanel::m_overwrite
private

Definition at line 60 of file RunStitchPanel.h.

Referenced by SetOverwrite(), and StitchProject().

bool RunStitchPanel::m_paused
private

Definition at line 59 of file RunStitchPanel.h.

Referenced by ContinueStitch(), IsPaused(), and PauseStitch().

wxArrayString RunStitchPanel::m_tempFiles
private

Definition at line 62 of file RunStitchPanel.h.

Referenced by DetectProject(), OnProcessTerminate(), and StitchProject().


The documentation for this class was generated from the following files: