KiCad PCB EDA Suite
plugin_common_layer_mapping.h File Reference
#include <functional>
#include <io_mgr.h>
#include <layers_id_colors_and_visibility.h>

Go to the source code of this file.

Classes

struct  INPUT_LAYER_DESC
 Describes an imported layer and how it could be mapped to KiCad Layers. More...
 
class  LAYER_REMAPPABLE_PLUGIN
 Plugin class for import plugins that support remappable layers. More...
 

Typedefs

using LAYER_MAPPING_HANDLER = std::function< std::map< wxString, PCB_LAYER_ID >(const std::vector< INPUT_LAYER_DESC > &)>
 Pointer to a function that takes a map of source and KiCad layers and returns a re-mapped version. More...
 

Typedef Documentation

◆ LAYER_MAPPING_HANDLER

using LAYER_MAPPING_HANDLER = std::function<std::map<wxString, PCB_LAYER_ID>( const std::vector<INPUT_LAYER_DESC>& )>

Pointer to a function that takes a map of source and KiCad layers and returns a re-mapped version.

If the re-mapped layer is UNDEFINED_LAYER, then the source layer will not be imported

Definition at line 54 of file plugin_common_layer_mapping.h.