ControlBus
Value members
Concrete methods
A convenience method that fills all channels of the control bus with one value.
A convenience method that fills all channels of the control bus with one value.
Creates a ControlBusFill message using relative offsets.
Creates a ControlBusFill message using relative offsets.
- Value Params
- data
tuples of offsets, number of consecutive channels and fill values. The offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- Returns
the
ControlBusFillmessage with absolute indices
A convenience method that gets the control bus value. It requires that the bus has exactly one channel, otherwise an exception is thrown.
A convenience method that gets the control bus value. It requires that the bus has exactly one channel, otherwise an exception is thrown.
Creates a ControlBusGet message using relative offsets.
Creates a ControlBusGet message using relative offsets.
- Value Params
- offsets
the offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- Returns
the
ControlBusGetmessage with absolute indices
A convenience method that queries all channels of the control bus.
A convenience method that queries all channels of the control bus.
Creates a ControlBusGetn message using relative offsets.
Creates a ControlBusGetn message using relative offsets.
- Value Params
- ranges
ranges of offsets and number of consecutive channels to read. The offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- Returns
the
ControlBusGetnmessage with absolute indices
A convenience method that sets the control bus to one value. It requires that the bus has exactly one channel, otherwise an exception is thrown.
A convenience method that sets the control bus to one value. It requires that the bus has exactly one channel, otherwise an exception is thrown.
- Value Params
- value
the value to set the bus to
Creates a ControlBusSet message using relative offsets.
Creates a ControlBusSet message using relative offsets.
- Value Params
- pairs
pairs of offsets and values. the offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- Returns
the
ControlBusSetmessage with absolute indices
A convenience method that creates a ControlBusSetn message for setting the control bus to a
sequence of values. It requires that the bus's number of channels is equal to the argument's
size, otherwise an exception is thrown.
A convenience method that creates a ControlBusSetn message for setting the control bus to a
sequence of values. It requires that the bus's number of channels is equal to the argument's
size, otherwise an exception is thrown.
- Value Params
- values
the vector of values to set the bus to
Creates a ControlBusSetn message using relative offsets.
Creates a ControlBusSetn message using relative offsets.
- Value Params
- pairs
pairs of offsets and values. the offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- Returns
the
ControlBusSetnmessage with absolute indices