| 
    KiCad PCB EDA Suite
    
   | 
 
Cross probing functions to handle communication to and from Eeschema. More...
#include <board.h>#include <board_design_settings.h>#include <footprint.h>#include <pad.h>#include <pcb_track.h>#include <pcb_group.h>#include <zone.h>#include <collectors.h>#include <eda_dde.h>#include <kiface_base.h>#include <kiway_express.h>#include <string_utils.h>#include <netlist_reader/pcb_netlist.h>#include <netlist_reader/board_netlist_updater.h>#include <gal/painter.h>#include <pcb_edit_frame.h>#include <pcbnew_settings.h>#include <render_settings.h>#include <richio.h>#include <tool/tool_manager.h>#include <tools/pcb_actions.h>#include <tools/pcb_selection_tool.h>#include <trace_helpers.h>#include <netlist_reader/netlist_reader.h>#include <widgets/pcb_design_block_pane.h>#include <wx/log.h>Go to the source code of this file.
Functions | |
| std::string | FormatProbeItem (BOARD_ITEM *aItem) | 
| template<typename ItemContainer> | |
| void | collectItemsForSyncParts (ItemContainer &aItems, std::set< wxString > &parts) | 
Cross probing functions to handle communication to and from Eeschema.
Handle messages between Pcbnew and Eeschema via a socket, the port numbers are KICAD_PCB_PORT_SERVICE_NUMBER (currently 4242) (Eeschema to Pcbnew) KICAD_SCH_PORT_SERVICE_NUMBER (currently 4243) (Pcbnew to Eeschema) Note: these ports must be enabled for firewall protection
Definition in file pcbnew/cross-probing.cpp.
| void collectItemsForSyncParts | ( | ItemContainer & | aItems, | 
| std::set< wxString > & | parts ) | 
Definition at line 301 of file pcbnew/cross-probing.cpp.
References collectItemsForSyncParts(), CTX_IPC, EscapeString(), FOOTPRINT::GetReference(), group, pad, PCB_FOOTPRINT_T, PCB_GROUP_T, and PCB_PAD_T.
Referenced by collectItemsForSyncParts(), and PCB_EDIT_FRAME::SendSelectItemsToSch().
| std::string FormatProbeItem | ( | BOARD_ITEM * | aItem | ) | 
Definition at line 248 of file pcbnew/cross-probing.cpp.
References BOARD_ITEM::GetParentFootprint(), FOOTPRINT::GetReference(), EDA_TEXT::GetText(), PCB_FIELD::IsReference(), PCB_FIELD::IsValue(), pad, PCB_FIELD_T, PCB_FOOTPRINT_T, PCB_PAD_T, StrPrintf(), TO_UTF8, and EDA_ITEM::Type().
Referenced by PCB_EDIT_FRAME::SendCrossProbeItem().