PNS: Add CurrentStart() to placers.
This commit is contained in:
parent
dcc325b3b2
commit
b1f2273bc6
|
@ -103,6 +103,14 @@ public:
|
||||||
*/
|
*/
|
||||||
const ITEM_SET Traces() override;
|
const ITEM_SET Traces() override;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the current start of the line being placed.
|
||||||
|
*/
|
||||||
|
const VECTOR2I& CurrentStart() const override
|
||||||
|
{
|
||||||
|
return m_currentStart;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the current end of the line being placed. It may not be equal to the cursor
|
* Return the current end of the line being placed. It may not be equal to the cursor
|
||||||
* position due to collisions.
|
* position due to collisions.
|
||||||
|
|
|
@ -413,6 +413,12 @@ const ITEM_SET DP_MEANDER_PLACER::Traces()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const VECTOR2I& DP_MEANDER_PLACER::CurrentStart() const
|
||||||
|
{
|
||||||
|
return m_currentStart;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const VECTOR2I& DP_MEANDER_PLACER::CurrentEnd() const
|
const VECTOR2I& DP_MEANDER_PLACER::CurrentEnd() const
|
||||||
{
|
{
|
||||||
return m_currentEnd;
|
return m_currentEnd;
|
||||||
|
|
|
@ -91,6 +91,10 @@ public:
|
||||||
|
|
||||||
const ITEM_SET Traces() override;
|
const ITEM_SET Traces() override;
|
||||||
|
|
||||||
|
/// @copydoc PLACEMENT_ALGO::CurrentStart()
|
||||||
|
const VECTOR2I& CurrentStart() const override;
|
||||||
|
|
||||||
|
/// @copydoc PLACEMENT_ALGO::CurrentEnd()
|
||||||
const VECTOR2I& CurrentEnd() const override;
|
const VECTOR2I& CurrentEnd() const override;
|
||||||
|
|
||||||
/// @copydoc PLACEMENT_ALGO::CurrentNets()
|
/// @copydoc PLACEMENT_ALGO::CurrentNets()
|
||||||
|
|
|
@ -148,6 +148,14 @@ public:
|
||||||
*/
|
*/
|
||||||
const ITEM_SET Traces() override;
|
const ITEM_SET Traces() override;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the current start of the line being placed.
|
||||||
|
*/
|
||||||
|
const VECTOR2I& CurrentStart() const override
|
||||||
|
{
|
||||||
|
return m_currentStart;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the current end of the line being placed. It may not be equal to the cursor
|
* Return the current end of the line being placed. It may not be equal to the cursor
|
||||||
* position due to collisions.
|
* position due to collisions.
|
||||||
|
|
|
@ -252,6 +252,10 @@ const ITEM_SET MEANDER_PLACER::Traces()
|
||||||
return ITEM_SET( &m_currentTrace );
|
return ITEM_SET( &m_currentTrace );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const VECTOR2I& MEANDER_PLACER::CurrentStart() const
|
||||||
|
{
|
||||||
|
return m_currentStart;
|
||||||
|
}
|
||||||
|
|
||||||
const VECTOR2I& MEANDER_PLACER::CurrentEnd() const
|
const VECTOR2I& MEANDER_PLACER::CurrentEnd() const
|
||||||
{
|
{
|
||||||
|
|
|
@ -73,6 +73,9 @@ public:
|
||||||
/// @copydoc PLACEMENT_ALGO::Traces()
|
/// @copydoc PLACEMENT_ALGO::Traces()
|
||||||
const ITEM_SET Traces() override;
|
const ITEM_SET Traces() override;
|
||||||
|
|
||||||
|
/// @copydoc PLACEMENT_ALGO::CurrentStart()
|
||||||
|
const VECTOR2I& CurrentStart() const override;
|
||||||
|
|
||||||
/// @copydoc PLACEMENT_ALGO::CurrentEnd()
|
/// @copydoc PLACEMENT_ALGO::CurrentEnd()
|
||||||
const VECTOR2I& CurrentEnd() const override;
|
const VECTOR2I& CurrentEnd() const override;
|
||||||
|
|
||||||
|
|
|
@ -123,6 +123,13 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual const ITEM_SET Traces() = 0;
|
virtual const ITEM_SET Traces() = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function CurrentStart()
|
||||||
|
*
|
||||||
|
* Returns the current start of the line(s) being placed/tuned.
|
||||||
|
*/
|
||||||
|
virtual const VECTOR2I& CurrentStart() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function CurrentEnd()
|
* Function CurrentEnd()
|
||||||
*
|
*
|
||||||
|
@ -191,8 +198,6 @@ public:
|
||||||
virtual void GetModifiedNets( std::vector<int> &aNets ) const
|
virtual void GetModifiedNets( std::vector<int> &aNets ) const
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue