public class UnitVariablePort extends UnitPort implements SettablePort
Constructor and Description |
---|
UnitVariablePort(java.lang.String name) |
UnitVariablePort(java.lang.String name,
double defaultValue) |
Modifier and Type | Method and Description |
---|---|
double |
get() |
double |
getValue() |
double |
getValue(int partNum) |
void |
set(double value) |
void |
set(int partNum,
double value,
TimeStamp timeStamp) |
void |
setValue(double value) |
getName, getNumParts, getUnitGenerator, queueCommand, scheduleCommand, setName, setUnitGenerator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getNumParts, getUnitGenerator
public UnitVariablePort(java.lang.String name, double defaultValue)
public UnitVariablePort(java.lang.String name)
public void setValue(double value)
public void set(double value)
public double get()
public double getValue()
public double getValue(int partNum)
getValue
in interface GettablePort
public void set(int partNum, double value, TimeStamp timeStamp)
set
in interface SettablePort