BooleanMultiplexor

Parent Previous Next

Full Library / Math Operator / Boolean / BooleanMultiplexor
Block Name: BooleanMultiplexor

Code File Location: VisualSim/actor/lib/BooleanMultiplexor

Block Overview

    A type polymorphic multiplexor with boolean valued select. This actor consumes exactly one token from each input port, and sends one of the tokens from either trueInput or falseInput to the output. The token sent to the output is determined by the select input, which must be a boolean value. Because tokens are immutable, the same Token is sent to the output, rather than a copy. The trueInput and falseInput port may receive Tokens of any type.
 

Field Detail

trueInput

public TypedIOPort trueInput


falseInput

public TypedIOPort falseInput


select

public TypedIOPort select


output

public TypedIOPort output


_director

public Director _director


Returns:


Throws:

       IllegalActionException - If there is no director.


Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework