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

Class ROUTING_SETTINGS. More...

#include <pns_routing_settings.h>

Public Member Functions

PNS_MODE Mode () const
 

Returns the routing mode.


 
void SetMode (PNS_MODE aMode)
 

Sets the routing mode.


 
PNS_OPTIMIZATION_EFFORT OptimizerEffort () const
 

Returns the optimizer effort. Bigger means cleaner traces, but slower routing.


 
void SetOptimizerEffort (PNS_OPTIMIZATION_EFFORT aEffort)
 

Sets the optimizer effort. Bigger means cleaner traces, but slower routing.


 
bool ShoveVias () const
 

Returns true if shoving vias is enbled.


 
void SetShoveVias (bool aShoveVias)
 

Enables/disables shoving vias.


 
bool RemoveLoops () const
 

Returns true if loop (redundant track) removal is on.


 
void SetRemoveLoops (bool aRemoveLoops)
 

Enables/disables loop (redundant track) removal.


 
bool SuggestFinish ()
 

Returns true if suggesting the finish of currently placed track is on.


 
void SetSuggestFinish (bool aSuggestFinish)
 

Enables displaying suggestions for finishing the currently placed track.


 
bool SmartPads () const
 

Returns true if Smart Pads (optimized connections) is enabled.


 
void SetSmartPads (bool aSmartPads)
 

Enables/disables Smart Pads (optimized connections).


 
bool FollowMouse () const
 

Returns true if follow mouse mode is active (permanently on for the moment).


 
bool SmoothDraggedSegments () const
 

Returns true if smoothing segments durign dragging is enabled.


 
void SetSmoothDraggedSegments (bool aSmooth)
 

Enables/disabled smoothing segments during dragging.


 
bool JumpOverObstacles () const
 

Returns true if jumping over unmovable obstacles is on.


 
void SetJumpOverObstacles (bool aJumpOverObstacles)
 

Enables/disables jumping over unmovable obstacles.


 
void SetStartDiagonal (bool aStartDiagonal)
 
bool CanViolateDRC () const
 
void SetCanViolateDRC (bool aViolate)
 
bool GetFreeAngleMode () const
 
void SetFreeAngleMode (bool aEnable)
 
const DIRECTION_45 InitialDirection () const
 
int ShoveIterationLimit () const
 
TIME_LIMIT ShoveTimeLimit () const
 
int WalkaroundIterationLimit () const
 
TIME_LIMIT WalkaroundTimeLimit () const
 
void SetInlineDragEnabled (bool aEnable)
 
bool InlineDragEnabled () const
 
void SetSnapToTracks (bool aSnap)
 
void SetSnapToPads (bool aSnap)
 
bool GetSnapToTracks () const
 
bool GetSnapToPads () const
 

Detailed Description

Class ROUTING_SETTINGS.

Contains all persistent settings of the router, such as the mode, optimization effort, etc.


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