KiCad PCB EDA Suite
|
DDE server & client. More...
#include <string>
#include <wx/socket.h>
Go to the source code of this file.
Macros | |
#define | KICAD_PCB_PORT_SERVICE_NUMBER 4242 |
< Pcbnew listens on this port for commands from Eeschema | |
#define | KICAD_SCH_PORT_SERVICE_NUMBER 4243 |
Scripting window listens for commands for other apps. | |
#define | KICAD_PY_PORT_SERVICE_NUMBER 4244 |
#define | MSG_TO_PCB KICAD_PCB_PORT_SERVICE_NUMBER |
#define | MSG_TO_SCH KICAD_SCH_PORT_SERVICE_NUMBER |
Functions | |
bool | SendCommand (int aPort, const std::string &aMessage) |
Must be called to clean up the socket thread used by SendCommand. | |
void | SocketCleanup () |
DDE server & client.
Definition in file eda_dde.h.
#define KICAD_PCB_PORT_SERVICE_NUMBER 4242 |
#define KICAD_SCH_PORT_SERVICE_NUMBER 4243 |
#define MSG_TO_PCB KICAD_PCB_PORT_SERVICE_NUMBER |
#define MSG_TO_SCH KICAD_SCH_PORT_SERVICE_NUMBER |
bool SendCommand | ( | int | aService, |
const std::string & | aMessage | ||
) |
Must be called to clean up the socket thread used by SendCommand.
Must be called to clean up the socket thread used by SendCommand.
aService | is the service number for the TC/IP connection. |
aMessage | is the message to send. |
Definition at line 310 of file eda_dde.cpp.
References socketHolder.
Referenced by CVPCB_MAINFRAME::SendComponentSelectionToSch(), SCH_EDIT_FRAME::SendCrossProbeClearHighlight(), PCB_EDIT_FRAME::SendCrossProbeItem(), SCH_EDIT_FRAME::SendCrossProbeNetName(), PCB_EDIT_FRAME::SendCrossProbeNetName(), SCH_EDIT_FRAME::SendSelectItemsToPcb(), PCB_EDIT_FRAME::SendSelectItemsToSch(), and SCH_EDIT_FRAME::SetCrossProbeConnection().
void SocketCleanup | ( | ) |
Definition at line 319 of file eda_dde.cpp.
References socketHolder.
Referenced by EDA_BASE_FRAME::~EDA_BASE_FRAME().