translator.intermediateBuilder.annotated.annotatedNode
index
/home/yentl/UA/devs-eindwerk/translator/translator/intermediateBuilder/annotated/annotatedNode.py

 
Classes
       
translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement(builtins.object)
AnnotatedNode

 
class AnnotatedNode(translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement)
    AnnotatedNode is the annotated version of a node
 
 
Method resolution order:
AnnotatedNode
translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement
builtins.object

Methods defined here:
__init__(self, node, coordinates, facing)
Constructor
bindCompWithComp(self, coordinate, inputComp, annotatedConnectionList, inputsFound, connectedInputs=[(250, 200), (180, 100), (290, 370), (290, 440), (290, 300), (290, 510), (290, 630), (480, 370), (490, 560), (480, 800), (240, 140), (240, 230), (520, 580), (180, 80)], extraInfo=None)
If the coordinate equals the component coordinates, we can bind the component with the other component
(Self equals the first components output, whom is connected to the inputComps input)
bindOutput(self, annotatedConnectionList, annotatedComponentList, inputList, wiresToDelete, wiresToInsert, collide, faultList, circuitName='')
Binds the coordinates with the wires (while making an output)
bindOutputWtihExtraInfoOfCoordinate(self, coordinates, annotatedConnectionList, annotatedComponentList, compOutputList, inputList, wiresToDelete, wiresToInsert, extraInfo, collide, faultList, circuitName='')
Binds the specified coordinate with the output it matches with (and sets the right extraInfo)
bindWithComp(self, coordinate, annotatedComp, annotatedConnectionList, inputsFound, coordinatesToCheck, connectedInputs=[], extraInfo=None)
If the coordinate equals the component coordinates, we can bind the component with the other component
bindWithInputWires(self, coordinate, annotatedConnection, annotatedConnectionList, inputsFound, connectedInputs=[(450, 510), (310, 140), (120, 170), (230, 310), (260, 170), (200, 340), (200, 310), (560, 250), (310, 300), (150, 270), (170, 200), (170, 230), (270, 300), (270, 390), (410, 410), (420, 520), (400, 640), (70, 160), (230, 190), (110, 180), ...], extraInfo=None)
Binds a component with its input wires)
bindWithInputWiresOrComp(self, annotatedComponentList, annotatedConnectionList)
Bind the node with its (connected) wires or other comps
findExtraCoordinates(self)
Searches for extra coordinates, that weren't specified in the xml tree
getInputCoordinates(self, list)
Gives the input coordinates of the node back
getOutputCoordinates(self, list)
Gives the output coordinates of the node back
invertFacing(self)
Inverts the facing of the node
setInputRight(self, coordinate, annotatedConnection, inputsFound, extraInfo)
Makes an input and binds it to the component

Methods inherited from translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement:
bindDirectlyConnectedOutputWires(self, coordinates, tmpAnnotatedConnectionList, annotatedConnectionList, collide)
Bind all wires that have their starting point or ending point directly connected to the output pin (equals coordinates)
bindIndirectlyConnectedOutputWires(self, tmpAnnotatedConnectionList, annotatedConnectionList, inputList, collide)
Bind all wires that have their starting point or ending point indirectly connected to the output pin
Wires whose starting points aren't directly connected to a component, but who are still connected to a component by means of another wire or multiple wires, 
also need to be bound
bindOutputOfCoordinate(self, coordinates, annotatedConnectionList, annotatedComponentList, compOutputList, inputList, wiresToDelete, wiresToInsert, collide, faultList, circuitName, component=None)
Binds the specified coordinate with the output it matches with
testOtherCompOutputs(self, coordinatesTo, annotatedComponentList, faultList, circuitName='')
Test whether one input pin, gets two or more input signals

Data descriptors inherited from translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)