uk.org.toot.control
Class AbstractLaw

java.lang.Object
  extended by uk.org.toot.control.AbstractLaw
All Implemented Interfaces:
ControlLaw
Direct Known Subclasses:
IntegerLaw, LinearLaw, LogLaw

public abstract class AbstractLaw
extends java.lang.Object
implements ControlLaw

An abstract control law.


Method Summary
 float getMaximum()
           
 float getMinimum()
           
 int getResolution()
          return the resolution of the integer value valid integers are 0 ..
 java.lang.String getUnits()
          return the user units string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.org.toot.control.ControlLaw
intValue, userValue
 

Method Detail

getResolution

public int getResolution()
Description copied from interface: ControlLaw
return the resolution of the integer value valid integers are 0 .. resolution-1

Specified by:
getResolution in interface ControlLaw

getMinimum

public float getMinimum()
Specified by:
getMinimum in interface ControlLaw

getMaximum

public float getMaximum()
Specified by:
getMaximum in interface ControlLaw

getUnits

public java.lang.String getUnits()
Description copied from interface: ControlLaw
return the user units string

Specified by:
getUnits in interface ControlLaw


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.