Horizon
|
Class DP_MEANDER_PLACER. More...
#include <pns_dp_meander_placer.h>
Public Member Functions | |
DP_MEANDER_PLACER (ROUTER *aRouter) | |
bool | Start (const VECTOR2I &aP, ITEM *aStartItem) override |
Function Start() More... | |
bool | Move (const VECTOR2I &aP, ITEM *aEndItem) override |
Function Move() More... | |
bool | FixRoute (const VECTOR2I &aP, ITEM *aEndItem, bool aForceFinish=false) override |
Function FixRoute() More... | |
const LINE | Trace () const |
NODE * | CurrentNode (bool aLoopsRemoved=false) const override |
Function CurrentNode() More... | |
const ITEM_SET | Traces () override |
Function Traces() More... | |
const VECTOR2I & | CurrentEnd () const override |
Function CurrentEnd() More... | |
const std::vector< int > | CurrentNets () const override |
Function CurrentNets() More... | |
int | CurrentLayer () const override |
Function CurrentLayer() More... | |
int | totalLength () |
const std::string | TuningInfo () const override |
Function TuningInfo() More... | |
TUNING_STATUS | TuningStatus () const override |
Function TuningStatus() More... | |
bool | CheckFit (MEANDER_SHAPE *aShape) override |
Function CheckFit() More... | |
![]() | |
MEANDER_PLACER_BASE (ROUTER *aRouter) | |
virtual void | AmplitudeStep (int aSign) |
Function AmplitudeStep() More... | |
virtual void | SpacingStep (int aSign) |
Function SpacingStep() More... | |
virtual const MEANDER_SETTINGS & | MeanderSettings () const |
Function MeanderSettings() More... | |
virtual void | UpdateSettings (const MEANDER_SETTINGS &aSettings) |
![]() | |
PLACEMENT_ALGO (ROUTER *aRouter) | |
virtual bool | ToggleVia (bool aEnabled) |
Function ToggleVia() More... | |
virtual bool | IsPlacingVia () const |
Function IsPlacingVia() More... | |
virtual bool | SetLayer (int aLayer) |
Function SetLayer() More... | |
virtual void | FlipPosture () |
Function FlipPosture() More... | |
virtual void | UpdateSizes (const SIZES_SETTINGS &aSizes) |
Function UpdateSizes() More... | |
virtual void | SetOrthoMode (bool aOrthoMode) |
Function SetOrthoMode() More... | |
virtual void | GetModifiedNets (std::vector< int > &aNets) const |
Function GetModifiedNets. More... | |
![]() | |
ALGO_BASE (ROUTER *aRouter) | |
ROUTER * | Router () const |
| |
ROUTING_SETTINGS & | Settings () const |
| |
virtual LOGGER * | Logger () |
| |
void | SetDebugDecorator (DEBUG_DECORATOR *aDecorator) |
Function SetDebugDecorator. More... | |
DEBUG_DECORATOR * | Dbg () const |
Friends | |
class | MEANDER_SHAPE |
Additional Inherited Members | |
![]() | |
enum | TUNING_STATUS { TOO_SHORT = 0 , TOO_LONG , TUNED } |
| |
![]() | |
void | cutTunedLine (const SHAPE_LINE_CHAIN &aOrigin, const VECTOR2I &aTuneStart, const VECTOR2I &aCursorPos, SHAPE_LINE_CHAIN &aPre, SHAPE_LINE_CHAIN &aTuned, SHAPE_LINE_CHAIN &aPost) |
Function cutTunedLine() More... | |
void | tuneLineLength (MEANDERED_LINE &aTuned, int aElongation) |
Function tuneLineLength() More... | |
int | compareWithTolerance (int aValue, int aExpected, int aTolerance=0) const |
Function compareWithTolerance() More... | |
![]() | |
int | m_currentWidth |
| |
MEANDER_SETTINGS | m_settings |
| |
VECTOR2I | m_currentEnd |
| |
Class DP_MEANDER_PLACER.
Differential Pair length-matching/meandering tool.
|
overridevirtual |
Function CheckFit()
Checks if it's ok to place the shape aShape (i.e. if it doesn't cause DRC violations or collide with other meanders).
aShape | the shape to check |
Reimplemented from PNS::MEANDER_PLACER_BASE.
|
overridevirtual |
Function CurrentEnd()
Returns the current end of the line(s) being placed/tuned. It may not be equal to the cursor position due to collisions.
Implements PNS::PLACEMENT_ALGO.
|
overridevirtual |
Function CurrentLayer()
Returns the layer of currently routed track.
Implements PNS::PLACEMENT_ALGO.
|
overridevirtual |
Function CurrentNets()
Returns the net code(s) of currently routed track(s).
Implements PNS::PLACEMENT_ALGO.
|
overridevirtual |
|
overridevirtual |
Function FixRoute()
Commits the currently routed track to the parent node, taking aP as the final end point and aEndItem as the final anchor (if provided).
Implements PNS::PLACEMENT_ALGO.
Function Move()
Moves the end of the currently routed trace to the point aP, taking aEndItem as anchor (if not NULL). (unless NULL).
Implements PNS::PLACEMENT_ALGO.
Function Start()
Starts routing a single track at point aP, taking item aStartItem as anchor (unless NULL).
Implements PNS::PLACEMENT_ALGO.
|
overridevirtual |
|
overridevirtual |
Function TuningInfo()
Returns a string describing the status and length of the tuned traces.
Implements PNS::MEANDER_PLACER_BASE.
|
overridevirtual |
Function TuningStatus()
Returns the tuning status (too short, too long, etc.) of the trace(s) being tuned.
Implements PNS::MEANDER_PLACER_BASE.