<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="../../../design/description.xslt" type="text/xsl"?>
<node lang="en" type="DynamicNode.Lib.Basic.NGate" assembly="NLibDefault" xmlns="http://dynamicnodes.mastersign.de/description">
  <caption>Gate</caption>
  <group>Basics</group>
  <description>Passes on a value only if a trigger signal arrives.</description>
  <inPorts>
    <port name="trigger">
      <type>&lt;TAny&gt;</type>
      <description>
        If a token arrives on this in port the last token from the port <c>value</c>
        is passed on to the port <c>out</c>.
      </description>
    </port>
    <port name="value">
      <type>&lt;TElement&gt;</type>
      <description>Takes arbitrary values.</description>
    </port>
  </inPorts>
  <outPorts>
    <port name="out">
      <type>TElement</type>
      <description>
        Passes on values from port <c>value</c>.
      </description>
    </port>
  </outPorts>
  <helpText>
    <xhtml>
      With this node a data stream can be dosed.
      The last token arrived on in port <code>value</code> will passed on the the out port
      <code>out</code> if a token arrives on the in port <code>trigger</code>.
    </xhtml>
  </helpText>
  <customArea>A symbolic representation of a gate.</customArea>
</node>