KiCad PCB EDA Suite
Loading...
Searching...
No Matches
LAYER_MAPPABLE_PLUGIN Class Reference

Plugin class for import plugins that support remappable layers. More...

#include <plugin_common_layer_mapping.h>

Inheritance diagram for LAYER_MAPPABLE_PLUGIN:
PCB_IO_ALTIUM_CIRCUIT_MAKER PCB_IO_ALTIUM_CIRCUIT_STUDIO PCB_IO_ALTIUM_DESIGNER PCB_IO_CADSTAR_ARCHIVE PCB_IO_EAGLE PCB_IO_SOLIDWORKS

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.
 

Detailed Description

Plugin class for import plugins that support remappable layers.

Definition at line 62 of file plugin_common_layer_mapping.h.

Constructor & Destructor Documentation

◆ ~LAYER_MAPPABLE_PLUGIN()

virtual LAYER_MAPPABLE_PLUGIN::~LAYER_MAPPABLE_PLUGIN ( )
virtualdefault

Member Function Documentation

◆ RegisterCallback()

virtual void LAYER_MAPPABLE_PLUGIN::RegisterCallback ( LAYER_MAPPING_HANDLER  aLayerMappingHandler)
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)

Parameters
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().

Member Data Documentation

◆ m_layer_mapping_handler


The documentation for this class was generated from the following file: