KiCad PCB EDA Suite
Loading...
Searching...
No Matches
JOB_SPECIAL_COPYFILES Class Reference

#include <job_special_copyfiles.h>

Inheritance diagram for JOB_SPECIAL_COPYFILES:
JOB

Public Member Functions

 JOB_SPECIAL_COPYFILES ()
 
wxString GetDefaultDescription () const override
 
const std::string & GetType () const
 
const std::map< wxString, wxString > & GetVarOverrides () const
 
void SetVarOverrides (const std::map< wxString, wxString > &aVarOverrides)
 
virtual void FromJson (const nlohmann::json &j)
 
virtual void ToJson (nlohmann::json &j) const
 
virtual wxString GetSettingsDialogTitle () const
 
const std::vector< JOB_PARAM_BASE * > & GetParams ()
 
void ClearExistingOutputs ()
 
const std::vector< JOB_OUTPUT > & GetOutputs ()
 
void AddOutput (wxString aOutputPath)
 
void SetTempOutputDirectory (const wxString &aBase)
 
void SetOutputPath (const wxString &aPath)
 
wxString GetOutputPath () const
 
wxString GetFullOutputPath () const
 
bool OutputPathFullSpecified () const
 
bool GetOutpathIsDirectory () const
 

Public Attributes

wxString m_source
 
wxString m_dest
 
bool m_generateErrorOnNoCopy
 
bool m_overwriteDest
 

Protected Attributes

std::string m_type
 
std::map< wxString, wxString > m_varOverrides
 
wxString m_tempOutputDirectory
 
wxString m_outputPath
 
bool m_outputPathIsDirectory
 
wxString m_description
 
std::vector< JOB_PARAM_BASE * > m_params
 
std::vector< JOB_OUTPUTm_outputs
 

Detailed Description

Definition at line 27 of file job_special_copyfiles.h.

Constructor & Destructor Documentation

◆ JOB_SPECIAL_COPYFILES()

JOB_SPECIAL_COPYFILES::JOB_SPECIAL_COPYFILES ( )

Member Function Documentation

◆ AddOutput()

void JOB::AddOutput ( wxString  aOutputPath)
inlineinherited

Definition at line 150 of file job.h.

Referenced by PCBNEW_JOBS_HANDLER::JobExportPos().

◆ ClearExistingOutputs()

void JOB::ClearExistingOutputs ( )
inlineinherited

Definition at line 148 of file job.h.

Referenced by JOB_DISPATCHER::RunJob().

◆ FromJson()

void JOB::FromJson ( const nlohmann::json &  j)
virtualinherited

Definition at line 57 of file job.cpp.

References JOB::m_params.

Referenced by from_json().

◆ GetDefaultDescription()

wxString JOB_SPECIAL_COPYFILES::GetDefaultDescription ( ) const
overridevirtual

Reimplemented from JOB.

Definition at line 40 of file job_special_copyfiles.cpp.

◆ GetFullOutputPath()

◆ GetOutpathIsDirectory()

bool JOB::GetOutpathIsDirectory ( ) const
inlineinherited

Definition at line 160 of file job.h.

Referenced by EESCHEMA_JOBS_HANDLER::JobExportPlot().

◆ GetOutputPath()

◆ GetOutputs()

const std::vector< JOB_OUTPUT > & JOB::GetOutputs ( )
inlineinherited

Definition at line 149 of file job.h.

◆ GetParams()

const std::vector< JOB_PARAM_BASE * > & JOB::GetParams ( )
inlineinherited

Definition at line 146 of file job.h.

◆ GetSettingsDialogTitle()

◆ GetType()

const std::string & JOB::GetType ( ) const
inlineinherited

Definition at line 131 of file job.h.

Referenced by JOB_DISPATCHER::HandleJobConfig(), and JOB_DISPATCHER::RunJob().

◆ GetVarOverrides()

◆ OutputPathFullSpecified()

bool JOB::OutputPathFullSpecified ( ) const
inherited

Definition at line 144 of file job.cpp.

References JOB::m_outputPath, and JOB::m_outputPathIsDirectory.

Referenced by PCBNEW_JOBS_HANDLER::JobExportIpc2581().

◆ SetOutputPath()

◆ SetTempOutputDirectory()

void JOB::SetTempOutputDirectory ( const wxString &  aBase)
inherited

Definition at line 83 of file job.cpp.

References JOB::m_tempOutputDirectory.

◆ SetVarOverrides()

void JOB::SetVarOverrides ( const std::map< wxString, wxString > &  aVarOverrides)
inlineinherited

Definition at line 135 of file job.h.

Referenced by CLI::PCB_EXPORT_GERBER_COMMAND::populateJob().

◆ ToJson()

void JOB::ToJson ( nlohmann::json &  j) const
virtualinherited

Definition at line 64 of file job.cpp.

References JOB::m_params.

Referenced by to_json().

Member Data Documentation

◆ m_description

wxString JOB::m_description
protectedinherited

Definition at line 170 of file job.h.

Referenced by JOB::JOB().

◆ m_dest

◆ m_generateErrorOnNoCopy

◆ m_outputPath

wxString JOB::m_outputPath
protectedinherited

◆ m_outputPathIsDirectory

bool JOB::m_outputPathIsDirectory
protectedinherited

Definition at line 169 of file job.h.

Referenced by JOB::GetFullOutputPath(), JOB::JOB(), and JOB::OutputPathFullSpecified().

◆ m_outputs

std::vector<JOB_OUTPUT> JOB::m_outputs
protectedinherited

Definition at line 174 of file job.h.

◆ m_overwriteDest

◆ m_params

◆ m_source

◆ m_tempOutputDirectory

wxString JOB::m_tempOutputDirectory
protectedinherited

Definition at line 166 of file job.h.

Referenced by JOB::GetFullOutputPath(), and JOB::SetTempOutputDirectory().

◆ m_type

std::string JOB::m_type
protectedinherited

Definition at line 163 of file job.h.

◆ m_varOverrides

std::map<wxString, wxString> JOB::m_varOverrides
protectedinherited

Definition at line 164 of file job.h.


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