view
Interface IChannelValueGetter

All Known Subinterfaces:
ILightViewConnector

public interface IChannelValueGetter

This interface defines the methods required to get channel information from the model.


Method Summary
 Channel[] getChannels()
          This method will return all current channels with non-zero values.
 Channel[] getChannelsForCue()
          This method will return all current channels with non-zero values or a fader value of -100.
 short getChannelValue(short address)
          This method will return the value for the channel with the given address.
 short[] getChannelValues(short[] addresses)
          This method will return the values of the given channel addresses.
 

Method Detail

getChannelValue

short getChannelValue(short address)
This method will return the value for the channel with the given address.

Parameters:
address - The address of the channel value to return.

getChannels

Channel[] getChannels()
This method will return all current channels with non-zero values.

Returns:
The array of all channels with non-zero values.

getChannelsForCue

Channel[] getChannelsForCue()
This method will return all current channels with non-zero values or a fader value of -100.

Returns:
The array of all channels with non-zero or fadervalue = -100 values.

getChannelValues

short[] getChannelValues(short[] addresses)
This method will return the values of the given channel addresses.

Parameters:
addresses - The addresses to return the channel value for.
Returns:
The array of values corresponding to the given addresses.