KiCad PCB EDA Suite
|
#include <command_export_pcb_gerber.h>
Public Member Functions | |
EXPORT_PCB_GERBER_COMMAND (const std::string &aName) | |
EXPORT_PCB_GERBER_COMMAND () | |
int | Perform (KIWAY &aKiway) |
Entry point to processing commands from args and doing work. More... | |
argparse::ArgumentParser & | GetArgParser () |
const std::string & | GetName () const |
void | PrintHelp () |
Protected Member Functions | |
int | doPerform (KIWAY &aKiway) override |
The internal handler that should be overloaded to implement command specific processing and work. More... | |
int | populateJob (JOB_EXPORT_PCB_GERBER *aJob) |
LSET | convertLayerStringList (wxString &aLayerString, bool &aLayerArgSet) const |
void | addLayerArg (bool aRequire) |
Protected Attributes | |
std::map< std::string, LSET > | m_layerMasks |
LSET | m_selectedLayers |
bool | m_selectedLayersSet |
bool | m_hasLayerArg |
bool | m_requireLayers |
std::string | m_name |
argparse::ArgumentParser | m_argParser |
Definition at line 36 of file command_export_pcb_gerber.h.
CLI::EXPORT_PCB_GERBER_COMMAND::EXPORT_PCB_GERBER_COMMAND | ( | const std::string & | aName | ) |
Definition at line 34 of file command_export_pcb_gerber.cpp.
References _, CLI::EXPORT_PCB_BASE_COMMAND::addLayerArg(), ARG_DISABLE_APERTURE_MACROS, ARG_EXCLUDE_REFDES, ARG_EXCLUDE_VALUE, ARG_INCLUDE_BORDER_TITLE, ARG_NO_NETLIST, ARG_NO_X2, ARG_PRECISION, ARG_SUBTRACT_SOLDERMASK, CLI::COMMAND::m_argParser, and UTF8STDSTR.
CLI::EXPORT_PCB_GERBER_COMMAND::EXPORT_PCB_GERBER_COMMAND | ( | ) |
Definition at line 81 of file command_export_pcb_gerber.cpp.
|
protectedinherited |
Definition at line 102 of file command_export_pcb_base.cpp.
References _, ARG_LAYERS, and UTF8STDSTR.
Referenced by CLI::EXPORT_PCB_DXF_COMMAND::EXPORT_PCB_DXF_COMMAND(), EXPORT_PCB_GERBER_COMMAND(), CLI::EXPORT_PCB_PDF_COMMAND::EXPORT_PCB_PDF_COMMAND(), CLI::EXPORT_PCB_SVG_COMMAND::EXPORT_PCB_SVG_COMMAND(), and CLI::FP_EXPORT_SVG_COMMAND::FP_EXPORT_SVG_COMMAND().
|
protectedinherited |
Definition at line 75 of file command_export_pcb_base.cpp.
|
overrideprotectedvirtual |
The internal handler that should be overloaded to implement command specific processing and work.
If not overloaded, the command will simply emit the help options by default
Reimplemented from CLI::EXPORT_PCB_BASE_COMMAND.
Reimplemented in CLI::EXPORT_PCB_GERBERS_COMMAND.
Definition at line 117 of file command_export_pcb_gerber.cpp.
References CLI::EXPORT_PCB_BASE_COMMAND::doPerform(), dummy, KIWAY::FACE_PCB, CLI::EXIT_CODES::OK, and KIWAY::ProcessJob().
|
inlineinherited |
Definition at line 54 of file command.h.
References CLI::COMMAND::m_argParser.
Referenced by recurseArgParserBuild(), and recurseArgParserSubCommandUsed().
|
inlineinherited |
Definition at line 55 of file command.h.
References CLI::COMMAND::m_name.
Referenced by recurseArgParserSubCommandUsed().
|
inherited |
Entry point to processing commands from args and doing work.
Definition at line 49 of file command.cpp.
References ARG_HELP.
|
protected |
Definition at line 86 of file command_export_pcb_gerber.cpp.
References _, ARG_DISABLE_APERTURE_MACROS, ARG_EXCLUDE_REFDES, ARG_EXCLUDE_VALUE, ARG_INCLUDE_BORDER_TITLE, ARG_INPUT, ARG_NO_NETLIST, ARG_NO_X2, ARG_OUTPUT, ARG_PRECISION, ARG_SUBTRACT_SOLDERMASK, CLI::EXIT_CODES::ERR_ARGS, CLI::EXIT_CODES::ERR_INVALID_INPUT_FILE, FROM_UTF8(), JOB_EXPORT_PCB_GERBER::m_disableApertureMacros, JOB_EXPORT_PCB_GERBER::m_filename, JOB_EXPORT_PCB_GERBER::m_includeNetlistAttributes, JOB_EXPORT_PCB_GERBER::m_outputFile, JOB_EXPORT_PCB_GERBER::m_plotBorderTitleBlocks, JOB_EXPORT_PCB_GERBER::m_plotFootprintValues, JOB_EXPORT_PCB_GERBER::m_plotRefDes, JOB_EXPORT_PCB_GERBER::m_precision, JOB_EXPORT_PCB_GERBER::m_printMaskLayer, JOB_EXPORT_PCB_GERBER::m_subtractSolderMaskFromSilk, JOB_EXPORT_PCB_GERBER::m_useX2Format, and CLI::EXIT_CODES::OK.
|
inherited |
Definition at line 41 of file command.cpp.
References FROM_UTF8().
|
protectedinherited |
Definition at line 68 of file command.h.
Referenced by CLI::COMMAND::COMMAND(), CLI::EXPORT_PCB_BASE_COMMAND::EXPORT_PCB_BASE_COMMAND(), CLI::EXPORT_PCB_DRILL_COMMAND::EXPORT_PCB_DRILL_COMMAND(), CLI::EXPORT_PCB_DXF_COMMAND::EXPORT_PCB_DXF_COMMAND(), EXPORT_PCB_GERBER_COMMAND(), CLI::EXPORT_PCB_GERBERS_COMMAND::EXPORT_PCB_GERBERS_COMMAND(), CLI::EXPORT_PCB_PDF_COMMAND::EXPORT_PCB_PDF_COMMAND(), CLI::EXPORT_PCB_POS_COMMAND::EXPORT_PCB_POS_COMMAND(), CLI::EXPORT_PCB_STEP_COMMAND::EXPORT_PCB_STEP_COMMAND(), CLI::EXPORT_PCB_SVG_COMMAND::EXPORT_PCB_SVG_COMMAND(), CLI::EXPORT_SCH_NETLIST_COMMAND::EXPORT_SCH_NETLIST_COMMAND(), CLI::EXPORT_SCH_PDF_COMMAND::EXPORT_SCH_PDF_COMMAND(), CLI::EXPORT_SCH_SVG_COMMAND::EXPORT_SCH_SVG_COMMAND(), CLI::FP_EXPORT_SVG_COMMAND::FP_EXPORT_SVG_COMMAND(), CLI::FP_UPGRADE_COMMAND::FP_UPGRADE_COMMAND(), CLI::COMMAND::GetArgParser(), CLI::SYM_EXPORT_SVG_COMMAND::SYM_EXPORT_SVG_COMMAND(), CLI::SYM_UPGRADE_COMMAND::SYM_UPGRADE_COMMAND(), and CLI::VERSION_COMMAND::VERSION_COMMAND().
|
protectedinherited |
Definition at line 54 of file command_export_pcb_base.h.
Referenced by CLI::EXPORT_PCB_BASE_COMMAND::EXPORT_PCB_BASE_COMMAND().
|
protectedinherited |
Definition at line 50 of file command_export_pcb_base.h.
Referenced by CLI::EXPORT_PCB_BASE_COMMAND::EXPORT_PCB_BASE_COMMAND().
|
protectedinherited |
Definition at line 67 of file command.h.
Referenced by CLI::COMMAND::GetName().
|
protectedinherited |
Definition at line 55 of file command_export_pcb_base.h.
Referenced by CLI::EXPORT_PCB_BASE_COMMAND::EXPORT_PCB_BASE_COMMAND(), and CLI::EXPORT_PCB_GERBERS_COMMAND::EXPORT_PCB_GERBERS_COMMAND().
|
protectedinherited |
Definition at line 51 of file command_export_pcb_base.h.
|
protectedinherited |
Definition at line 52 of file command_export_pcb_base.h.
Referenced by CLI::EXPORT_PCB_BASE_COMMAND::EXPORT_PCB_BASE_COMMAND().