Interface WaveData


public interface WaveData

When a signal is requested to a DataProvider, it is returned by means of an object implementing WaveData interface. WaveData defines all the data access method for the corresponding signal.

See Also:
DataProvider

Method Summary
 float[] GetFloatData()
          Get Y data (for unidimensional signals) or Z data (for bidimensional signals) as a float array.
 int GetNumDimension()
          Returns the number of dimensions of the corresponding signal.
 java.lang.String GetTitle()
          Get the associated title for the signal.
 float[] GetXData()
          Get X array, usually representing the time values for signals.
 java.lang.String GetXLabel()
          Get the associated label for X axis.
 float[] GetYData()
          Get Y data description (only for bidimensional signals)
 java.lang.String GetYLabel()
          Get the associated label for Y axis.
 java.lang.String GetZLabel()
          Get the associated label for Z axis (for bidimensional signals only).
 

Method Detail

GetNumDimension

public int GetNumDimension()
                    throws java.io.IOException
Returns the number of dimensions of the corresponding signal. Currently only unidimensional signals are supported by jScope.
Returns:
The number of dimension for the represented signal.
Throws:
java.io.IOException -  

GetFloatData

public float[] GetFloatData()
                     throws java.io.IOException
Get Y data (for unidimensional signals) or Z data (for bidimensional signals) as a float array. If bidimensional sugnals are returned, values are ordered by rows.
Returns:
The signal Y or Z data coded as a float array.
Throws:
java.io.IOException -  

GetXData

public float[] GetXData()
                 throws java.io.IOException
Get X array, usually representing the time values for signals.
Returns:
The returned X values coded as a float array
Throws:
java.io.IOException -  

GetYData

public float[] GetYData()
                 throws java.io.IOException
Get Y data description (only for bidimensional signals)
Returns:
The Y data specification coded as a float array.
Throws:
java.io.IOException -  

GetTitle

public java.lang.String GetTitle()
                          throws java.io.IOException
Get the associated title for the signal. It is displayed if no title is defined in the setup data definition.
Returns:
The title string.
Throws:
java.io.IOException -  

GetXLabel

public java.lang.String GetXLabel()
                           throws java.io.IOException
Get the associated label for X axis. It is displayed if no X axis label is defined in the setup data definition.
Returns:
The X label string.
Throws:
java.io.IOException -  

GetYLabel

public java.lang.String GetYLabel()
                           throws java.io.IOException
Get the associated label for Y axis. It is displayed if no Y axis label is defined in the setup data definition.
Returns:
The Y label string.
Throws:
java.io.IOException -  

GetZLabel

public java.lang.String GetZLabel()
                           throws java.io.IOException
Get the associated label for Z axis (for bidimensional signals only). It is displayed if no X axis label is defined in the setup data definition.
Returns:
The Z label string.
Throws:
java.io.IOException -