| |
- translator.visitor.DEVSlibrary.Helpers.Helpers(translator.visitor.DEVSlibrary.Model.Model)
-
- PullResistor
class PullResistor(translator.visitor.DEVSlibrary.Helpers.Helpers) |
|
The PullResistor class, this doesn't have a real equivalent in logisim.
This is an artefact from the wire directions. This model just fills in the floating values, the placement of this element is so that this fixes the wire direction. |
|
- Method resolution order:
- PullResistor
- translator.visitor.DEVSlibrary.Helpers.Helpers
- translator.visitor.DEVSlibrary.Model.Model
- builtins.object
Methods defined here:
- __init__(self, bitSize, delay, inputs, outputs, direction)
- The basic constructor of the model, name should be unique for the Model's configuration
- generateOutputFnc(self)
- The output function for the model, this is the main part of the Model
Methods inherited from translator.visitor.DEVSlibrary.Model.Model:
- generateClassBase(self)
- Generates the basic constructor for the constructed Model
- generateExtTransition(self)
- Save the incoming values to the state and activate the Model
- generateHeader(self)
- Generates the headers for the model, necessary to handle all imports
- generateIntTransition(self)
- An internal transition just causes the Model to go inactive
- generateState(self)
- All required state info for the Model, including toXML exports
- generateTimeAdvance(self)
- Handles the time it takes to make a transition in the model
Data descriptors inherited from translator.visitor.DEVSlibrary.Model.Model:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |