KiCad PCB EDA Suite
|
#include <footprint_wizard.h>
Static Public Member Functions | |
static void | register_wizard (FOOTPRINT_WIZARD *aWizard) |
A footprint wizard calls this static method when it wants to register itself into the system wizards. | |
static bool | deregister_object (void *aObject) |
Unregister an object which builds a wizard. | |
static FOOTPRINT_WIZARD * | GetWizard (const wxString &aName) |
static FOOTPRINT_WIZARD * | GetWizard (int aIndex) |
static int | GetWizardsCount () |
Static Private Attributes | |
static std::vector< FOOTPRINT_WIZARD * > | m_FootprintWizards |
FOOTPRINT_WIZARD system wide static list. | |
Definition at line 156 of file footprint_wizard.h.
|
static |
Unregister an object which builds a wizard.
Lookup in the vector calling GetObject until find, then removed and deleted.
aObject | is the footprint wizard object to be unregistered. |
Definition at line 103 of file footprint_wizard.cpp.
References FOOTPRINT_WIZARD::GetObject(), GetWizard(), GetWizardsCount(), and m_FootprintWizards.
Referenced by PYTHON_FOOTPRINT_WIZARD_LIST::deregister_wizard().
|
static |
aName | is the footprint wizard name. |
Definition at line 53 of file footprint_wizard.cpp.
References FOOTPRINT_WIZARD::GetName(), GetWizard(), GetWizardsCount(), and name.
Referenced by deregister_object(), FOOTPRINT_WIZARD_FRAME::GetBuiltFootprint(), FOOTPRINT_WIZARD_FRAME::GetMyWizard(), GetWizard(), DIALOG_FOOTPRINT_WIZARD_LIST::initLists(), DIALOG_FOOTPRINT_WIZARD_LIST::OnCellFpGeneratorClick(), and register_wizard().
|
static |
aIndex | is the wizard index in list. |
Definition at line 47 of file footprint_wizard.cpp.
References m_FootprintWizards.
|
static |
Definition at line 71 of file footprint_wizard.cpp.
References m_FootprintWizards.
Referenced by deregister_object(), GetWizard(), DIALOG_FOOTPRINT_WIZARD_LIST::initLists(), and register_wizard().
|
static |
A footprint wizard calls this static method when it wants to register itself into the system wizards.
aWizard | is the footprint wizard to be registered. |
Definition at line 77 of file footprint_wizard.cpp.
References FOOTPRINT_WIZARD::GetName(), GetWizard(), GetWizardsCount(), and m_FootprintWizards.
Referenced by FOOTPRINT_WIZARD::register_wizard().
|
staticprivate |
FOOTPRINT_WIZARD system wide static list.
Definition at line 201 of file footprint_wizard.h.
Referenced by deregister_object(), GetWizard(), GetWizardsCount(), and register_wizard().