Horizon
Public Member Functions | List of all members
PNS::MEANDER_SKEW_PLACER Class Reference

Class MEANDER_SKEW_PLACER. More...

#include <pns_meander_skew_placer.h>

Inheritance diagram for PNS::MEANDER_SKEW_PLACER:
PNS::MEANDER_PLACER PNS::MEANDER_PLACER_BASE PNS::PLACEMENT_ALGO PNS::ALGO_BASE

Public Member Functions

 MEANDER_SKEW_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...
 
const std::string TuningInfo () const override
 Function TuningInfo() More...
 
- Public Member Functions inherited from PNS::MEANDER_PLACER
 MEANDER_PLACER (ROUTER *aRouter)
 
virtual bool Start (const VECTOR2I &aP, ITEM *aStartItem) override
 Function Start() More...
 
virtual bool Move (const VECTOR2I &aP, ITEM *aEndItem) override
 Function Move() More...
 
virtual bool FixRoute (const VECTOR2I &aP, ITEM *aEndItem, bool aForceFinish=false) override
 Function FixRoute() More...
 
NODECurrentNode (bool aLoopsRemoved=false) const override
 Function CurrentNode() More...
 
const ITEM_SET Traces () override
 Function Traces() More...
 
const VECTOR2ICurrentEnd () const override
 Function CurrentEnd() More...
 
const std::vector< int > CurrentNets () const override
 Function CurrentNets() More...
 
int CurrentLayer () const override
 Function CurrentLayer() More...
 
virtual const std::string TuningInfo () const override
 Function TuningInfo() More...
 
virtual TUNING_STATUS TuningStatus () const override
 Function TuningStatus() More...
 
bool CheckFit (MEANDER_SHAPE *aShape) override
 Function CheckFit() More...
 
- Public Member Functions inherited from PNS::MEANDER_PLACER_BASE
 MEANDER_PLACER_BASE (ROUTER *aRouter)
 
virtual const std::string TuningInfo () const =0
 Function TuningInfo() More...
 
virtual TUNING_STATUS TuningStatus () const =0
 Function TuningStatus() More...
 
virtual void AmplitudeStep (int aSign)
 Function AmplitudeStep() More...
 
virtual void SpacingStep (int aSign)
 Function SpacingStep() More...
 
virtual const MEANDER_SETTINGSMeanderSettings () const
 Function MeanderSettings() More...
 
virtual void UpdateSettings (const MEANDER_SETTINGS &aSettings)
 
virtual bool CheckFit (MEANDER_SHAPE *aShape)
 Function CheckFit() More...
 
- Public Member Functions inherited from PNS::PLACEMENT_ALGO
 PLACEMENT_ALGO (ROUTER *aRouter)
 
virtual bool Start (const VECTOR2I &aP, ITEM *aStartItem)=0
 Function Start() More...
 
virtual bool Move (const VECTOR2I &aP, ITEM *aEndItem)=0
 Function Move() More...
 
virtual bool FixRoute (const VECTOR2I &aP, ITEM *aEndItem, bool aForceFinish=false)=0
 Function FixRoute() More...
 
virtual bool ToggleVia (bool aEnabled)
 Function ToggleVia() More...
 
virtual bool IsPlacingVia () const
 Function IsPlacingVia() More...
 
virtual bool SetLayer (int aLayer)
 Function SetLayer() More...
 
virtual const ITEM_SET Traces ()=0
 Function Traces() More...
 
virtual const VECTOR2ICurrentEnd () const =0
 Function CurrentEnd() More...
 
virtual const std::vector< int > CurrentNets () const =0
 Function CurrentNets() More...
 
virtual int CurrentLayer () const =0
 Function CurrentLayer() More...
 
virtual NODECurrentNode (bool aLoopsRemoved=false) const =0
 Function CurrentNode() 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...
 
- Public Member Functions inherited from PNS::ALGO_BASE
 ALGO_BASE (ROUTER *aRouter)
 
ROUTERRouter () const
 

‍Returns the instance of our router


 
ROUTING_SETTINGSSettings () const
 

‍Returns current router settings


 
virtual LOGGERLogger ()
 

‍Returns the logger object, allowing to dump geometry to a file.

More...
 
void SetDebugDecorator (DEBUG_DECORATOR *aDecorator)
 Function SetDebugDecorator. More...
 
DEBUG_DECORATORDbg () const
 

Additional Inherited Members

- Public Types inherited from PNS::MEANDER_PLACER_BASE
enum  TUNING_STATUS { TOO_SHORT = 0 , TOO_LONG , TUNED }
 

‍Result of the length tuning operation


 
- Protected Member Functions inherited from PNS::MEANDER_PLACER
bool doMove (const VECTOR2I &aP, ITEM *aEndItem, int aTargetLength)
 
void setWorld (NODE *aWorld)
 
virtual int origPathLength () const
 
- Protected Member Functions inherited from PNS::MEANDER_PLACER_BASE
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...
 
- Protected Attributes inherited from PNS::MEANDER_PLACER
NODEm_world
 

‍pointer to world to search colliding items


 
VECTOR2I m_currentStart
 

‍current routing start point (end of tail, beginning of head)


 
NODEm_currentNode
 

‍Current world state


 
LINE m_originLine
 
LINE m_currentTrace
 
ITEM_SET m_tunedPath
 
SHAPE_LINE_CHAIN m_finalShape
 
MEANDERED_LINE m_result
 
SEGMENTm_initialSegment
 
int m_lastLength
 
TUNING_STATUS m_lastStatus
 
- Protected Attributes inherited from PNS::MEANDER_PLACER_BASE
int m_currentWidth
 

‍width of the meandered trace(s)


 
MEANDER_SETTINGS m_settings
 

‍meandering settings


 
VECTOR2I m_currentEnd
 

‍current end point


 

Detailed Description

Class MEANDER_SKEW_PLACER.

Differential pair skew adjustment algorithm.

Member Function Documentation

◆ Move()

bool PNS::MEANDER_SKEW_PLACER::Move ( const VECTOR2I aP,
ITEM aEndItem 
)
overridevirtual

Function Move()

Moves the end of the currently routed primtive(s) to the point aP, taking aEndItem as the anchor (if not NULL). (unless NULL).

Reimplemented from PNS::MEANDER_PLACER.

◆ Start()

bool PNS::MEANDER_SKEW_PLACER::Start ( const VECTOR2I aP,
ITEM aStartItem 
)
overridevirtual

Function Start()

Starts placement/drag operation at point aP, taking item aStartItem as anchor (unless NULL).

Reimplemented from PNS::MEANDER_PLACER.

◆ TuningInfo()

const std::string PNS::MEANDER_SKEW_PLACER::TuningInfo ( ) const
overridevirtual

Function TuningInfo()

Returns a string describing the status and length of the tuned traces.

Reimplemented from PNS::MEANDER_PLACER.


The documentation for this class was generated from the following files: