|
TraceMaker
C++ API of the engine
|
One unrouted connection of the state returned, structured for the stuck report (doc 17 §3): where it is, why the last attempt failed (a code, and the search's own words), how often it was ripped or failed, and which nets stood in the way. More...
#include <route/router.hpp>
Public Attributes | |
| std::string | net |
| std::string | a |
| std::string | b |
| "REF.NUM" (b = "zone" for plane connections) | |
| std::string | reason |
| code: boxed_in, exact_check, rip_limit, ripped_not_rerouted, layer_limit, out_of_budget, rolled_back, not_attempted, no_legal_path | |
| std::string | why |
| the last explanation as the router wrote it (net and pad names are the board's) | |
| int | rips = 0 |
| int | fails = 0 |
| int | pad_a = -1 |
| int | pad_b = -1 |
| board pad indices (pad_b = -1: a zone fill) | |
| geom::Point | pos_a {} |
| geom::Point | pos_b {} |
| pad centres (pos_b = pos_a for a zone) | |
| std::vector< std::string > | blockers |
| nets whose routed copper the last rejected route would have had to rip (at most 6) | |
One unrouted connection of the state returned, structured for the stuck report (doc 17 §3): where it is, why the last attempt failed (a code, and the search's own words), how often it was ripped or failed, and which nets stood in the way.
Definition at line 344 of file router.hpp.
| std::string tmk::route::RouteResult::Unrouted::a |
Definition at line 345 of file router.hpp.
| std::string tmk::route::RouteResult::Unrouted::b |
"REF.NUM" (b = "zone" for plane connections)
Definition at line 345 of file router.hpp.
| std::vector<std::string> tmk::route::RouteResult::Unrouted::blockers |
nets whose routed copper the last rejected route would have had to rip (at most 6)
Definition at line 351 of file router.hpp.
| int tmk::route::RouteResult::Unrouted::fails = 0 |
Definition at line 348 of file router.hpp.
| std::string tmk::route::RouteResult::Unrouted::net |
Definition at line 345 of file router.hpp.
| int tmk::route::RouteResult::Unrouted::pad_a = -1 |
Definition at line 349 of file router.hpp.
| int tmk::route::RouteResult::Unrouted::pad_b = -1 |
board pad indices (pad_b = -1: a zone fill)
Definition at line 349 of file router.hpp.
| geom::Point tmk::route::RouteResult::Unrouted::pos_a {} |
Definition at line 350 of file router.hpp.
| geom::Point tmk::route::RouteResult::Unrouted::pos_b {} |
pad centres (pos_b = pos_a for a zone)
Definition at line 350 of file router.hpp.
| std::string tmk::route::RouteResult::Unrouted::reason |
code: boxed_in, exact_check, rip_limit, ripped_not_rerouted, layer_limit, out_of_budget, rolled_back, not_attempted, no_legal_path
Definition at line 346 of file router.hpp.
| int tmk::route::RouteResult::Unrouted::rips = 0 |
Definition at line 348 of file router.hpp.
| std::string tmk::route::RouteResult::Unrouted::why |
the last explanation as the router wrote it (net and pad names are the board's)
Definition at line 347 of file router.hpp.