TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::app::RouteJobResult Struct Reference

#include <app/route_job.hpp>

Public Member Functions

int exit_code () const
 0 when everything planned was routed (and, with soft zones, nothing is unconnected after the refill).

Public Attributes

route::RouteResult result
nlohmann::json items
 new copper in the –emit-items layout (layer and net by name, nm)
nlohmann::json summary
 the –json layout
std::string viewer_url
 empty when not viewing
int unconnected_after_refill = -1
 with soft zones: what KiCad's refill would leave unconnected

Detailed Description

Definition at line 107 of file route_job.hpp.

Member Function Documentation

◆ exit_code()

int tmk::app::RouteJobResult::exit_code ( ) const
inline

0 when everything planned was routed (and, with soft zones, nothing is unconnected after the refill).

Definition at line 114 of file route_job.hpp.

Member Data Documentation

◆ items

nlohmann::json tmk::app::RouteJobResult::items

new copper in the –emit-items layout (layer and net by name, nm)

Definition at line 109 of file route_job.hpp.

◆ result

route::RouteResult tmk::app::RouteJobResult::result

Definition at line 108 of file route_job.hpp.

◆ summary

nlohmann::json tmk::app::RouteJobResult::summary

the –json layout

Definition at line 110 of file route_job.hpp.

◆ unconnected_after_refill

int tmk::app::RouteJobResult::unconnected_after_refill = -1

with soft zones: what KiCad's refill would leave unconnected

Definition at line 112 of file route_job.hpp.

◆ viewer_url

std::string tmk::app::RouteJobResult::viewer_url

empty when not viewing

Definition at line 111 of file route_job.hpp.


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