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

 
Classes
       
translator.intermediateBuilder.annotated.annotatedPlexer.AnnotatedPlexer(translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode)
AnnotatedSelector

 
class AnnotatedSelector(translator.intermediateBuilder.annotated.annotatedPlexer.AnnotatedPlexer)
    AnnotatedSelector is the annotated version of the selector
 
 
Method resolution order:
AnnotatedSelector
translator.intermediateBuilder.annotated.annotatedPlexer.AnnotatedPlexer
translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode
translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement
builtins.object

Methods defined here:
bindPlexerWithComp(self, annotatedComponentList, annotatedConnectionList, inputsFound, connectedInputs)
Binds the selector with other nodes that lie immediately next to the selector
bindPlexerWithInputWires(self, annotatedConnectionList, inputsFound, connectedInputs)
Binds the selector with its connected input wires
bindWithInputWiresOrComp(self, annotatedComponentList, annotatedConnectionList)
Overwrites the parent function (but has the same meaning)
calculateSelectBit(self)
Calculates the number of selectBits (when we have a selector the number of select bits isn't specified in the xml)
findExtraCoordinates(self)
Overwrites the parent function (but has the same meaning)
getInputCoordinates(self, list)
Overwrites the parent function (but has the same meaning)
setInputRight(self, coordinate, annotatedConnection, inputsFound, extraInfo)
Overwrites the parent function (but has the same meaning)

Methods inherited from translator.intermediateBuilder.annotated.annotatedPlexer.AnnotatedPlexer:
__init__(self, plexer, coordinates, facing, enable, direction)
Constructor
calculateControlCoordinate(self, varyingList, stableCoordinateNumber)
Calculates the coordinate for the control line of a plexer
calculateInputOrOutputCoordinates(self, middlePoint)
Calculate the input or output coordinates of the plexer (the coordinates that can change in number as the width of the select bit changes)

Methods inherited from translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode:
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)
getOutputCoordinates(self, list)
Gives the output coordinates of the node back
invertFacing(self)
Inverts the facing of the node

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)

 
Functions
       
ceil(...)
ceil(x)
 
Return the ceiling of x as an int.
This is the smallest integral value >= x.
log(...)
log(x[, base])
 
Return the logarithm of x to the given base.
If the base not specified, returns the natural logarithm (base e) of x.