Gate
Module that lets its input through to the output when the attribute "open" is set to "true", otherwise it sets all its outputs to 0.
Example XML definition
Example
<module
class = "Gate"
name = "Gate"
/>
Parameters
| Name | Description | Type | Default |
|---|---|---|---|
| class | The class name for the module; must be "Gate". | string | |
| name | The name of this instance of the module. | string | |
| open | Is the gate open? | bool | yes |
Module Connections
Inputs
| Name | Description |
|---|---|
| INPUT | The input |
Outputs
| Name | Description |
|---|---|
| OUTPUT | The output |
Limitations
Should have an input that opens and closes the gate.
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
Gate.h
Gate.cc
Gate.ikc