HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::WaitToBeSeatedEntry Class Reference

#include </home/runner/work/hal/hal/plugins/gui/include/gui/graph_widget/layouters/wait_to_be_seated.h>

Collaboration diagram for hal::WaitToBeSeatedEntry:
Collaboration graph

Public Member Functions

 WaitToBeSeatedEntry (Node::NodeType t=Node::Module, u32 id=0)
 
Node getNode () const
 
u32 getId () const
 
QString tagName () const
 
bool isModule () const
 
double distance (const QPoint &pos, double defaultDistance) const
 

Static Public Member Functions

static int distance (const QPoint &source, const QPoint &pos)
 

Friends

class WaitToBeSeatedList
 
class WaitToBeSeatedWaiting
 

Detailed Description

One node that still has to be placed, together with the already placed nodes it connects to.

Definition at line 47 of file wait_to_be_seated.h.

Constructor & Destructor Documentation

◆ WaitToBeSeatedEntry()

hal::WaitToBeSeatedEntry::WaitToBeSeatedEntry ( Node::NodeType  t = Node::Module,
u32  id = 0 
)

Definition at line 14 of file wait_to_be_seated.cpp.

Member Function Documentation

◆ distance() [1/2]

double hal::WaitToBeSeatedEntry::distance ( const QPoint pos,
double  defaultDistance 
) const

Definition at line 71 of file wait_to_be_seated.cpp.

References getId().

◆ distance() [2/2]

int hal::WaitToBeSeatedEntry::distance ( const QPoint source,
const QPoint pos 
)
static

Definition at line 92 of file wait_to_be_seated.cpp.

References QPoint::x(), and QPoint::y().

◆ getId()

u32 hal::WaitToBeSeatedEntry::getId ( ) const
inline

◆ getNode()

Node hal::WaitToBeSeatedEntry::getNode ( ) const
inline

Definition at line 61 of file wait_to_be_seated.h.

◆ isModule()

bool hal::WaitToBeSeatedEntry::isModule ( ) const

◆ tagName()

QString hal::WaitToBeSeatedEntry::tagName ( ) const

Definition at line 55 of file wait_to_be_seated.cpp.

References QString::arg(), getId(), and isModule().

Referenced by hal::WaitToBeSeatedList::dump().

Friends And Related Function Documentation

◆ WaitToBeSeatedList

friend class WaitToBeSeatedList
friend

Definition at line 49 of file wait_to_be_seated.h.

◆ WaitToBeSeatedWaiting

friend class WaitToBeSeatedWaiting
friend

Definition at line 50 of file wait_to_be_seated.h.


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