Public Member Functions | |
def | __init__ |
def | collector |
def | emitter |
def | leftBlock |
def | rightBlock |
def | vertex |
Properties | |
index = property(__get_index,__set_index) | |
Private Member Functions | |
def | __get_index |
def | __set_index |
def | _release |
Private Attributes | |
_index | |
_topology | |
_vertex |
Visual Representation of a Vertex Visual Parameters Index - Unique int value to determine order in which to draw blocks. Lower values to the left, higher to the right. Indices do not necessarily need to be consecutive.
Definition at line 300 of file topology.py.
def diarc.diarc.topology.Block.__init__ | ( | self, | |
vertex | |||
) |
Definition at line 307 of file topology.py.
def diarc.diarc.topology.Block.__get_index | ( | self | ) | [private] |
Definition at line 451 of file topology.py.
def diarc.diarc.topology.Block.__set_index | ( | self, | |
value | |||
) | [private] |
Check to see if a block with the same index already exists
Definition at line 453 of file topology.py.
def diarc.diarc.topology.Block._release | ( | self | ) | [private] |
releases this block from the topology. This should only be called by Vertex.release()
Definition at line 316 of file topology.py.
def diarc.diarc.topology.Block.collector | ( | self | ) |
Dictionary of Snaps that represent sink connections for this block. Only snaps which have been assigned an order value are represented, since the order is used as the dictionary key. If hide_disconnected_snaps is set in the topology, only return snaps where isLinked() is true.
Definition at line 364 of file topology.py.
def diarc.diarc.topology.Block.emitter | ( | self | ) |
Dictionary of Snaps that represent source connections for this block. Only snaps which have been assigned an order value are represented, since the order is used as the dictionary key. If hide_disconnected_snaps is set in the topology, only return snaps where isLinked() is true.
Definition at line 351 of file topology.py.
def diarc.diarc.topology.Block.leftBlock | ( | self | ) |
Definition at line 377 of file topology.py.
def diarc.diarc.topology.Block.rightBlock | ( | self | ) |
Definition at line 393 of file topology.py.
def diarc.diarc.topology.Block.vertex | ( | self | ) |
Returns the logical component (Vertex) for this relative object. The vertex is bound to this block, and cannot be changed.
Definition at line 344 of file topology.py.
diarc::diarc::topology.Block::_index [private] |
Definition at line 307 of file topology.py.
diarc::diarc::topology.Block::_topology [private] |
Definition at line 307 of file topology.py.
diarc::diarc::topology.Block::_vertex [private] |
Definition at line 307 of file topology.py.
diarc::diarc::topology.Block::index = property(__get_index,__set_index) [static] |
Definition at line 468 of file topology.py.