KiCad PCB EDA Suite
|
Hold a list of available plugins, created using a singleton REGISTER_PLUGIN object. More...
#include <pcb_io_mgr.h>
Classes | |
struct | ENTRY |
Public Member Functions | |
void | Register (PCB_FILE_T aType, const wxString &aName, std::function< PCB_IO *(void)> aCreateFunc) |
PCB_IO * | Create (PCB_FILE_T aFileType) const |
const std::vector< ENTRY > & | AllPlugins () const |
Static Public Member Functions | |
static PLUGIN_REGISTRY * | Instance () |
Private Attributes | |
std::vector< ENTRY > | m_plugins |
Hold a list of available plugins, created using a singleton REGISTER_PLUGIN object.
This way, plugins can be added link-time.
Definition at line 84 of file pcb_io_mgr.h.
|
inline |
Definition at line 128 of file pcb_io_mgr.h.
References m_plugins.
Referenced by BOOST_AUTO_TEST_CASE(), PCB_IO_MGR::EnumFromStr(), PCB_IO_MGR::FindPluginTypeFromBoardPath(), PCB_IO_MGR::GuessPluginTypeFromLibPath(), and PCB_IO_MGR::ShowType().
|
inline |
Definition at line 115 of file pcb_io_mgr.h.
References m_plugins.
Referenced by PCB_IO_MGR::PluginFind().
|
inlinestatic |
Definition at line 94 of file pcb_io_mgr.h.
Referenced by AskLoadBoardFileName(), BOOST_AUTO_TEST_CASE(), PCB_IO_MGR::EnumFromStr(), PCB_IO_MGR::FindPluginTypeFromBoardPath(), PCB_IO_MGR::GuessPluginTypeFromLibPath(), FOOTPRINT_EDIT_FRAME::ImportFootprint(), PCB_IO_MGR::PluginFind(), PANEL_FP_LIB_TABLE::populatePluginList(), PCB_IO_MGR::REGISTER_PLUGIN::REGISTER_PLUGIN(), and PCB_IO_MGR::ShowType().
|
inline |
Definition at line 105 of file pcb_io_mgr.h.
References PCB_IO_MGR::PLUGIN_REGISTRY::ENTRY::m_createFunc, PCB_IO_MGR::PLUGIN_REGISTRY::ENTRY::m_name, m_plugins, and PCB_IO_MGR::PLUGIN_REGISTRY::ENTRY::m_type.
Referenced by PCB_IO_MGR::REGISTER_PLUGIN::REGISTER_PLUGIN().
|
private |
Definition at line 134 of file pcb_io_mgr.h.
Referenced by AllPlugins(), Create(), and Register().