Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
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

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 ( )
inlinevirtual

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 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: