These are the edge-connectors that a device may have.
Public Member Functions | |
bool | operator== (const ConnectionPort &) const noexcept |
bool | operator!= (const ConnectionPort &) const noexcept |
Public Attributes | |
DeviceEdge | edge |
The side of the device on which this port is located. More... | |
int | index |
The index of this port along the device edge. More... | |
Public Types | |
enum class | DeviceEdge { north , south , east , west } |
|
noexcept |
|
noexcept |
|
strong |
DeviceEdge Block::ConnectionPort::edge |
The side of the device on which this port is located.
int Block::ConnectionPort::index |
The index of this port along the device edge.
For north and south edges, index 0 is the left-most port. For east and west edges, index 0 is the top-most port.