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

#include <server/messages.hpp>

Public Attributes

std::int64_t conn = 0
model::NetId net = 0
int rung = 0
std::string cause
model::Point a
model::Point b
std::vector< ObjectId > blockers
geom::Box region
 empty box = none
std::vector< model::NetId > blocker_nets
 Why the attempt was rejected (doc 13, issue #8); all optional, and an old reader ignores them. Lengths in nm; unset = left out.
std::string reason
 boxed_in, no_legal_path, exact_check, rip_limit, ...
std::int64_t width_nm = 0
std::int64_t clearance_nm = 0
std::int64_t min_width_nm = 0
 the attempt's track width and clearance, and the narrowest legal width
std::int64_t gap_nm = -1
std::int64_t gap_fixed_nm = -1
 widest track that gets through (routed copper counted / only fixed copper)
int gap_layer = -1
std::optional< model::Point > at
 where the way is narrowest (or the closest approach)
std::string verdict
 placement | rule | contested | unknown
std::string rule
 where the width and clearance came from
std::vector< PathPoint > rejected
 the path that was tried

Detailed Description

Definition at line 54 of file messages.hpp.

Member Data Documentation

◆ a

model::Point tmk::server::Failure::a

Definition at line 59 of file messages.hpp.

◆ at

std::optional<model::Point> tmk::server::Failure::at

where the way is narrowest (or the closest approach)

Definition at line 68 of file messages.hpp.

◆ b

model::Point tmk::server::Failure::b

Definition at line 59 of file messages.hpp.

◆ blocker_nets

std::vector<model::NetId> tmk::server::Failure::blocker_nets

Why the attempt was rejected (doc 13, issue #8); all optional, and an old reader ignores them. Lengths in nm; unset = left out.

nets of the connections the rejected route would have ripped

Definition at line 63 of file messages.hpp.

◆ blockers

std::vector<ObjectId> tmk::server::Failure::blockers

Definition at line 60 of file messages.hpp.

◆ cause

std::string tmk::server::Failure::cause

Definition at line 58 of file messages.hpp.

◆ clearance_nm

std::int64_t tmk::server::Failure::clearance_nm = 0

Definition at line 65 of file messages.hpp.

◆ conn

std::int64_t tmk::server::Failure::conn = 0

Definition at line 55 of file messages.hpp.

◆ gap_fixed_nm

std::int64_t tmk::server::Failure::gap_fixed_nm = -1

widest track that gets through (routed copper counted / only fixed copper)

Definition at line 66 of file messages.hpp.

◆ gap_layer

int tmk::server::Failure::gap_layer = -1

Definition at line 67 of file messages.hpp.

◆ gap_nm

std::int64_t tmk::server::Failure::gap_nm = -1

Definition at line 66 of file messages.hpp.

◆ min_width_nm

std::int64_t tmk::server::Failure::min_width_nm = 0

the attempt's track width and clearance, and the narrowest legal width

Definition at line 65 of file messages.hpp.

◆ net

model::NetId tmk::server::Failure::net = 0

Definition at line 56 of file messages.hpp.

◆ reason

std::string tmk::server::Failure::reason

boxed_in, no_legal_path, exact_check, rip_limit, ...

Definition at line 64 of file messages.hpp.

◆ region

geom::Box tmk::server::Failure::region

empty box = none

Definition at line 61 of file messages.hpp.

◆ rejected

std::vector<PathPoint> tmk::server::Failure::rejected

the path that was tried

Definition at line 71 of file messages.hpp.

◆ rule

std::string tmk::server::Failure::rule

where the width and clearance came from

Definition at line 70 of file messages.hpp.

◆ rung

int tmk::server::Failure::rung = 0

Definition at line 57 of file messages.hpp.

◆ verdict

std::string tmk::server::Failure::verdict

placement | rule | contested | unknown

Definition at line 69 of file messages.hpp.

◆ width_nm

std::int64_t tmk::server::Failure::width_nm = 0

Definition at line 65 of file messages.hpp.


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