ptolemy.domains.sdf.lib
Class FIR.OutputTypeFunction

java.lang.Object
  extended by ptolemy.data.type.MonotonicFunction
      extended by ptolemy.domains.sdf.lib.FIR.OutputTypeFunction
All Implemented Interfaces:
InequalityTerm
Enclosing class:
FIR

private class FIR.OutputTypeFunction
extends MonotonicFunction

This class implements a monotonic function of the input port type. The result type of this actor is generally the input type, unless the input type is a FixType, in which case the output type will be a FixType with (in most cases) a different precision.


Constructor Summary
private FIR.OutputTypeFunction()
           
 
Method Summary
 java.lang.Object getValue()
          Return the function result.
 InequalityTerm[] getVariables()
          Return the variables in this term.
 
Methods inherited from class ptolemy.data.type.MonotonicFunction
getAssociatedObject, getVerboseString, initialize, isSettable, isValueAcceptable, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FIR.OutputTypeFunction

private FIR.OutputTypeFunction()
Method Detail

getValue

public java.lang.Object getValue()
Return the function result.

Specified by:
getValue in interface InequalityTerm
Specified by:
getValue in class MonotonicFunction
Returns:
A Type.
See Also:
MonotonicFunction.setValue(Object)

getVariables

public InequalityTerm[] getVariables()
Return the variables in this term. If the type of the input port is a variable, return a one element array containing the InequalityTerm of that port; otherwise, return an array of zero length.

Specified by:
getVariables in interface InequalityTerm
Specified by:
getVariables in class MonotonicFunction
Returns:
An array of InequalityTerm.