Horizon
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PNS::ROUTING_SETTINGS Class Reference

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

#include <pns_routing_settings.h>

Public Member Functions

 ROUTING_SETTINGS ()
 Return the routing mode.
 
PNS_MODE Mode () const
 Set the routing mode.
 
void SetMode (PNS_MODE aMode)
 Return the optimizer effort. Bigger means cleaner traces, but slower routing.
 
PNS_OPTIMIZATION_EFFORT OptimizerEffort () const
 Set the optimizer effort. Bigger means cleaner traces, but slower routing.
 
void SetOptimizerEffort (PNS_OPTIMIZATION_EFFORT aEffort)
 Return true if shoving vias is enabled.
 
bool ShoveVias () const
 Enable/disable shoving vias.
 
void SetShoveVias (bool aShoveVias)
 Return true if loop (redundant track) removal is on.
 
bool RemoveLoops () const
 Enable/disable loop (redundant track) removal.
 
void SetRemoveLoops (bool aRemoveLoops)
 Return true if suggesting the finish of currently placed track is on.
 
bool SuggestFinish ()
 Enable displaying suggestions for finishing the currently placed track.
 
void SetSuggestFinish (bool aSuggestFinish)
 Return true if Smart Pads (optimized connections) is enabled.
 
bool SmartPads () const
 Enable/disable Smart Pads (optimized connections).
 
void SetSmartPads (bool aSmartPads)
 Return true if follow mouse mode is active (permanently on for the moment).
 
bool FollowMouse () const
 Return true if smoothing segments during dragging is enabled.
 
bool SmoothDraggedSegments () const
 Enable/disable smoothing segments during dragging.
 
void SetSmoothDraggedSegments (bool aSmooth)
 Return true if jumping over unmovable obstacles is on.
 
bool JumpOverObstacles () const
 
void SetJumpOverObstacles (bool aJump)
 
void SetStartDiagonal (bool aStartDiagonal)
 
bool AllowDRCViolations () const
 
bool GetAllowDRCViolationsSetting () const
 
void SetAllowDRCViolations (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 SetSnapToTracks (bool aSnap)
 
void SetSnapToPads (bool aSnap)
 
bool GetSnapToTracks () const
 
bool GetSnapToPads () const
 
DIRECTION_45::CORNER_MODE GetCornerMode () const
 
void SetCornerMode (DIRECTION_45::CORNER_MODE aMode)
 
bool GetOptimizeEntireDraggedTrack () const
 
void SetOptimizeEntireDraggedTrack (bool aEnable)
 
bool GetAutoPosture () const
 
void SetAutoPosture (bool aEnable)
 
bool GetFixAllSegments () const
 
void SetFixAllSegments (bool aEnable)
 
double WalkaroundHugLengthThreshold () const
 

Detailed Description

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


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