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

Routes cross-probe messages between standalone KiCad instances over the IPC API. More...

#include <cross_probe_client.h>

Static Public Member Functions

static bool SendToFrame (FRAME_T aTarget, const google::protobuf::Message &aRequest)
 
static void AnnounceToPrimary (FRAME_T aFrameType)
 
static void RegisterPeer (FRAME_T aFrameType, const std::string &aSocketPath)
 
static bool IsOnStandardSocketPath ()
 

Static Private Attributes

static std::mutex s_mutex
 
static std::map< FRAME_T, std::string > s_peers
 

Detailed Description

Routes cross-probe messages between standalone KiCad instances over the IPC API.

Can be removed once we remove standalone mode.

Definition at line 37 of file cross_probe_client.h.

Member Function Documentation

◆ AnnounceToPrimary()

◆ IsOnStandardSocketPath()

bool CROSS_PROBE_CLIENT::IsOnStandardSocketPath ( )
static

◆ RegisterPeer()

void CROSS_PROBE_CLIENT::RegisterPeer ( FRAME_T aFrameType,
const std::string & aSocketPath )
static

◆ SendToFrame()

Member Data Documentation

◆ s_mutex

std::mutex CROSS_PROBE_CLIENT::s_mutex
staticprivate

Definition at line 49 of file cross_probe_client.h.

Referenced by RegisterPeer(), and SendToFrame().

◆ s_peers

std::map< FRAME_T, std::string > CROSS_PROBE_CLIENT::s_peers
staticprivate

Definition at line 50 of file cross_probe_client.h.

Referenced by RegisterPeer(), and SendToFrame().


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