KiCad PCB EDA Suite
|
Plugin class for import plugins that support remappable layers. More...
#include <plugin_common_layer_mapping.h>
Public Member Functions | |
virtual void | RegisterCallback (LAYER_MAPPING_HANDLER aLayerMappingHandler) |
Register a different handler to be called when mapping of input layers to KiCad layers occurs. | |
virtual | ~LAYER_MAPPABLE_PLUGIN ()=default |
Protected Attributes | |
LAYER_MAPPING_HANDLER | m_layer_mapping_handler |
Callback to get layer mapping. | |
Plugin class for import plugins that support remappable layers.
Definition at line 62 of file plugin_common_layer_mapping.h.
|
virtualdefault |
|
inlinevirtual |
Register a different handler to be called when mapping of input layers to KiCad layers occurs.
The function is marked as virtual, so the plugins can implement extra logic (e.g., enable warnings or checks)
aLayerMappingHandler |
Reimplemented in PCB_IO_CADSTAR_ARCHIVE.
Definition at line 74 of file plugin_common_layer_mapping.h.
References m_layer_mapping_handler.
Referenced by PCB_IO_ALTIUM_CIRCUIT_MAKER::PCB_IO_ALTIUM_CIRCUIT_MAKER(), PCB_IO_ALTIUM_CIRCUIT_STUDIO::PCB_IO_ALTIUM_CIRCUIT_STUDIO(), PCB_IO_ALTIUM_DESIGNER::PCB_IO_ALTIUM_DESIGNER(), PCB_IO_CADSTAR_ARCHIVE::PCB_IO_CADSTAR_ARCHIVE(), PCB_IO_EAGLE::PCB_IO_EAGLE(), PCB_IO_SOLIDWORKS::PCB_IO_SOLIDWORKS(), and PCB_IO_CADSTAR_ARCHIVE::RegisterCallback().
|
protected |
Callback to get layer mapping.
Definition at line 81 of file plugin_common_layer_mapping.h.
Referenced by PCB_IO_CADSTAR_ARCHIVE::ensureLoadedLibrary(), PCB_IO_ALTIUM_DESIGNER::FootprintLoad(), PCB_IO_ALTIUM_CIRCUIT_STUDIO::LoadBoard(), PCB_IO_ALTIUM_CIRCUIT_MAKER::LoadBoard(), PCB_IO_ALTIUM_DESIGNER::LoadBoard(), PCB_IO_SOLIDWORKS::LoadBoard(), PCB_IO_CADSTAR_ARCHIVE::LoadBoard(), and RegisterCallback().