BaseSwitch¶
-
MLModule
¶ genre FlowControl
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLMiscModules
definition MLMiscModules.def see also Switch1toN
,SoSwitch
keywords select
,choice
,demultiplex
,flow
,control
Purpose¶
The module BaseSwitch
propagates notifications from a selected input to a selected output.
Note: Notifications and value changes are propagated only
- if non NULL base pointer values change or if they are notified, or
- if Base pointer values change between NULL and non NULL values.
Notifications or index changes on base field values which remain NULL are suppressed to reduce notification traffic. Using -1 as in- or output index means that no input is relayed and the value at all output is NULL.
Input Fields¶
The module has five inputs. Values and notifications from the input selected with Active Input Index (-1 = None)
are propagated to the output selected with Active Output Index (-1 = None)
.
Output Fields¶
The module has five inputs. Values and notifications from the input selected with Active Input Index (-1 = None)
are propagated to the output selected with Active Output Index (-1 = None)
.
Parameter Fields¶
Field Index¶
Active Input Index (-1 = None) : Integer |
Active Output Index (-1 = None) : Integer |
maxInput : Integer |
maxOutput : Integer |
Number of Inputs : Integer |
Number of Outputs : Integer |
Visible Fields¶
Active Input Index (-1 = None)¶
-
name:
currentInput
, type:
Integer
, default:
0
, minimum:
-1
, maximum:
:field:`maxInput`
¶ Sets the input from which values and notifications are propagated to the selected output.
Active Output Index (-1 = None)¶
-
name:
currentOutput
, type:
Integer
, default:
0
, minimum:
-1
, maximum:
:field:`maxOutput`
¶ Sets the output to which values and notifications are propagated from the selected input.