ProcessChain Class Reference

#include <processchain.h>

Collaboration diagram for ProcessChain:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotFinishedCompile (Language *language)
void compile ()

Signals

void successful (ProcessOptions options)
void successful ()
void failed ()

Public Member Functions

 ProcessChain (ProcessOptions options, KTechlab *parent, const char *name=0)
 ~ProcessChain ()
void setProcessOptions (ProcessOptions options)

Protected Member Functions

FlowCodeflowCode ()
Gpasmgpasm ()
Gpdasmgpdasm ()
Gplibgplib ()
Gplinkgplink ()
Microbemicrobe ()
PicProgrammerpicProgrammer ()
SDCCsdcc ()

Protected Attributes

int m_errorCount
ProcessOptions m_processOptions
KTechlabm_pKTechlab

Detailed Description

Author:
Daniel Clarke

David Saxton

Definition at line 35 of file processchain.h.


Member Function Documentation

void ProcessChain::slotFinishedCompile ( Language language  )  [slot]

Adds the output file to project if requested in the options, and opens the file in a code editor. Called to signal that a language in the last step of a compile has finished its compiling successfully.

Definition at line 133 of file processchain.cpp.

References ProjectItem::addFile(), ProcessOptionsSpecial::b_addToProject, DocManager::createTextDocument(), ProjectManager::currentProject(), DocManager::giveDocumentFocus(), m_processOptions, ProcessOptions::method(), DocManager::openURL(), Language::processOptions(), ProcessOptions::processPath(), DocManager::self(), ProjectManager::self(), ProcessOptions::setTextOutputtedTo(), successful(), ProcessOptions::targetFile(), ProcessOptions::textOutputTarget(), and ProcessOptions::ProcessPath::to().

void ProcessChain::compile (  )  [slot]

Call to compile a file of one type all the way to another type. This uses the ProcessOptions given in the constructor of this function, or later in setProcessOptions.

Definition at line 76 of file processchain.cpp.

References ProcessOptions::inputFiles(), ProcessOptionsSpecial::m_picID, m_processOptions, ProjectItem::microID(), ProcessOptions::ProcessPath::path(), ProcessOptions::processPath(), and ProjectManager::self().

Referenced by Language::finish(), and ProcessChain().

void ProcessChain::successful ( ProcessOptions  options  )  [signal]

Emitted when compiling has successfully gone all the way through to the specified 'typeTo'

Parameters:
options The ProcessOptions holding the output filename
See also:
compile

void ProcessChain::successful (  )  [signal]

Convenience signal

Referenced by slotFinishedCompile().

void ProcessChain::failed (  )  [signal]

Emitted if not successful


The documentation for this class was generated from the following files:
Generated on Tue May 8 17:05:54 2007 for KTechLab by  doxygen 1.5.1