HuginQueue::NormalCommand Class Reference

normal command for queue, processing is stopped if an error occurred in program More...

#include <Executor.h>

Inheritance diagram for HuginQueue::NormalCommand:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 NormalCommand (wxString prog, wxString args, wxString comment=wxEmptyString)
virtual ~NormalCommand ()
virtual bool Execute (bool dryRun)
virtual bool CheckReturnCode () const
virtual wxString GetCommand () const
wxString GetComment () const

Protected Attributes

wxString m_prog
wxString m_args
wxString m_comment

Detailed Description

normal command for queue, processing is stopped if an error occurred in program

Definition at line 37 of file Executor.h.


Constructor & Destructor Documentation

HuginQueue::NormalCommand::NormalCommand ( wxString  prog,
wxString  args,
wxString  comment = wxEmptyString 
) [inline]

Definition at line 40 of file Executor.h.

virtual HuginQueue::NormalCommand::~NormalCommand (  )  [inline, virtual]

Definition at line 41 of file Executor.h.


Member Function Documentation

bool HuginQueue::NormalCommand::CheckReturnCode (  )  const [virtual]

Reimplemented in HuginQueue::OptionalCommand.

Definition at line 55 of file Executor.cpp.

Referenced by MyExecPanel::ExecNextQueue().

bool HuginQueue::NormalCommand::Execute ( bool  dryRun  )  [virtual]

Reimplemented in HuginQueue::OptionalCommand.

Definition at line 41 of file Executor.cpp.

References cout, GetCommand(), and m_comment.

Referenced by HuginQueue::OptionalCommand::Execute().

wxString HuginQueue::NormalCommand::GetCommand (  )  const [virtual]

Definition at line 60 of file Executor.cpp.

References m_args, m_prog, and HuginQueue::wxEscapeFilename().

Referenced by MyExecPanel::ExecNextQueue(), and Execute().

wxString HuginQueue::NormalCommand::GetComment (  )  const

Definition at line 65 of file Executor.cpp.

References m_comment.

Referenced by MyExecPanel::ExecNextQueue().


Member Data Documentation

wxString HuginQueue::NormalCommand::m_args [protected]

Definition at line 48 of file Executor.h.

Referenced by GetCommand().

wxString HuginQueue::NormalCommand::m_comment [protected]

Definition at line 49 of file Executor.h.

Referenced by Execute(), and GetComment().

wxString HuginQueue::NormalCommand::m_prog [protected]

Definition at line 47 of file Executor.h.

Referenced by GetCommand().


The documentation for this class was generated from the following files:
Generated on 22 Jan 2018 for Hugintrunk by  doxygen 1.4.7