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

A proximity rule bound to pads (doc 15 §4 proximity): each pair is (pad of the part that should move close, pad it should be close to). More...

#include <crules/engine.hpp>

Public Attributes

const RuleSpec * spec = nullptr
int instance = -1
std::vector< std::pair< int, int > > pairs
double limit_mm = 0
int weight = 10
 placement pseudo-net weight (kSignalWeight; x2 for ESD to connector, doc 15 §5.2)
std::string unbound
 non-empty: a role it needs is missing

Detailed Description

A proximity rule bound to pads (doc 15 §4 proximity): each pair is (pad of the part that should move close, pad it should be close to).

Shared by the measurement and the placement pseudo-nets so both agree.

Definition at line 58 of file engine.hpp.

Member Data Documentation

◆ instance

int tmk::crules::ProximityPairs::instance = -1

Definition at line 60 of file engine.hpp.

◆ limit_mm

double tmk::crules::ProximityPairs::limit_mm = 0

Definition at line 62 of file engine.hpp.

◆ pairs

std::vector<std::pair<int, int> > tmk::crules::ProximityPairs::pairs

Definition at line 61 of file engine.hpp.

◆ spec

const RuleSpec* tmk::crules::ProximityPairs::spec = nullptr

Definition at line 59 of file engine.hpp.

◆ unbound

std::string tmk::crules::ProximityPairs::unbound

non-empty: a role it needs is missing

Definition at line 64 of file engine.hpp.

◆ weight

int tmk::crules::ProximityPairs::weight = 10

placement pseudo-net weight (kSignalWeight; x2 for ESD to connector, doc 15 §5.2)

Definition at line 63 of file engine.hpp.


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