The RadioBox module sets the behaviour of an array of groups (currently required to be type int) to that of a radiobox i.e. only one item can be selected at any particular time.
module RadioBox <src_file = "radiobox.cxx"> { int+IPort2 active = 1; group+IPort2 &set[]; int+OPort2 selectedItem = 0; int bufferItem <NEvisible=0> = 0; int+OPort2 previousItem = 0; cxxmethod+notify_inst+req update ( .active+read+req, .set+read+write+notify+req, .selectedItem+read+write+notify, .bufferItem+read+write, .previousItem+write ); };
The RadioBox module sets the behaviour of an array of groups (currently required to be type int) to that of a radiobox i.e. only one item can be selected at any particular time. It changes the set array according to the input in selectedItem or vice versa. The set array contains one value set to 1 and 0 values for all other values.
active
Active is a flag which switches the module on or off.
&set[]
Array of integers that contains a single value 1 on the position given by selectedItem. All other values are set to 0.
selectedItem
Contains the index of the currently selected item.
previousItem
Contains the index of the previously selected item.
iac_proj/radiobox/rdbxmods.v contains the RadioBox module V definition.
The low-level RadioBoxMods library containing the module RadioBox does not specify a process. By default the express process will be used.
Brian Selle, Leon Thrane, Advanced Visual Systems Inc. Documentation - Ian Curington, Advanced Visual Systems Inc.
Paul G. Lever
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL