KiCad PCB EDA Suite
|
#include <pcbnew_footprint_wizards.h>
Public Member Functions | |
PYTHON_FOOTPRINT_WIZARD (PyObject *wizard) | |
~PYTHON_FOOTPRINT_WIZARD () | |
wxString | GetName () override |
wxString | GetImage () override |
wxString | GetDescription () override |
int | GetNumParameterPages () override |
wxString | GetParameterPageName (int aPage) override |
wxArrayString | GetParameterNames (int aPage) override |
wxArrayString | GetParameterTypes (int aPage) override |
wxArrayString | GetParameterValues (int aPage) override |
wxArrayString | GetParameterErrors (int aPage) override |
wxString | SetParameterValues (int aPage, wxArrayString &aValues) override |
FOOTPRINT * | GetFootprint (wxString *aMessages) override |
Build the footprint itself and returns it to the caller function. | |
void * | GetObject () override |
Get the object from where this wizard constructs. | |
wxArrayString | GetParameterHints (int aPage) override |
wxArrayString | GetParameterDesignators (int aPage=0) override |
void | ResetParameters () override |
Reset all wizard parameters to default values. | |
void | register_wizard () |
The standard method of a "FOOTPRINT_WIZARD" to register itself into the FOOTPRINT_WIZARD_LIST singleton manager. | |
Private Member Functions | |
PyObject * | CallMethod (const char *aMethod, PyObject *aArglist=nullptr) |
wxString | CallRetStrMethod (const char *aMethod, PyObject *aArglist=nullptr) |
wxArrayString | CallRetArrayStrMethod (const char *aMethod, PyObject *aArglist=nullptr) |
Private Attributes | |
PyObject * | m_PyWizard |
Definition at line 41 of file pcbnew_footprint_wizards.h.
PYTHON_FOOTPRINT_WIZARD::PYTHON_FOOTPRINT_WIZARD | ( | PyObject * | wizard | ) |
Definition at line 37 of file pcbnew_footprint_wizards.cpp.
References m_PyWizard.
PYTHON_FOOTPRINT_WIZARD::~PYTHON_FOOTPRINT_WIZARD | ( | ) |
Definition at line 46 of file pcbnew_footprint_wizards.cpp.
References m_PyWizard.
|
private |
Definition at line 54 of file pcbnew_footprint_wizards.cpp.
References _, and m_PyWizard.
Referenced by CallRetArrayStrMethod(), CallRetStrMethod(), GetFootprint(), GetNumParameterPages(), GetParameterPageName(), and ResetParameters().
|
private |
Definition at line 116 of file pcbnew_footprint_wizards.cpp.
References CallMethod().
Referenced by GetParameterDesignators(), GetParameterErrors(), GetParameterHints(), GetParameterNames(), GetParameterTypes(), and GetParameterValues().
|
private |
Definition at line 96 of file pcbnew_footprint_wizards.cpp.
References CallMethod().
Referenced by GetDescription(), GetFootprint(), GetImage(), GetName(), and SetParameterValues().
|
overridevirtual |
Implements FOOTPRINT_WIZARD.
Definition at line 159 of file pcbnew_footprint_wizards.cpp.
References CallRetStrMethod().
|
overridevirtual |
Build the footprint itself and returns it to the caller function.
aMessage | is storage for messages (if any) generated by the footprint generator. |
Implements FOOTPRINT_WIZARD.
Definition at line 336 of file pcbnew_footprint_wizards.cpp.
References CallMethod(), CallRetStrMethod(), and PyFootprint_to_FOOTPRINT().
|
overridevirtual |
Implements FOOTPRINT_WIZARD.
Definition at line 151 of file pcbnew_footprint_wizards.cpp.
References CallRetStrMethod().
|
overridevirtual |
Implements FOOTPRINT_WIZARD.
Definition at line 143 of file pcbnew_footprint_wizards.cpp.
References CallRetStrMethod().
|
overridevirtual |
Implements FOOTPRINT_WIZARD.
Definition at line 167 of file pcbnew_footprint_wizards.cpp.
References CallMethod().
|
overridevirtual |
Get the object from where this wizard constructs.
Implements FOOTPRINT_WIZARD.
Definition at line 362 of file pcbnew_footprint_wizards.cpp.
References m_PyWizard.
|
overridevirtual |
aPage | is the page we want to know the designators of. |
Implements FOOTPRINT_WIZARD.
Definition at line 288 of file pcbnew_footprint_wizards.cpp.
References CallRetArrayStrMethod().
|
overridevirtual |
aPage | is the page we want to know the errors of. |
Implements FOOTPRINT_WIZARD.
Definition at line 264 of file pcbnew_footprint_wizards.cpp.
References CallRetArrayStrMethod().
|
overridevirtual |
aPage | is the page we want to know the hints of. |
Implements FOOTPRINT_WIZARD.
Definition at line 276 of file pcbnew_footprint_wizards.cpp.
References CallRetArrayStrMethod().
|
overridevirtual |
aPage | is the page we want the parameter names of. |
Implements FOOTPRINT_WIZARD.
Definition at line 212 of file pcbnew_footprint_wizards.cpp.
References CallRetArrayStrMethod().
|
overridevirtual |
aPage | is the page we want the name of. |
Implements FOOTPRINT_WIZARD.
Definition at line 188 of file pcbnew_footprint_wizards.cpp.
References CallMethod().
|
overridevirtual |
aPage | is the page we want the parameter types of. |
Implements FOOTPRINT_WIZARD.
Definition at line 237 of file pcbnew_footprint_wizards.cpp.
References CallRetArrayStrMethod().
|
overridevirtual |
aPage | is the page we want the parameter values of. |
Implements FOOTPRINT_WIZARD.
Definition at line 251 of file pcbnew_footprint_wizards.cpp.
References CallRetArrayStrMethod().
|
inherited |
The standard method of a "FOOTPRINT_WIZARD" to register itself into the FOOTPRINT_WIZARD_LIST singleton manager.
Definition at line 39 of file footprint_wizard.cpp.
References FOOTPRINT_WIZARD_LIST::register_wizard().
Referenced by PYTHON_FOOTPRINT_WIZARD_LIST::register_wizard().
|
overridevirtual |
Reset all wizard parameters to default values.
Implements FOOTPRINT_WIZARD.
Definition at line 324 of file pcbnew_footprint_wizards.cpp.
References CallMethod().
|
overridevirtual |
aPage | is the page we want to set the parameters in. |
aValues | are the values we want to set into the parameters. |
Implements FOOTPRINT_WIZARD.
Definition at line 300 of file pcbnew_footprint_wizards.cpp.
References CallRetStrMethod(), and res.
|
private |
Definition at line 71 of file pcbnew_footprint_wizards.h.
Referenced by CallMethod(), GetObject(), PYTHON_FOOTPRINT_WIZARD(), and ~PYTHON_FOOTPRINT_WIZARD().